Hi,

In <8aa4c207fd0960ecab2085d82aa90ba9 / ruby-forum.com>
  "Re: RSS and images" on Tue, 5 Jan 2010 03:18:25 +0900,
  Christopher Galtenberg <galtenbergs / gmail.com> wrote:

> 'channel', I believe, is a wrapper for items.  So the code just seems to 
> pull back the logo for the feed, not individual item images.

'channel' is for <channel> not <item>.

> <item>
>   <title>Watering Holes: Memphis At the Santora</title>
>   <link>http://daily.likeme.net/?p=184</link>
>   <description><![CDATA[The SanTana outpost...<p>]]></description>
>     <content:encoded><![CDATA[<p><img 
> src="http://i934.photobucket.com/albums/ad189/nunadooch/LikeMe/Picture6-1.png" 
> alt="" width="600" /></p>The SanTana outpost...]]></content:encoded>
> </item>
> 
> Wordpress uses <content:encoded> to store the media referenced in the 
> item.
> 
> Is there a ruby way of getting to <content:encoded>?

  rss20 = RSS::Parser.parse(rss20_xml)
  rss20.items.each do |item|
    puts item.content_encoded
  end


Thanks,
--
kou