public
Description: Read an RSS feed (even HTTPS with authentication) and rebroadcast it to a Twitter account.
Clone URL: git://github.com/trak3r/rss2twitter.git
Aw crap I committed with debuggin code :-(
trak3r (author)
Wed Apr 16 12:04:57 -0700 2008
commit  21252d7a8f69c767800602744ef7d79d3d2431cf
tree    0ee73d1ae6a46d7e4fcff6d1f869d2333abafe8a
parent  2bfae1272d166e4ea2b7d2e3a49a921f29953722
...
102
103
104
105
106
107
108
109
 
110
111
112
...
102
103
104
 
 
 
 
 
105
106
107
108
0
@@ -102,11 +102,7 @@ for item in rss_items.items.reverse
0
     unless existing_item = Item.find(:all, :conditions => ["link=?", item.link]).first
0
       twitter ||= Twitter::Base.new(twitter_email, twitter_password)
0
       new_item = Item.create(:title => item.title, :link => item.link)
0
-# twitter.post(new_item.to_s)
0
-print new_item.to_s.length
0
-print ">"
0
-print new_item.to_s
0
-print "\n"
0
+ twitter.post(new_item.to_s)
0
     end
0
   end
0
 end

Comments

    No one has commented yet.