Welcome to WebmasterWorld Guest from 184.73.3.107

Forum Moderators: bill & werty

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)

WebmasterWorld Senior Member 10+ Year Member



Just to add to the confusion - I've also seen

application/rss+xml

Any gurus?

4:04 pm on Nov 12, 2004 (gmt 0)

10+ Year Member



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)

10+ Year Member



XMLX is right. All our feeds are text/xml
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month