[wp-testers] Did the default MIME type for feeds change in 2.8?

Peter Westwood peter.westwood at ftwr.co.uk
Sat May 9 08:55:45 GMT 2009


On 8 May 2009, at 19:43, Matt Martz wrote:

> On Fri, May 8, 2009 at 2:31 PM,  <zamoose at gmail.com> wrote:
>> Howdy all,
>> I'm running into an issue on a 2.8-bleeding-edge blog where  
>> Firefox, Camino,
>> Safari, etc. are not parsing [blog URL]/feed/, /feed/rss2/, ? 
>> feed=rss2, etc.
>> as valid content and are instead downloading the result. Looks like  
>> WP is
>> sending application/rss+xml which may be the cause. I think it used  
>> to send
>> text/xml... correct?
>>
>> If so, what must I do in order to bring it to heel and make my ~/ 
>> Downloads
>> free of [site name].download files?
>>
>> -Doug
>> http://literalbarrage.org/blog/
>
> It does appear as though the content type was changed in 2.8.  However
> application/rss+xml is a valid content type for the feed.  In addition
> I tested all of the browsers you mentioned and none of them
> experienced this problem.  Tested on most recent trunk revision.
>

It was changed as part of this ticket

http://core.trac.wordpress.org/ticket/8878

If you want to change it back for your blog you can use the  
'feed_content_type' filter in a plugin.

Hope that helps.

westi
-- 
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5



More information about the wp-testers mailing list