Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

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

  • 5 svar
  • 2 har detta problem
  • 5 visningar
  • Senaste svar av 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.

Alla svar (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" />