On 26/10/11 12:45, Kevin Kofler wrote:
Maybe we could do what some sites like
kde-apps.org do and default to
URLs
which include BOTH the ID and the packagename-version list, but have Bodhi
only actually use the ID and ignore the packagename-version entirely.
See e.g.:
http://kde-apps.org/content/show.php/Apper?content=84745
http://kde-apps.org/content/show.php/KPackageKit?content=84745
http://kde-apps.org/content/show.php/Pink_Pony?content=84745
http://kde-apps.org/content/show.php?content=84745
(The first link is what the site produces by default, the second is what it
used to produce before the package got renamed, the third is to prove you
can write in anything and it will be ignored and the fourth is the
equivalent of Bodhi's current ID-based URLs, which also works.)
But I'd put the ID first so it's easier to rip off the ignored stuff from
the link if a short URL is needed.
Many CMS systems and the like work in that way. It's also what things
like stackoverflow do, for example:
http://stackoverflow.com/questions/7901782/war-does-not-start-on-tomcat5-...
where only the question number really matters - you can change the text
which follows to anything.
Tom
--
Tom Hughes (tom(a)compton.nu)
http://compton.nu/