Re: Flavors not working

Guy Umbright <guy-a6Q28LeZXLxwZnR4rxWNygC/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Certainly.  I have a set of flavor files in my content directory  
(foot.ks, head.ks, story.ks
currently just copies of the xxx.1993 files).

If I do http://<mysite>/cgi-bin/pyblosxom.cgi I get my blog with the 
default formatting
If I do http://<mysite>/cgi-bin/pyblosxom.cgi?flav=ks I get my blog 
with the 1993 formatting

According to the doc, if there is only one set of flavor files in the 
content directory, that should
be used by default, but that does not seem to be the case, [unless of 
course I am confused,
which could be a distinct possibility ;) ].

On Dec 7, 2003, at 10:07 PM, Wari Wahab wrote:

>> I cannot get flavors to work without adding the &flav=... to the
>> request (when I do it works fine).
>
> Can you explain a bit more on this? On a flavour called 'foo', you
> should be able to use the following uris:
>
> http://host/pylosxom/category/filename.foo
> http://host/pylosxom/category/index.foo
> http://host/pylosxom/category/date.foo
> http://host/pylosxom/category?flav=foo
> http://host/pylosxom/category/filename?flav=foo
>
> Filename is without the original extensions
>
>> Everything else appears to work fine.  I am planning on looking into
>> itin a little more depth, but one else dealt with this already or have
>> any advice?
>
> I'm not familiar with this problem. Do explain more what you are trying
> to do, and if possible, a link to your site.
>
>
>
>
>
It is a farce to call any being virtuous whose virtues do not result 
from
the exercise of its own reason. - Mary Wollstonecraft



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.