@@ -7,25 +7,34 @@ 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
1416
17+ # Deactivate logging for debug purposes
18+ silent_mode = True
19+
1520# Your feeds come here:
16- # RssFeed('Feed name', 'Feed URL', 'Mattermost username', 'Mattermost channel',
21+ # RssFeed('Feed name', 'Feed URL', 'Image URL', ' Mattermost username', 'Mattermost channel',
1722# show name, show title, show description, show url)
1823#
1924# show name, show title, show description, show url can be True or False; at least one of them should be True
2025# show description (longer text or full article) seems not to work with every feed.
2126# Set to False it if a feed doesnt´t work.
2227# Hint: Channel overriding seems not to work with the channel 'Town Square'
23- 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' , 'rss-test' ,
2430 True , True , True , True ),
25- 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' , 'rss-test' ,
2633 True , True , False , True ),
27- RssFeed ('Toms Hardware' , 'http://www.tomshardware.com/articles.xml' , 'RSS-Bot' , 'testing ' ,
34+ RssFeed ('Toms Hardware' , 'http://www.tomshardware.com/articles.xml' , '' , ' RSS-Bot' , 'rss-test ' ,
2835 True , True , True , True ),
29- RssFeed ('Mattermost Forum' , 'http://forum.mattermost.org/latest.rss' , 'RSS-Bot' , 'testing' ,
30- True , True , True , True ))
36+ RssFeed ('Mattermost Forum' , 'http://forum.mattermost.org/latest.rss' ,
37+ 'http://www.mattermost.org/wp-content/uploads/2015/08/logomark.png' , 'RSS-Bot' , 'rss-test' ,
38+ True , True , True , True )
39+ )
3140
0 commit comments