Report abuse

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: lib/kirby.rb
===================================================================
--- lib/kirby.rb  (revision 1913)
+++ lib/kirby.rb  (working copy)
@@ -161,6 +161,9 @@
       begin
         e = (Hpricot(open(feed))/:entry).first
         @atoms[feed] = link = e.at("link")['href']
+        if link =~ /github.com/
+          link = Hpricot(open("http://tinyurl.com/create.php?url=#{CGI.encode(link)}")/:blockquote/:b)[1].innerText
+        end
         say "Commit #{link} by #{((e/:author)/:name).text}: #{(e/:title).text}" unless link == last
       rescue
       end