title: Parse XML from URL into python object
body: <p>The goodreads website has this API for accessing a user's 'shelves:' <a href="https://www.goodreads.com/review/list/20990068.xml?key=nGvCqaQ6tn9w4HNpW8kquw&amp;v=2&amp;shelf=toread">https://www.goodreads.com/review/list/20990068.xml?key=nGvCqaQ6tn9w4HNpW8kquw&amp;v=2&amp;shelf=toread</a></p>
  
  <p>It returns XML. I'm trying to create a django project that shows books on a shelf from this API. I'm looking to find out how (or if there is a better way than) to write my view so I can pass an object to my template. Currently, this is what I'm doing:</p>
  
  <pre><code>import urllib2
  
  def homepage(request):
      file = urllib2.urlopen('https://www.goodreads.com/review/list/20990068.xml?key=nGvCqaQ6tn9w4HNpW8kquw&amp;v=2&amp;shelf=toread')
      data = file.read()
      file.close()
      dom = parseString(data)
  </code></pre>
  
  <p>I'm not entirely sure how to manipulate this object if I'm doing this correctly. I'm following this <a href="http://www.travisglines.com/web-coding/python-xml-parser-tutorial">tutorial</a>.</p>