my rails version is 2.2.0 i have created a rss feed It is working fine in IE but in fire fox only xml content is showned like "This XML file does not appear to have any style information associated with it. The document tree is shown below." any idea ? -- 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 -~----------~----~----~----~------~----~------~--~---
Thani Ararsu wrote:> my rails version is 2.2.0 > i have created a rss feed > It is working fine in IE > but in fire foxwhat version?> only xml content is showned > like > > "This XML file does not appear to have any style information associated > with it. The document tree is shown below." > > > any idea ?An rss feed IS only XML (if you don''t apply a style sheet) There is a built-in style sheet for displaying feeds (that don''t have a style sheet specified) in IE, Safari and the last version of Firefox (probably you are using an old version) Duilio Ruggiero -- 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 -~----------~----~----~----~------~----~------~--~---
Duilio Ruggiero wrote:> > what version? >this my "index.xml.builder" file content #------------------- xml.instruct! :xml xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" do xml.channel do xml.title "Rss Feeds" xml.link url_for(:controller => ''feed'') xml.description "My Feed Lists" xml.language(''en-us'') @feeds.each do |feed| xml.item do xml.title feed.title xml.link url_for(feed) xml.author feed.created_by xml.pubDate feed.created_at xml.description feed.description xml.guid url_for(feed) end end end end #----------------- in my controller def index @feeds = Post.find(:all,:order=>''id desc'' ,:limit=>100) respond_to do |format| format.xml {render :layout=>false} end end> > An rss feed IS only XML (if you don''t apply a style sheet) > There is a built-in style sheet for displaying feeds (that don''t have a > style sheet specified) in > IE, Safari and the last version of Firefox (probably you are using an > old version) > > Duilio Ruggieromy firefox version is 3.0.1 how to set new stylesheet ? or any other idea? -- 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 -~----------~----~----~----~------~----~------~--~---