Skip to content

Instantly share code, notes, and snippets.

@lpgauth
Created May 4, 2009 14:15
Show Gist options
  • Save lpgauth/106476 to your computer and use it in GitHub Desktop.
Save lpgauth/106476 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'open-uri'
require 'nokogiri'
doc = Nokogiri::XML(open('http://search.twitter.com/search.atom?q=&ands=test&lang=en&rpp=10'))
doc.xpath('//feed/entry').first.children.each do |t| puts t.attributes end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment