-
Notifications
You must be signed in to change notification settings - Fork 11
/
config_default.py
executable file
·32 lines (27 loc) · 1.54 KB
/
config_default.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Feed Settings
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' : 'https://example.com/feed',
# 'server' : 'pubsubserver'
# },
# Remember to add a comma ',' after every close bracket except for the last one
'Feedname3' : {
'url' : 'http://example.com/rss',
'server' : 'pubsub.movim.eu'
}
}
# NB. Use Atom v0.3 feeds only
# XMPP Authentication Settings
jid = '[email protected]' # 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 = 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.