Msg#: 3978471 posted 8:06 pm on Aug 25, 2009 (gmt 0)
I have a RSS feed people can subscribe to on my website. It works fine in Internet Explorer and certain versions of Firefox, but with the latest Firefox (5.2.3) the RSS entries do not show but instead the xml code comes up. Does anyone know what could cause this? I know the code is correct. Any feedback is very much appreciated.
Msg#: 3978471 posted 9:19 pm on Aug 26, 2009 (gmt 0)
I ran it through the validator and it passed. The validator said this: "This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations." And then it says I should change the mime type because feeds should not be served with the "text/plain" media type. I haven't done that yet (not knowing exactly what to change it to) but I don't think that will solve the problem since I'm not viewing the feed in a feed reader. This is the only feed I have on my site. It was working until I upgraded to Mozilla Firefox 3.5.2. Thanks for the tip on using validator. And many thanks for responding.
Msg#: 3978471 posted 2:31 am on Aug 28, 2009 (gmt 0)
I'm not familiar with that tool. It does look like it has a lot of feature options that would let you fine tune your feed though.
Why not take the validator's advice and address the MIME type issue?
Another option might be to generate an Atom feed instead of RSS with the same tool. When I hand code I use RSS by habit, but if I have a tool that will generate a feed for me I'll often go with Atom. It has a bit more functionality available compared to RSS.
Msg#: 3978471 posted 2:43 am on Aug 28, 2009 (gmt 0)
it says I should change the mime type because feeds should not be served with the "text/plain" media type. I haven't done that yet (not knowing exactly what to change it to) but I don't think that will solve the problem
It will solve the problem. You need to use the mime type
[b]application/rss+xml[/b] for RSS 2.0 feeds - the details of how to achieve this depend on your server environment (the problem is a result of a server misconfiguration).
Msg#: 3978471 posted 4:14 pm on Aug 31, 2009 (gmt 0)
You were right. I accessed my server account and it had an area where you could add user defined mime types. I entered the mime type, application/rss+xml and then was asked for an extension so I inputted .rss. It worked. Now the feed in regular text comes up and not the code. You saved me a lot of headache. Many thanks!