See http://drupal.org/node/14698 for an alternative solution to this problem.
If you find any ideas/code there that you like, feel free to use it in Autopath.
I would especialy like to argue for two things:
- The module name should start with "Path...", in order to place it next to the path module in the administrative interface.
- Dashes are better than underscores as replacement characters. They are easier to communicate over the phone, they are easier to read when the url is published on the web as a link (ie when it is underlined), and in fact many users don't know where the underscore is located on their keyboards.
/Tommy
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | pathauto.module | 6.11 KB | mikeryan |
Comments
Comment #1
mikeryanThanks for the feedback. Points one-by-one...
1. Alternative solution - I'm not sure I see the utility of embedding dates in the URL... I'll have to take some time to look over your module and see what other differences there are.
2. Well, "autopath" is nice and simple, reflective of the function, to me that's more important than the sorting of the administrative interface. What's a good path-beginning alternative (given that you've laid claim to "path_automatic":-)?
3. Underscores seem to be the standard at sites that plug titles into URLs (all the news sites seem to do this), and I don't think verbal communication of URLs beyond just a domain name is significant...
Any other opinions? I'm not inclined to make any changes at the moment, but if there's more support for changes I'll listen...
Thanks.
Comment #2
mikeryanJust to followup on drupal.org - I've sent Tommy a proposed merger of autopath and path_automatic, with settings implemented to deal with differences of opinion on issues like the proper separator (i.e., let the administrator choose any separator they like).
Comment #3
mikeryanTommy's given me permission to go ahead and release a module combining our individual efforts in this direction, which I'm calling pathauto. Hopefully over the weekend I'll have time to incorporate more of his features (in particular taxonomy-based aliases) and commit a formal release - if you're feeling eager, I'm attaching the current code, feedback is welcome.
Comment #4
mikeryanTo close this out, the new pathauto module combines the best of Tommy's path_automatic with my autopath.
Comment #5
(not verified) commented