Hi,

In <b002dd1e5a048702c14ecb5650bd0a1a / ruby-forum.com>
  "RSS and images" on Mon, 4 Jan 2010 08:20:15 +0900,
  Christopher Galtenberg <galtenbergs / gmail.com> wrote:

> Using the default Ruby RSS parser, which format is best suited to
> pulling in images from feed elements, RSS2 or Atom?
> 
> And then, how do I use the RSS classes to pull those images, per feed
> element?  I am not finding examples, and the api is a bit baroque.

  rss20 = RSS::Parser.parse(rss20_xml)
  image = rss20.channel.image
  puts image.url if image and image.url

  atom = RSS::Parser.parse(atom_xml)
  logo = atom.feed.logo
  puts logo.content if logo and logo.content


Thanks,
--
kou