]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commit - data/rbot/plugins/rss.rb
rss plugin: try all RSS parsers
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 30 Jan 2009 17:24:34 +0000 (18:24 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 30 Jan 2009 17:24:34 +0000 (18:24 +0100)
commit36f1f28e668919dfab75c8fc4d1020abad351bd1
treef5c3e6cb0690eb5c925814debf009a470d2e0f08
parentff5357cc9a5778a3cb8231bc01122bd0cd6f772d
rss plugin: try all RSS parsers

Some feeds fail when parsed by some parsers, but work correctly with
others (e.g. http://www.blueman.com/community/rss fails with xmlparser
but not with REXML). So try all of them and only abort if none works
rather than failing because the default parser fails.
data/rbot/plugins/rss.rb