]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
rss plugin: add 'git' feed type
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 10 Feb 2008 12:20:09 +0000 (13:20 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 10 Feb 2008 21:08:10 +0000 (22:08 +0100)
data/rbot/plugins/rss.rb

index 59357d0ec7a7256b4d1aa3eb990856f000bfa751..633e8b21a908d0cd190302ce4bfa82f0da19a89d 100644 (file)
@@ -895,6 +895,8 @@ class RSSFeedsPlugin < Plugin
       abt = category ? "about #{category} " : ""\r
       line1 = "#{handle}#{date}#{author}blogged #{abt}at #{link}"\r
       line2 = "#{handle}#{title} - #{desc}"\r
+    when 'git'\r
+      line1 = "#{handle}#{date}#{author}commited #{title} @ #{link}"\r
     when 'forum'\r
       line1 = "#{handle}#{date}#{title}#{at}#{link}"\r
     when 'wiki'\r