Limnoria/plugins/RSS
James Lu 2fdc433cb3 RSS: show soft errors set by feedparser when no entries are found
Hopefully this will ease debugging - e.g. a bad TLS certificate will now show
"Error: Couldn't get RSS feed. Parser error: <urlopen error
 [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:720)>"
instead of only a generic message.
2018-10-14 12:41:22 -07:00
..
locales Squashed commit of the following: 2014-12-20 14:37:27 +01:00
__init__.py Remove need for 2to3. 2015-08-11 16:50:23 +02:00
config.py RSS: Add var supybot.plugins.RSS.maximumAnnounceHeadlines. 2017-10-12 21:21:50 +02:00
messages.pot Squashed commit of the following: 2014-12-20 14:37:27 +01:00
plugin.py RSS: show soft errors set by feedparser when no entries are found 2018-10-14 12:41:22 -07:00
README.md RSS: Reove broken (and probably irrelevant) link in the README. 2015-05-10 09:57:11 +00:00
test.py RSS: Only defer feed loading at plugin load while the bot is starting. 2017-12-10 09:39:20 +01:00

This plugin allows you to poll and periodically announce new items from RSS feeds.

In order to use this plugin you must have the following modules installed: * feedparser: http://feedparser.org/

Basic usage

  1. Add a feed using @rss add limnoria https://github.com/ProgVal/Limnoria/tags.atom.
    • This is RSS feed of Limnorias stable releases.
    • You can now check the latest news from the feed with @limnoria.
  2. To have new news automatically announced on the channel, use @rss announce add Limnoria.

To add another feed, simply replace limnoria and the address using name of the feed and address of the feed. For example, YLE News:

  1. @rss add yle http://yle.fi/uutiset/rss/uutiset.rss?osasto=news
  2. @rss announce add yle

News on their own lines

If you want the feed topics to be on their own lines instead of being separated by the separator which you have configured you can set reply.onetoone to False.

Please first read the help for that configuration variable

@config help reply.onetoone

and understand what it says and then you can do

@config reply.onetoone False