I'm creating a web site and I'm having trouble getting FireFox to ask me where to add the feed when I open it. I used the tag to add the RSS icon, and it leads to a page that provides a valid Atom feed according to the W3C validator. When the content type is "text/html", I get the content of the xml tags concatenated. When I serve "application/atom+xml", Firefox asks me if I want to save the file to my desktop. Safari recognized the feed and acts appropriately. Is there another header or tag in the feed that tells Firefox to act like it's a feed?
Feed for this very page is an Atom feed and Firefox recognizes it as such. Maybe you should set content-type header to "application/xhtml+xml" which is what stackoverflow is doing.
Firefox should get from "Content-Type: application/atom+xml; charset=UTF-8" http header from server. What http headers firefox is getting you can check with this plug-in: http://livehttpheaders.mozdev.org/
Well, your feed need only confirm to the Atom specifications. If it confirms Firefox will display it as such. Are you putting in the right header and namespace?
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
I don't think you need to worry about changing the header if you do that. I've worked with RSS (not Atom) feeds in the past and have never had to change the header as long as the feed was formatted correctly.