Limnoria/plugins/RSS
Valentin Lorentz dcf55cf6de RSS: Use an explicit timeout for assertNoResponse, because it defaults to 0.
Which means there may be a command/update thread running and returning after assertNoResponse returns.
In particular, that's an issue when assertNoResponse is called right before
setting feedparser._open_resource, because the running thread might still
be holding the lock but have fetched the new version already, so the
thread announces the new feed elements earlier than expected.
2019-10-05 15:57:01 +02: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 all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
README.md RSS: Reove broken (and probably irrelevant) link in the README. 2015-05-10 09:57:11 +00:00
test.py RSS: Use an explicit timeout for assertNoResponse, because it defaults to 0. 2019-10-05 15:57:01 +02: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