Venus: corrently using xpath_sifter on a per feed basis?

Mary Gardiner mary at puzzling.org
Sun Apr 20 17:19:26 EST 2008


Looks like I (and my documentation) completely misunderstood
xpath_sifter. xpath_sifter filters apply to ALL FEEDS in the config
file.

Take the attached config for example (it contains real feeds). I am
attempting only to get Allison Randal's posts from the O'Reilly radar
feed, but the result is that I also get no feeds whatsoever from the PhD
Comics feed, presumably because they do not meet the criteria of being
written by Allison Randal.

Is there a way to get xpath_sifter to apply to a single feed or is it
intended to apply to every feed in a Planet, no exceptions? If the
latter, please reverse the merge of my branch. This feed has nothing
like the use case I imagined, it has the much narrower one of filtering
every feed in a planet.

-Mary
-------------- next part --------------
[Planet]
cache_keep_entries = 60
name = Mary's Test Planet
link = http://users.puzzling.org/users/mary/tmp/
owner_name = Mary
owner_email = mary-puzzled at puzzling.org
template_directories = /home/mary/planet/logs/
template_files = index.html.tmpl
output_dir = /home/mary/public_html/tmp
items_per_page = 60
cache_directory = /home/mary/planet/test/cache
log_level = DEBUG
ping_urls = http://rpc.blogrolling.com/pinger/ http://rpc.technorati.com/rpc/ping
#filters = xpath_sifter.py

[http://feeds.feedburner.com/oreilly/radar/atom]
name = Allison Randal (O'Reilly)
#[xpath_sifter.py]
#require:
#  //atom:name[. = 'Allison Randal']
[http://www.phdcomics.com/gradfeed_justcomics.php]
name = PhD Comics


More information about the devel mailing list