1
2
3
4
5
6
7
8
9
10
11
# in irb
require 'rubygems'
require 'feedzirra'
url = "http://search.twitter.com/search.atom?q=railscasts"
feed = Feedzirra::Feed.fetch_and_parse(url)
e = feed.entries.first
e.content # => "RT ..."
e.author # => "therealmaz (Jeremy Maziarz)"
e.url # => "http://twitter.com/therealmaz/statuses/3166363225"
e.id # => tag:search.twitter.com,2005:3166363225
e.published # => Thu Aug 06 16:00:42 UTC 2009