Re: New user introduction

Robert Wall <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
(I just sent this reply to pyblosxom-devel so I'll repost it here.)

Richard Taylor wrote:
> One feature that I would like (and may try to hack soon) is hierarchical 
> config files. It would be nice to have a central config file 
> in /etc/pyblosxom.conf and then override these default settings in users 
> config.py. I guess this is only useful for people like me that are running 
> many bloggs on one server.
> 

Is my flav_config.py plugin 
http://www.planetpyblosxom.org/blog/registry/general/flav_config of use 
here?

It allows you to override config.py settings either on a per flavour or 
all flavours basis.  To override all flavours, simply place a file named 
'config' in your directory hierarchy - the changes there will apply to 
the current directory and all sub directories.  To change an individual 
flavour use 'config.[flav]' in a directory.

If the pyblosxom.cgi script is reading the correct users directory then 
the changed config settings should be picked up too.

I haven't tested this with 1.0 yet but I did test it with 0.9 and I 
didn't seem to have any problems.  I'll try to test it with 1.0 ASAP (I 
need it for my own pyblosxom site anyhow).


Regards,
Robert

-- 
http://robwall.com/



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
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.