Welcome to WebmasterWorld Guest from

Forum Moderators: bill & werty

Message Too Old, No Replies

What is the most correct Content-Type header type to use

1:26 pm on Sep 29, 2004 (gmt 0)

Preferred Member

joined:Apr 22, 2004
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 8, 2001
votes: 0

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


Any gurus?

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

New User

10+ Year Member

joined:Oct 23, 2004
votes: 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)

Full Member

10+ Year Member

joined:June 12, 2003
votes: 0

XMLX is right. All our feeds are text/xml

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members