diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-17 19:13:27 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-03-17 19:13:27 +0100 |
commit | 726b5c7b4973a9e1ab478b7a3ef1bed084749bf8 (patch) | |
tree | ba503457d747f7740818e3dd52522a3dda3e4ab1 /data/rbot/plugins | |
parent | 901d14ffa819d069730a64d99a90a1e282656119 (diff) |
rss plugin: use (?) for missing item and channel titles too
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/rss.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 0cf8f129..dd359781 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -1080,13 +1080,13 @@ class RSSFeedsPlugin < Plugin return nil end if rss.respond_to? :channel - rss.channel.title ||= "Unknown" + rss.channel.title ||= "(?)" title = rss.channel.title else title = rss.title.content end rss.items.each do |item| - item.title ||= "Unknown" + item.title ||= "(?)" items << item end end |