Re: static rendering
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
I apologize it's taking me so long to get to this. I've had a pretty busy weak and most things ended up getting back-burnered. Anyhow, I'm not really sure what the problem is off the top of my head. I'm assuming that your lack of setting the second base_url is a typo in your email and that that isn't the issue. I've both never used static rendering on a Windows platform, nor have I used the file:// protocol. So I have no clue what that would do to the code and, I'm really sorry to say, I don't have time right now to set it up like you've got it and figure out what the issue is. So, if you know Python, the static rendering code is mostly in pyblosxom/Pyblosxom/pyblosxom.py in runStaticRenderer (I think that's the method). It figures out what needs to be rendered and then calls a rendering function in the tools module to do the actual work by creating a new PyBlosxom request with the necessary path_info information. I suspect that the values you've entered into config are causing PyBlosxom to try to generate pages that don't exist. Could be related to your base_url, but I'm not really sure. Hope that helps. Sorry I can't be of more use. /will On Wed, 4 Aug 2004, Brett Calcott wrote: > > On Mon, 2 Aug 2004 08:22:52 -0500 (CDT), will guaraldi wrote: > > > > What are the static rendering configuration options you have? > > Here are all the relevant bits: > > py["codebase"] = "x:/pyblosxom" > py['blog_title'] = "My Blog" > py['blog_description'] = "Gaaaa" > py['blog_author'] = "name [email protected]" > py['blog_language'] = "en" > py['blog_encoding'] = "iso-8859-1" > py['datadir'] = "x:/pyblosxom/testing" > py['logdir'] = "x:/pyblosxom/log" > py['ignore_directories'] = ["CVS", '.svn'] > py['depth'] = 0 > py['num_entries'] = 40 > py['base_url'] = "file://x:/pyblosxom/static" > py["static_dir"] = "x:/pyblosxom/static" > py["static_flavours"] = ["html"] > py['static_monthnumbers'] = 0 > py['static_monthnames'] = 1 > py['base_url'] > py['pyblosxom_version'] = __version__ > py['pyblosxom_name'] = 'pyblosxom' > > anything bizarre here? ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com