Skip to content
Will Hughes edited this page Jun 21, 2013 · 3 revisions

Simple example

{
        "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

Feed Filtering

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.*"
                                        }]
}

Clone this wiki locally