@@ -7,26 +7,33 @@ from rssfeed import RssFeed
77# Paste the Mattermost webhook URL you created here
88# See also: https://github.com/mattermost/platform/blob/master/doc/integrations/webhooks/Incoming-Webhooks.md
99mattermost_webhook_url = 'https://<your-mattermost-webhook-URL>'
10+
1011# Set the delay between feed pulls to your needs. 5 minutes should be okay.
1112delay_between_pulls = 60 * 5
13+
1214# Trust only signed SSL certificate?
1315verify_cert = False
16+
1417# Deactivate logging for debug purposes
1518silent_mode = True
19+
1620# Your feeds come here:
17- # RssFeed('Feed name', 'Feed URL', 'Mattermost username', 'Mattermost channel',
21+ # RssFeed('Feed name', 'Feed URL', 'Image URL', ' Mattermost username', 'Mattermost channel',
1822# show name, show title, show description, show url)
1923#
2024# show name, show title, show description, show url can be True or False; at least one of them should be True
2125# show description (longer text or full article) seems not to work with every feed.
2226# Set to False it if a feed doesnt´t work.
2327# Hint: Channel overriding seems not to work with the channel 'Town Square'
24- feeds = (RssFeed ('Heise News' , 'http://heise.de.feedsportal.com/c/35207/f/653902/index.rss' , 'RSS-Bot' , 'testing' ,
28+ feeds = (RssFeed ('Heise News' , 'http://heise.de.feedsportal.com/c/35207/f/653902/index.rss' ,
29+ 'http://elpatron.cepheus.uberspace.de/rss/rss3.png' , 'RSS-Bot' , 'testing' ,
2530 True , True , True , True ),
26- RssFeed ('t3n' , 'https://feeds2.feedburner.com/aktuell/feeds/rss/' , 'RSS-Bot' , 'testing' ,
31+ RssFeed ('t3n' , 'https://feeds2.feedburner.com/aktuell/feeds/rss/' ,
32+ 'http://elpatron.cepheus.uberspace.de/rss/rss3.png' , 'RSS-Bot' , 'testing' ,
2733 True , True , False , True ),
28- RssFeed ('Toms Hardware' , 'http://www.tomshardware.com/articles.xml' , 'RSS-Bot' , 'testing' ,
34+ RssFeed ('Toms Hardware' , 'http://www.tomshardware.com/articles.xml' , '' , ' RSS-Bot' , 'testing' ,
2935 True , True , True , True ),
30- RssFeed ('Mattermost Forum' , 'http://forum.mattermost.org/latest.rss' , 'RSS-Bot' , 'testing' ,
36+ RssFeed ('Mattermost Forum' , 'http://forum.mattermost.org/latest.rss' ,
37+ 'http://www.mattermost.org/wp-content/uploads/2015/08/logomark.png' , 'RSS-Bot' , 'testing' ,
3138 True , True , True , True ))
3239
0 commit comments