Template filter config syntax
D. Stuart Freeman
stuart.freeman at et.gatech.edu
Sat Nov 7 09:19:02 EST 2009
I'm trying to get a template filter to work, but I can't seem to figure
out where to specify it. I've got the filter in:
/var/www/planet/filter/myfilter.py
then in planet.ini there's a [Planet] section that contains:
filter_directories = /usr/share/planet-venus/filter /var/www/planet/filter
and in /var/www/planet/theme/config.ini I have a [Planet] section that
has:
filters = myfilter.py
I've verified that running 'python myfilter.py < output/index.html'
completes and outputs what I want, but when I run 'planet -v -d
planet.ini' the output doesn't get filtered.
--
D. Stuart Freeman
Georgia Institute of Technology
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
Url : /archives/devel/attachments/20091106/ba25cb8f/attachment.pgp
More information about the devel
mailing list