Clearly delineate feeds
This commit is contained in:
parent
8c6dd021a7
commit
bf47feeedb
@ -12,6 +12,8 @@
|
||||
# we are only applying the filter to certain feeds, so we do not configure it in the
|
||||
# [Planet] section
|
||||
|
||||
### FIRST FEED: FILTER ON CATEGORY ###
|
||||
|
||||
# We are only interested in entries in the category "two" from this blogger, but
|
||||
# he does not provide a per-category feed.
|
||||
# The Atom for categories looks like this: <category term="two"/>, so here
|
||||
@ -27,6 +29,8 @@ name = Category 'two' (from Site Without a Categorised Feed)
|
||||
# Here's a URL quoted version:
|
||||
filters = xpath_sifter.py?require=//atom%3Acategory%5B%40term%3D%27two%27%5D
|
||||
|
||||
### SECOND FEED: FILTER ON TITLE ###
|
||||
|
||||
# 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
|
||||
# fortunately her titles are very consistent, so we search within the title
|
||||
@ -39,6 +43,8 @@ name = Venus (from Verbose Site)
|
||||
# Quoted version
|
||||
filters = xpath_sifter.py?atom%3Atitle%5Bcontains%28.%2C%27Venus%27%29%5D
|
||||
|
||||
### THIRD FEED: NO FILTER ###
|
||||
|
||||
# We can include other feeds that do not have the filter applied
|
||||
[http://example.com/normal.xml]
|
||||
name = No filter applied
|
||||
|
Loading…
Reference in New Issue
Block a user