From c6287fc15a15ec53602ca6c0d068523e4e0d8e98 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 8 Apr 2007 17:25:28 +0000 Subject: rss plugin: user ircify_html --- data/rbot/plugins/rss.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'data/rbot/plugins') 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 -- cgit v1.2.3