| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|What is the most correct Content-Type header type to use|
| 1:26 pm on Sep 29, 2004 (gmt 0)|
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?
| 10:28 am on Oct 18, 2004 (gmt 0)|
Just to add to the confusion - I've also seen
| 4:04 pm on Nov 12, 2004 (gmt 0)|
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.
| 2:25 am on Nov 15, 2004 (gmt 0)|
XMLX is right. All our feeds are text/xml
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved