I had created two rss feeds and they were working perfectly the other
day but for some reason they now show in an xml tree format when
@products = Product.find(:all, :order=> "item_name")
render :layout => false
xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/
xml.title "FlashItem products"
xml.link url_for :only_path => false, :controller =>
xml.description "Items advertised on the FlashItems website"
@products.each do |p|
xml.link(url_for :only_path => false, :controller =>
'products',:action => 'show', :id => (p.id))
xml.guid(url_for :only_path => false, :controller => 'products',
:action => 'show', :id => (p.id))
could something be wrong with the http://purl.org/dc/elements/
1.1/ url bit that I believe does the formatting of the feed?