Forum: Ruby on Rails feedburner api xml

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Alex (Guest)
on 2006-03-11 21:17
I'm trying to query feedburner's api (as according to their
documentation). I'm using 'net/http' as outlined here:
@feed_stats =
Net::HTTP.get(URI.parse("http://api.feedburner.com/awareness/1.0/GetFeedDat...
+ @feed_uri))

The query returns this xml:
<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok">
  <feed id="277241" uri="Eribium">
    <entry date="2006-03-10" circulation="0" hits="0" />
  </feed>
</rsp>

I'm trying to work out how to parse this xml so I can display the data
in my view. Thanks in advance
Chris H. (Guest)
on 2006-03-11 21:32
(Received via mailing list)
you could use REXML, a ruby xml processing library available in the
stdlib.
This topic is locked and can not be replied to.