Forum: Ruby on Rails Parsing podcast rss problem

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.
B455036ffc83a268f77a7561f20a7ab6?d=identicon&s=25 Lyn Williams (lyntaff)
on 2008-10-23 11:02
Hi,

I need to parse an rss feed for a podcast. I get this error 'prefix
<itunes> doesn't associate uri <> in tag <image>' when I use the
following:


--------------controller-------------------------
def podcasts
    require 'rss'
    require 'open-uri'

    @uffeed  = RSS::Parser.parse(
'http://urbanfusionentertainment.podomatic.com/rss2.xml' )

end

-------------view---------------------------------

<%= @uffeed %>
  <% @uffeed.items.each do |item| %>
  <%= item.title %>
<% end %>

Does anybody know if I need to require different files for a podcast rss
feed or something as I can't find any documentation regarding this
online.

Many Thanks for your help.
5f3d52658aafcf0aabe76a5147e8909f?d=identicon&s=25 tomrossi7 (Guest)
on 2009-05-04 15:22
(Received via mailing list)
Did you ever get an answer to your question?  I'm about to start work
on parsing a podcast xml feed...

On Oct 23 2008, 5:02 am, Lyn Williams <rails-mailing-l...@andreas-
This topic is locked and can not be replied to.