[drupal-devel] taxonomy nice URLs

Morbus Iff morbus at disobey.com
Wed Mar 23 19:09:00 UTC 2005


>  It might. But I like the direction that is going where
>  it allows for taxonomies and then subselects of taxonomies
>  that are shared (http://www.drupal.org/taxonomy/horses+cars)

Well, the above poses a problem. Your URL is passing "horses cars" into 
Drupal. Should Drupal treat that as two terms, or one term? And what about 
  horse+riding? chocolate+pebbles? frosted+flakes? Two terms or one?

>  % > http://www.drupal.org/node/12342
>  % > http://www.drupal.org/taxonomy/horses
> 
>  % You can do that with the path.module.
> 
>  Isn't this done by hand. I need a way to do it automatically. 

Theoretically, you could cron a new module to create the associations for 
you automatically - there'd only be a slight delay from creation of the 
term to creation of the path. (The cron would be required for manual edits 
of a taxonomy, which don't have an API hook. If we're to assume that you 
only want paths for my "free tagging" patch, then you could insert 
yourself into the "save" of nodeapi.)

-- 
Morbus Iff ( you are nothing without your robot car, NOTHING! )
Culture: http://www.disobey.com/ and http://www.gamegrene.com/
Spidering Hacks: http://amazon.com/exec/obidos/ASIN/0596005776/disobeycom
icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus



More information about the drupal-devel mailing list