diff --git a/examples/filters/xpath-sifter/xpath-sifter.ini b/examples/filters/xpath-sifter/xpath-sifter.ini index 82e354b..f2cd5bf 100644 --- a/examples/filters/xpath-sifter/xpath-sifter.ini +++ b/examples/filters/xpath-sifter/xpath-sifter.ini @@ -9,7 +9,6 @@ # Look in your cache to see what entries look like. [Planet] -filters = xpath_sifter.py # We are only interested in entries in the category "two" from this blogger, but # he does not provide a per-category feed. @@ -18,9 +17,7 @@ filters = xpath_sifter.py # category tag with the term attribute equal to 'two' [http://example.com/uncategorised.xml] name = Category 'two' (from Site Without a Categorised Feed) -[xpath_sifter.py] -require: - //atom:category[@term='two'] +filters = xpath_sifter.py?require=//atom:category[@term='two'] # The verbose blogger whose feed is below blogs about many subjects but we are # only interested in entries about Venus. She does not use categories but @@ -28,6 +25,4 @@ require: # tag's text for the text 'Venus' [http://example.com/verbose.xml] name = Venus (from Verbose Site) -[xpath_sifter.py] -require: - //atom:title[contains(.,'Venus')] +filters = xpath_sifter.py?require=//atom:title[contains(.,'Venus')]