All feeds on 4.7.3 start downloading instead of opening, like here

http://www.oniroweb.com/sitemap

When putting the feed to an offsite aggregator, what we get is one empty article instead of the supposed, say, 30 full text articles.

Issue confirmed here
http://drupal.org/node/77050

Comments

stefano@tipic.com’s picture

The node_feed() function sets the following header:

drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');

and this makes the feed download (it happens on IE and Firefox). The feed will open correctly if you set the content type to application/xml or text/xml.

Imago’s picture

Thanks, this fixed the bug.

breyten’s picture

Status: Active » Closed (works as designed)

It is advised to serve feeds with the application/rss+xml mime type, according to the Feed Validator, so it's not a bug.

pabsta’s picture

Weel I don't know if we have to call this a bug or not, but it does not work. It does not work on Safari (mac) either. When the application/rss+xml is replaced by application/xml, the feed simply disappear on Safari instead of initiely trying to reload the file (may cause safari crashes).

Would be nice to fix it, I have a lot of readers through agreggators. :)

chrisd’s picture

We understand the conundrum.

However this worked fine (view the Drupal RSS feeds using the built-in XML engines from IE and FF) up to Drup 4.7.2.
This is a lost of functionality that many regret:
http://drupal.org/node/77050

Can't we find a way (without having to hack source files) to keep Drupal RSS feeds readable by IE and FF like before ?

Thx,
Christophe D.

arsart’s picture

Version: 4.7.3 » 4.7.4

Any updates on this?:) RSS still download the XML file :(