summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-10 13:20:09 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-10 22:08:10 +0100
commitc2ba27c11d4d7f2a218ea58cb0195e64c626f691 (patch)
tree66dff8fada4e58dcb17ee4926e07c113f02c6f19
parent2ead8251de25ada98bcfa76571fecbb7c250338b (diff)
rss plugin: add 'git' feed type
-rw-r--r--data/rbot/plugins/rss.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 59357d0e..633e8b21 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -895,6 +895,8 @@ class RSSFeedsPlugin < Plugin
abt = category ? "about #{category} " : ""
line1 = "#{handle}#{date}#{author}blogged #{abt}at #{link}"
line2 = "#{handle}#{title} - #{desc}"
+ when 'git'
+ line1 = "#{handle}#{date}#{author}commited #{title} @ #{link}"
when 'forum'
line1 = "#{handle}#{date}#{title}#{at}#{link}"
when 'wiki'