diff options
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/freshmeat.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/freshmeat.rb b/data/rbot/plugins/freshmeat.rb index 494cfb48..f7e163f0 100644 --- a/data/rbot/plugins/freshmeat.rb +++ b/data/rbot/plugins/freshmeat.rb @@ -87,7 +87,7 @@ class FreshmeatPlugin < Plugin max = params[:limit].to_i max = 8 if max > 8 begin - xml = @bot.httputil.get('http://images.feedstermedia.com/feedcache/ostg/freshmeat/fm-releases-global.xml') + xml = @bot.httputil.get('http://freshmeat.net/backend/fm-releases-global.xml') unless xml m.reply "freshmeat news parse failed" return @@ -107,8 +107,8 @@ class FreshmeatPlugin < Plugin title_width = 0 done = 0 doc.elements.each("*/channel/item") {|e| - desc = e.elements["description"].text - title = e.elements["title"].text + desc = e.elements["description"].text.ircify_html + title = e.elements["title"].text.ircify_html #title.gsub!(/\s+\(.*\)\s*$/, "") title.strip! title_width = title.length if title.length > title_width |