Repository navigation
Examples
William Hughes edited this page Jun 23, 2013
·
3 revisions
{
"feeds":{"LRRCast":{
"url":"http://feeds.feedburner.com/lrrcast",
"exec":"wget '%(link)s'",
"seenfile":"lrrcast.seen"
}}
}
This will simply download new links from the feed using wget
Sometimes a feed may contain items that you don't want downloaded. In this case, any feeds whose titles match the regex 'TTC.*' will not be downloaded
{
"feeds":{"LRRCast":{
"url":"http://feeds.feedburner.com/lrrcast",
"exec":"wget '%(link)s'",
"seenfile":"lrrcast.seen",
"mods": [{"name":"filter",
"on":"title",
"pattern":"TTC.*"
}]
}
Configuration elements can be shared by multiple feeds like so:
{
"exec":"wget '%(link)s'",
"feeds":{"LRRCast":{
"url":"http://feeds.feedburner.com/lrrcast",
"seenfile":"lrrcast.seen"
},
"SGU":{
"url":"http://www.theskepticsguide.org/feed/rss.aspx?feed=SGU",
"seenfile":"sgu.seen"
}
}