diff --git a/config_default.py b/config_default.py index ba8d7c1..22b4ea9 100755 --- a/config_default.py +++ b/config_default.py @@ -1,29 +1,32 @@ -# The feeds, /!\ Put Atom feeds only -feeds = { - 'YIFY' : { - 'url' : 'http://localhost/feedcleaner/?url=http://yify-torrents.com/rss', - 'server' : 'pubsub.movim.eu' - }, - - 'LEquipe' : { - 'url' : 'http://localhost/feedcleaner/?url=http://www.lequipe.fr/rss/actu_rss.xml', - 'server' : 'sport.mov.im' - }, - 'SportingNews' : { - 'url' : 'http://localhost/feedcleaner/?url=http://www.sportingnews.com/rss', - 'server' : 'sport.mov.im' - }, +# Feed Settings - 'OuestFrance' : { - 'url' : 'http://localhost/feedcleaner/?url=http://www.ouest-france.fr/rss.xml', - 'server' : 'news.mov.im' +feeds = { + 'FeedName1' : { # Change this to the name of the group you want to add this feed to + 'url' : 'http://localhost/feedcleaner/?url=FEEDGOESHERE', # Replace "FEEDGOESHERE" with the URL to the Atom Feed, leave the rest of of the line intact, see the example below + 'server' : 'pubsubserver' # Change this to the pubsub servername, including the TLD (eg. pubsub.domain.tld). See the example below + }, + # Add more feeds as you need them using this format + #'FeedName2' : { + # 'url' : 'http://localhost/feedcleaner/?url=FEEDGOESHERE', + # 'server' : 'pubsubserver' + # }, + # Remember to add a comma ',' after every close bracket except for the last one + 'Feedname3' : { + 'url' : 'http://localhost/feedcleaner/?url=http://feedurlhere/rss.xml', + 'server' : 'pubsub.movim.eu' } } -# XMPP -jid = 'user@server.tld' -resource = 'atomtopubsub' -secret = 'password' +# NB. Use Atom v0.3 feeds only + +# XMPP Authentication Settings + +jid = 'user@server.tld' # XMPP UserID and domain to post the feeds as +resource = 'atomtopubsub' # You can change this if you want, it only tells XMPP what application posted the feeds +secret = 'password' # The password for the above UserID # Refresh intervals in minutes -refresh_time = 15 +refresh_time = 60 +# The refresh time will be split evenly over all of your feeds. +# Eg. 60 minutes across 3x feeds, will equal 1x feed will be refreshed every 20 minutes. +# Or 60 minutes across 6x feeds would equal 1x feed will be refreshed every 10 minutes.