mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
dcf55cf6de
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. |
||
---|---|---|
.. | ||
locales | ||
__init__.py | ||
config.py | ||
messages.pot | ||
plugin.py | ||
README.md | ||
test.py |
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
- Add a feed using
@rss add limnoria https://github.com/ProgVal/Limnoria/tags.atom
.- This is RSS feed of Limnoria’s stable releases.
- You can now check the latest news from the feed with
@limnoria
.
- 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:
@rss add yle http://yle.fi/uutiset/rss/uutiset.rss?osasto=news
@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