Re: Pyblosxom permalinks are not permanent

seanh <[email protected]> Fri, 17 Jul 2009 18:50:19 +0100
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Fri, Jul 17, 2009 at 6:36 PM, seanh<[email protected]> wrote:
>
> PyBlosxom could do slugs using a #slug metadata line in each post
> file. A slight problem is that you're expecting the user to come up
> with unique slugs, but you have no way of telling them, when they're
> just typing the slug in their text editor, that it's not unique.
> Another problem is that when a visitor requests a slug PyBlosxom would
> have to inspect the contents of every post file, so clearly some sort
> of index or cache is going to be needed.
>

It occurred to me after writing this that the filename (minus
extension) is equivalent to a slug so you wouldn't need to add a
metadata line. Now to imitate wordpress permalinks we'd have to be
able to combine pyblosxom's date-based URLs with filenames (without
categories) to form URLs like: /2009/Jul/17/filename.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge