diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-08 17:25:28 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-08 17:25:28 +0000 |
commit | c6287fc15a15ec53602ca6c0d068523e4e0d8e98 (patch) | |
tree | 90246b00a15ad348191ceb17f8cab868f314d738 | |
parent | b593dcf992727377feec931c0cfc5534520f6bfa (diff) |
rss plugin: user ircify_html
-rw-r--r-- | data/rbot/plugins/rss.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 8b132ba6..5cd1ada3 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -246,6 +246,8 @@ class RSSFeedsPlugin < Plugin end
end
+ attr_reader :feeds
+
def initialize
super
if @registry.has_key?(:feeds)
@@ -729,9 +731,9 @@ class RSSFeedsPlugin < Plugin end
end
- title = "#{Bold}#{item.title.chomp.riphtml}#{Bold}" if item.title
+ title = "#{Bold}#{item.title.ircify_html}#{Bold}" if item.title
- desc = item.description.gsub(/\s+/,' ').strip.riphtml if item.description
+ desc = item.description.ircify_html if item.description
link = item.link.chomp if item.link
|