Another attempt at correct xpath examples
This commit is contained in:
parent
8f3e1a0fdb
commit
aa93a811f6
@ -9,7 +9,6 @@
|
|||||||
# Look in your cache to see what entries look like.
|
# Look in your cache to see what entries look like.
|
||||||
|
|
||||||
[Planet]
|
[Planet]
|
||||||
filters = xpath_sifter.py
|
|
||||||
|
|
||||||
# We are only interested in entries in the category "two" from this blogger, but
|
# We are only interested in entries in the category "two" from this blogger, but
|
||||||
# he does not provide a per-category feed.
|
# 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'
|
# category tag with the term attribute equal to 'two'
|
||||||
[http://example.com/uncategorised.xml]
|
[http://example.com/uncategorised.xml]
|
||||||
name = Category 'two' (from Site Without a Categorised Feed)
|
name = Category 'two' (from Site Without a Categorised Feed)
|
||||||
[xpath_sifter.py]
|
filters = xpath_sifter.py?require=//atom:category[@term='two']
|
||||||
require:
|
|
||||||
//atom:category[@term='two']
|
|
||||||
|
|
||||||
# The verbose blogger whose feed is below blogs about many subjects but we are
|
# 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
|
# only interested in entries about Venus. She does not use categories but
|
||||||
@ -28,6 +25,4 @@ require:
|
|||||||
# tag's text for the text 'Venus'
|
# tag's text for the text 'Venus'
|
||||||
[http://example.com/verbose.xml]
|
[http://example.com/verbose.xml]
|
||||||
name = Venus (from Verbose Site)
|
name = Venus (from Verbose Site)
|
||||||
[xpath_sifter.py]
|
filters = xpath_sifter.py?require=//atom:title[contains(.,'Venus')]
|
||||||
require:
|
|
||||||
//atom:title[contains(.,'Venus')]
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user