Re: mpt-style URLs
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure what you mean in your explanation of what you did. However, there are a couple of ways you could do this with a plugin that don't require hacking pyblosxom. The one I would probably do is implement the fileinfo callback and check out what the url looks like and handle the request accordingly based on the url. Doing it in fileinfo is a bit easier since then PyBlosxom does most of the legwork for you and you can just override what it's thinking when you need/want to. There's documentation on the PyBlosxom main site, in the wiki, and several of the registered plugins implement fileinfo as well. Hope that helps. /will On Sun, 20 Jun 2004, Stuart Langridge wrote: > > A while back, Matthew Thomas put together a suggested style for weblog > permalinks: a post today might be > http://www.example.com/2004/06/20/postword. I implemented this in > PyBlosxom, but in a chronically hacky way (I made > http://www.example.com/postword work, and then made it ignore the date > if both the date and the postword were supplied). Is there a better way > to do this? > > sil > > > ------------------------------------------------------- > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND > _______________________________________________ > pyblosxom-users mailing list > pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/pyblosxom-users > -- whatever it is, you can find it at http://www.bluesock.org/~willg/ except Will--you can only see him in real life. ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND