Re: Change flavour "on the fly", possible?

Chris G <[email protected]> Fri, 2 Nov 2007 12:13:47 +0000
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <20071102121347.GA50278@newred>
On Thu, Nov 01, 2007 at 12:38:18PM -0400, will wrote:
> The PyBlosxom site has a print flavour that looks like the html flavour 
> except it's missing all the navigation and some of the other stuff.
> 
>     http://pyblosxom.sourceforge.net/?flav=print
> 
> There are a couple of ways you could do what you're advocating.  The 
> first is that you can do what we did with the PyBlosxom site and have a 
> print flavour.  Then you have a link to the print version.
> 
That works fine for me!  :-)

What I actually did was copy the whole of my 'info' flavour (that I
use for my wiki) to a new flavour directory called prt.flav and then
edited the head.prt file so it did nothing.

I can then either just manually add ".prt" to the URL or add a link to
the page with ".prt" on the end and I have an unadorned page to print.

-- 
Chris Green

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/