Re: Comments on pyblosxom
will <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
The pyblosxom web-site is having some severe difficulties, so Wari slid the site over to pyblosxom.wari.org--but it's probably not fully there or something along those lines. This has all happened in the last like 36 hours or so. The template variables are listed on that page, but that page seems to be kicking up an exception right now. I'm puzzled as to why you think $blog_title has the path embedded in it. $blog_title should be coming from your config.py file. $path gets populated for each entry. So it'll show up in the story templates, but not head, foot or content_type. $path_info is a list of the path elements involved. For instance, my blog is at: http://www.bluesock.org/~willg/blog/ which gets translated via mod_rewrite to: http://www.bluesock.org/~willg/cgi-bin/pyblosxom.cgi/ In that url, the $path_info should be [] (the empty list) because there's no path elements. If I chose to look at January of 2003, the url would be: http://www.bluesock.org/~willg/blog/2003/Jan/ which gets translated to: http://www.bluesock.org/~willg/cgi-bin/pyblosxom.cgi/2003/Jan/ and the $path_info is ["2003", "Jan"]. I'm not sure why you're having problems with that, but I suspect it's because you're looking at the root of your blog where the $path_info is empty. Hope that helps. Wari's working hard to resolve these things as soon as he can. Sorry for the inconvenience and confusion it's caused, though. /will On Tue, 5 Aug 2003, Joseph Reagle wrote: > > Howdy, I'd love to use this package (I'm try 0.8rc1), however: > > 1. Why does $blog_title have the path embedded in it? And why when I ask for > only the $path or $path_info do I get nothing? > 2. Are there any definitions of the variables available? This > http://wiki.subtlehints.net/moin/PyBlosxom_2fTemplateVariables > does not list them as far as I can tell. > 3. Additionally, all the links from > http://pyblosxom.wari.org/?flav=index > are 404. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01