We have an RXML template we are using for a feed, and when trying to clickt he feed link brings up a "download" box for the file versus sending us to an xml page.
Why would this be?
here is the template we are using
Thanks,Code:xml.instruct! xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1" do xml.channel do xml.title "#{@user.handle}'s Recent Searches" xml.link url_for(:only_path => false, :controller => 'guide', :action => 'guide_profile', :id => @user.id) xml.pubDate CGI.rfc1123_date(@paqs.first.created_at) if @paqs.any? xml.description "Recent ChaCha searches made by #{@user.handle}" @paqs.each do |psr| xml.item do xml.title psr.name xml.link url_for(:only_path => false, :controller => 'category', :action => 'psr', :id => psr.paq_id) xml.description psr.name xml.pubDate CGI.rfc1123_date(psr.created_at) xml.guid url_for(:only_path => false, :controller => 'category', :action => 'psr', :id => psr.paq_id) xml.author @user.handle end end end end
Bryan





Bookmarks