diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-26 00:47:04 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-26 00:54:50 +0100 |
commit | daf0eb2988d71f347b236ba77e43c51735ec2d3f (patch) | |
tree | 07756236a23ad98323da84bfeab7e09b867aab95 /data/rbot/plugins/markov.rb | |
parent | 97c72c8f70889a3466d26f295b554b92ca37d146 (diff) |
rss plugin: parseRss returns the number of found items
Change the parseRss routine to return the number of found items, or nil
in case of error. This helps clearly differentiate between empty feeds
(which are still legit) and b0rked feeds.
This change in logic does not alter the fact that a feed update with no
items will not wipe existing old feed items.
Diffstat (limited to 'data/rbot/plugins/markov.rb')
0 files changed, 0 insertions, 0 deletions