搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox changes the url of my RSS feed. How do I fix this?

  • 5 回覆
  • 2 有這個問題
  • 5 次檢視
  • 最近回覆由 cor-el

more options

It changes the URL from http://www.vict-consultancy.co.uk/rss_feed.rss to feed://www.vict-consultancy.co.uk. The result is the xml code is shown as text on the web page http://www.vict-consultancy.co.uk/rss_feed.rss

The RSS feed seems to be working properly in other browsers (IE, Safari, Opera), it's only Firefox that is doing this.

It changes the URL from http://www.vict-consultancy.co.uk/rss_feed.rss to feed://www.vict-consultancy.co.uk. The result is the xml code is shown as text on the web page http://www.vict-consultancy.co.uk/rss_feed.rss The RSS feed seems to be working properly in other browsers (IE, Safari, Opera), it's only Firefox that is doing this.

所有回覆 (5)

more options

The RSS file is send as Content-Type: text/plain

by the server instead of Content-Type: "application/rss+xml"

data:text/html,<link rel="alternate" type="application/rss+xml" title="" href="http://www.vict-consultancy.co.uk/rss_feed.rss" />
more options

Hi

Thanks for your swift reply, as you can probably tell I'm no developer and new to Firefox help. I followed instructions on how to create and upload a rss feed using a tutorial I found on the web. I'm understand that your explaining to me the content-type is set incorrectly and this is the problem, but I'm not sure what to do with the code in your answer. Do you mean I should replace the code I put in my header with the code starting data:taxt etc?

more options

The above posted code will allow to see the RSS feed file in Firefox displayed as feed.

What you need to do is to configure the server and place (or edit an existing) an .htaccess file in the root of your website.

more options

Hi

Sorry for the delay in replying, was away for a few days. You are a star, thank you. I appreciate the spoon-feeding and you sharing your knowledge with me. I'm trying to self-teach as much as possible, but sometimes you just need help! I'll edit my existing .htaccess file and ask my web host to configure the server.

-)
more options

This is only a problem if you open the feed link directly in the location bar.

If a feed is added via a link tag in the page code then it should work as you can via the above posted code.
Firefox 13 doesn't have the "subscribe to this page" icon on the Navigation Toolbar by default, so you would have to add it yourself to easily discover live feeds.


<link rel="alternate" type="application/rss+xml" href="http://www.vict-consultancy.co.uk/rss_feed.rss" />