[typo] Plugin for truly permanent permalinks, via prefixing the id

Tim Connor qeantk at gmail.com
Tue Oct 24 21:24:39 EDT 2006

I went with this approach as a low hanging fruit, and if it stays a plugin
forever, for those who want it, that's cool with me.  I actually considered
the centrally allocated number (the id) a bonus. This is more for keeping
the handy date/title URI, but just tweaking it a tiny bit so that the text
is editable, without invalidating the permalink.  As for look of the URL,
maybe it is a tiny bit more obscure, but I didn't really think it could be
much so.  Compare:


Maybe it does loose the clarity of the date then?  It wouldn't take too much
work to make it

something similar.

Now if someone wanted a more wiki-ish permalink scheme, it actually would be
pretty easy*, I just like throwing the numeric ID in there, because nobody
looks at blog URIs as much as wiki ones, since they are more likely to be
interblog than intrablog, thus will have the whole domain and all that cruft
(from the view of a human readable resource) in the link, anyways.  I just
took this, http://www.notsostupid.com/blog/2006/07/07/urls-on-rails/, and
re-added the id, since we already have the rest of the slug.

Thanks for the feedback. :D

*Hell, if there were demand, I might be tempted to design a fuller featured
plugin that gave you a preference of permalink schemes.


On 10/24/06, John Wang <johncwang at gmail.com> wrote:
> On 10/24/06, Tim Connor <qeantk at gmail.com> wrote:
> >
> > I made a plugin to prefix the ID to the title, in the permalink, so that
> > you can edit your permalink at will.  Of course it does all the appropriate
> > things to find articles by the old links, too, to not invalidate the old
> > permalinks.  Anyone is welcome to grab it from http://code.google.com/p/typo-permalink-with-id/
> > or read more about it on that category in my blog:
> > http://www.timocracy.com/articles/category/typo-permalink-with-id
> >
> > And the developers are welcome to mainline it, and thus make it
> > obselete, if they like it.
> >
> Very interesting. But if Typo is going to get a mainline feature to
> allowing old permalinks to continue working after updates, I'd prefer
> storing old permalinks and doing a redirect like MediaWiki, as opposed to
> putting a centrally allocated number in the URI. The URIs just look cleaner.
> --
> John Wang
> http://www.dev411.com/blog/
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20061024/60dddb86/attachment.html 

More information about the Typo-list mailing list