[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-1/amarok/src/scripts/rbot/rss
From:       Mark Kretschmann <markey () web ! de>
Date:       2005-04-08 19:12:01
Message-ID: 20050408191201.B3497648 () office ! kde ! org
[Download RAW message or body]

CVS commit by markey: 

Added forum item extra formatting.


  M +2 -0      rss.rb   1.7


--- kdeextragear-1/amarok/src/scripts/rbot/rss/rss.rb  #1.6:1.7
@@ -219,4 +219,6 @@
                 m.reply("::#{item.category.content} just blogged at #{item.link}::")
                 m.reply("::#{item.title.chomp.riphtml.shorten(20)} - \
#{item.description.chomp.riphtml.shorten(60)}::") +            when 'amarokforum'
+                m.reply("::Forum:: #{item.pubDate.to_s.chomp+": " if \
item.pubDate}#{item.title.chomp.riphtml.shorten(20)+" :: " if item.title}#{" @ \
"+item.link.chomp if item.link}")  when 'mediawiki'
                 m.reply("::Wiki:: #{item.title} has been edited by \
#{item.dc_creator}. #{item.description.split("\n")[0].chomp.riphtml.shorten(60)}::")


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic