Venus: Excerpt filter working in tests, not on config file
Sam Ruby
rubys at intertwingly.net
Mon Sep 15 09:32:39 EST 2008
Mary Gardiner wrote:
> I am trying to use the excerpt filter on the feed
> http://obsidianwings.blogs.com/obsidian_wings/atom.xml
>
> In case it turns out to be relevant to the problem, I've stored the
> current state of the feed at
> http://users.puzzling.org/users/mary/tmp/2wk/atom.xml for a couple of
> weeks.
>
> I am using Venus, bzr revno 99.
>
> The test appears to work correctly, I used the command:
> python tests/reconstitute.py http://users.puzzling.org/users/mary/tmp/2wk/atom.xml --filters "excerpt.py?width=100&target=summary"
Note the "s" in --filters.
> See http://users.puzzling.org/users/mary/tmp/2wk/summary.xml for the output of
> the test.
>
> However, if I use the attached config file, I don't get any entries in my
> cache, and I get output suggesting that for some reason it is using the
> regexp_sifter filter instead.
The attached config.ini references "filter", lacking the "s".
Take a look at this page:
http://www.intertwingly.net/code/venus/docs/config.html
"filter" is a planet 2.0-ism. "filters" is a Venus addition. Yes,
that's unfortunate. Suggestions?
- Sam Ruby
More information about the devel
mailing list