you could use REXML, a ruby xml processing library available in the
stdlib.
On Mar 11, 2006, at 2:17 PM, Alex wrote:
> 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/
> GetFeedData?uri="
> + @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
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails