All feeds on the site (just installed) start downloading instead of opening the feed. Site is in the same server with lots of 4.6 Drupals where everything is OK with the feeds.

Searched Drupal for two hours and found nothing to help solve the issue.

Please, advise how to fix it, because this is the main purpose of the site - to offer categorized feeds.

TIA

Comments

Imago’s picture

Just noticed on another page that when you click on the RSS icon, a download of the icon starts

http://www.oniroweb.com/taxonomy/term/11/all

see at the bottom

- It is not a mod_rewrite issue

rewted’s picture

I've got the same issue with 4.7.3 too.

Imago’s picture

Then we should probably report it. Need only one more confirmation.

rewted’s picture

Just report it as a bug now. It's an obvious issue, even drupal.org encounters it.

sepeck’s picture

In IE the feeds on Drupal.org are corectly displayed. I noticed this recently in Firefox with some sites. I also had a recent firfox update install too.

Can someone else confirm the issue to help narrow down the scope?

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

rewted’s picture

I just checked. The issues is present in the following:

IE 6.0
FF 1.5.0.6
NS 7.1
NS 8.1

Opera 9.01 seems to work.

Imago’s picture

Thanks to Stefano!

http://drupal.org/node/77117

rewted’s picture

Check again. rss+xml is proper!

stefano@tipic.com’s picture

You must add the following lines in the httpd.conf to make it work:

AddType application/rdf+xml rdf
AddType application/rss+xml rss

rewted’s picture

Well... I have those in my apache conf, still encounter the same issue.

.carey’s picture

...and can't see out of the other. Where is the httpd.conf file?

And where would I put this info to make feeds work again?

(Sorry, I think my brain knows that it's Sunday. ;)

rewted’s picture

Adding those to your apche conf will not aid the issue anyway. See above.

.carey’s picture

Then, has another solution been found and maybe I just missed it?

rewted’s picture

Not sure of the solution... even drupal.org (this website) has the issue at present time.

chrisd’s picture

The bug report status is "by design" now. So unless someone changes this back to "active" we will have to live with this "new-normal".
This does not seem right to me, but I don't know enough expertise about this stuff to change the status back to "active".

I can confirm that adding "AddType application/rss+xml rss" to the Apache conf does not address the issue (ie display feeds in FireFox).

Being able to check your feed in Firefox worked just fine until 4.7.3.

C'est la vie,
Chris
Tech. articles with a WAMP+IIS+Drupal focus

freedom1378’s picture

To subscribe to an RSS feed, don't press that button. If the RSS feed works, you'll see an RSS feed button on the URL box like this one:

http://www.for-the-win.com/upload/files/1/rss.JPG

If done correctly you'll see an RSS subscription button like the Kotaku one on the bar. This applies for Firefox and I'm unsure how to do it for IE or other browsers. If you have an older version of Firefox, the RSS Feed button should be on the bottom bar instead of the URL box

geohelper’s picture

Has anyone found a way to fix this?

Robardi56’s picture

I noticed this also, when you directly click on the button from the page it will present a download box.

However, when using a regular aggregator and add the feed url, it seems to work fine insn't it ?

Brakkar

Steve Dondley’s picture

OK, it's not broken. This is the way it's supposed to work when the header is set. That link isn't meant to be read by humans, anyway. If you really want to see it, download it.

--
Get better help from Drupal's forums and read this.

geohelper’s picture

Most users do not understand RSS, but forcing the file to download to their desktop is useless. What do they do then? Probably double-click to open... Sweet, a text editor w/ code! Now what?

By displaying the RSS in the browser, you do not limit the use. Safari has an RSS reader built-in, Firefox offers an extension, and there are bookmarklets from Bloglines, Google, Yahoo and other aggregators.

The forced download breaks the generally-accepted display that ">Digg, Google News and Wired (w/ xslt) use.

I'm shocked that this drastic change was made from Drupal version 4.7.2 to 4.7.3, especially without providing the original view option... but I still think this is an unintentional bug, and I'm very surprise there isn't a fix yet.

No matter the personal preference, can someone help the Drupal developers that want RSS feeds to display?

chrisd’s picture

Agree 100%.
Updated the official entry:
http://drupal.org/node/77117

Tchao,
Christophe D.

Tech. articles with a WAMP+IIS+Drupal focus

Take a break: Guide to France

_bullseye_’s picture

I was having the same problem, and was directed to:
http://drupal.org/node/77117

I changed the line in node.module to read:
drupal_set_header('Content-Type: text/xml; charset=utf-8');

Now when i click a feed link in IE, nothing happens,
When i click in Firefox, i get a page of code. If i view the source of the code, i see the XML the way it should look.

???

Is there someone out there with 4.7 that has this working, so we can compare notes?

rivian’s picture

I changed the drupal_set_header('Content-Type: application/rss+xml; charset=utf-8'); to drupal_set_header('Content-Type: text/xml; charset=utf-8'); and now the feed loads in IE for me.