Topic: URL Architecture for Tags
I am building a Rails application that is going to depend on tags almost exclusively for navigation. I am using the acts_as_taggable plugin, with updates
Basically I am trying to figure out how to structure the applications urls, as I want it to be page cachable (no user logins, so they are not a problem), and have very clean urls. Here are some examples of what I have so far:
example.com/tag/ruby #Shows stuff that is tagged with ruby
example.com/tag/ruby/recent.xml #RSS feed of recently added stuff with ruby tag
The part I am stumbling on is how to do the tag search URLs. Any ideas for how to do the search? I need both for finding any tag, and finding all tags, and a way to get a cachable recent tag feed for them.
I would like to have clean urls, but a form cannot submit to a url by default. I may be able to use javascript, and a server side script to redirect for those who do not have javascript.
Thanks for your ideas!
Last edited by SRTech (2006-06-01 18:43:19)