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 XMLtags 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?
Well, your feed need only conform to the Atom specifications. If it conforms Firefox will display it as such. Are you putting in the right header and namespace?
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.