mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
964c73f591
When the feed has a specified encoding, we'll be dealing with unicode objects in the response from feedparser.parse(). To avoid possible UnicodeErrors, we need to encode() before handing the string off to other functions, so the other functions are always dealing with bytestrings instead of bytestrings and unicode objects. Mixing unicode and bytestrings will cause implicit conversions of the unicode objects, which will most likely use the wrong encoding. Signed-off-by: James McCoy <jamessan@users.sourceforge.net> |
||
---|---|---|
.. | ||
local | ||
__init__.py | ||
config.py | ||
plugin.py | ||
README.txt | ||
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 ----------- 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