Limnoria/plugins/RSS
Arnout Engelen 58e7e61d69 Only reset the cached feed when the response actually contains headlines
Some feeds, such as those from sourceforge.net, will sometimes show an error
page rather than a feed. In this case the feed cache used to be cleared for
that feed, causing all 'old' headlines to be flooded to the channel as soon
as the feed came back online.

This patch hopefully fixes that by only resetting the cache when the returned
page actually contains headlines.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2013-08-23 23:13:28 -04:00
..
__init__.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
config.py Merge the changes from the python25compat branch into the trunk 2009-03-11 13:37:24 -04:00
plugin.py Only reset the cached feed when the response actually contains headlines 2013-08-23 23:13:28 -04:00
README.txt Update RSS's README with the new announce syntax 2009-03-15 19:19:14 -04:00
test.py RSS: Remove local/feedparser and add it to install_requires 2012-10-14 12:13:00 -04: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
-----------

Adding a feed
@rss add supybot http://sourceforge.net/export/rss2_projfiles.php?group_id=58965

Add announcements for a feed
@rss announce add supybot

Stop announcements for a feed
@rss announce remove supybot