Venus: corrently using xpath_sifter on a per feed basis?

Sam Ruby rubys at intertwingly.net
Sun Apr 20 21:04:27 EST 2008


Mary Gardiner wrote:
> 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.

Filters listed in the [planet] section apply to every feed in the 
planet.  Filters listed in an individual feed section only apply to that 
feed.  Patches to the documentation to make this clearer would be 
gratefully accepted.

An example of a configuration that makes use of per-feed filters:

   http://planet.intertwingly.net/config.ini

> -Mary

- Sam Ruby




More information about the devel mailing list