| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|What is the most correct Content-Type header type to use|
I wrote a rss feed ap in php but I don't know what content-type header to spit out for it.
its rss 2.0
my options from my research are:
application/xml+rss --> I think this is wrong as I did not see it at IANA site
application/xml --> is registered the IANA site but not very commonly used
text/xml --> this one seems the most correct to me
comments any one?
Just to add to the confusion - I've also seen
If you're talking about the HTTP Content-Type, then you should use "text/xml".
RSS is a standard for describing particular kinds of information, but is still written in XML.
XMLX is right. All our feeds are text/xml
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved