# Rss feed is not detected in firefox?

**URL:** <https://www.ruby-forum.com/t/rss-feed-is-not-detected-in-firefox/153534>\
**Category:** Rails\
**Created:** [November 18, 2008, 2:12pm UTC](https://www.ruby-forum.com/t/rss-feed-is-not-detected-in-firefox/153534 "2008-11-18T14:12:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thaniyarasu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@thaniyarasu](https://www.ruby-forum.com/u/thaniyarasu)\
**Post date:** [November 18, 2008, 2:12pm UTC](https://www.ruby-forum.com/t/rss-feed-is-not-detected-in-firefox/153534/1 "2008-11-18T14:12:35Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![thaniyarasu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@thaniyarasu](https://www.ruby-forum.com/u/thaniyarasu)\
**Post date:** [November 18, 2008, 2:42pm UTC](https://www.ruby-forum.com/t/rss-feed-is-not-detected-in-firefox/153534/2 "2008-11-18T14:42:39Z")

</div>

Thani A. wrote:

> my rails version is 2.2.0  
> i have created a rss feed  
> It is working fine in IE  
> but in fire fox

what 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 R.

---

<div class="post-metadata">

**Author:** ![thaniyarasu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@thaniyarasu](https://www.ruby-forum.com/u/thaniyarasu)\
**Post date:** [November 19, 2008, 5:03am UTC](https://www.ruby-forum.com/t/rss-feed-is-not-detected-in-firefox/153534/3 "2008-11-19T05:03:58Z")

</div>

Duilio R. wrote:

> what version?

this my “index.xml.builder” file content  
#-------------------  
xml.instruct! :xml  
xml.rss “version” =\> “2.0”, “xmlns:dc” =\>  
“[DCMI: DCMI Metadata Terms](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 R.

my firefox version is 3.0.1

how to set new stylesheet ?

or any other idea?
