Problems parsing Google Data Booksearch API XML in Ruby
- by FrogBot
I'm trying to parse some XML I've gotten from the Google Data Booksearch API and I'm having trouble trying to target a specific element. Currently my code looks like so:
require 'gdata'
client = GData::Client::BookSearch.new
feed = client.get("http://books.google.com/books/feeds/volumes?q=Foundation").to_xml
books = []
…