Re: Render pages like pystaticfile, but at arbitrary URLs
"Steve Hoelzer" <[email protected]> Tue, 25 Mar 2008 13:17:16 -0500
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Mar 25, 2008 at 11:41 AM, Chris G <[email protected]> wrote: > > On Tue, Mar 25, 2008 at 10:37:48AM -0500, Steve Hoelzer wrote: > > I'd like to render some pages just like pystaticfile [1], except I > > don't want the URLs all prefixed with static/. > > > I started using Pyblosxom in this fashion but I have since migrated to > using a much simpler approach. I have added the following to my > apache configuration:- > <snip> > > ... and as a result any reStructuredText files on my web site are > *automatically* converted to HTML by apache. I have a little extra > bit in /home/chris/bin/info2html.py that adds a menu in a sidebar but > that's just a luxury! This technique works completely independent of pyblosxom, right? That isn't quite what I'm looking for. Pystaticfile uses pyblosxom's flavor files to construct the page so you get the same header/footer/sidebar content. The "static" file is used as the story part of those pages. Steve ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/