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.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---