RSS getting recognized as HTML

Hi!

I’m having issues trying to get my RSS feed to be properly recognized. In my browser it displays the RSS but in a feed reader or feed validator it says that it’s HTML instead of RSS.

The URL is mprss.epizy.com, the RSS feed is here: http://mprss.epizy.com/?action=display&bridge=MarktplaatsGitaar&context=Search&format=Atom

Can anyone help me with this?

It’s working for me. Please try clearing your cache.

Did you check with an RSS validator? As I said the browser DOES display the RSS but in both validators and RSS feed apps, it says it’s invalid because it’s HTML.

Can you share the code here?

I use RSS-Bridge (GitHub - RSS-Bridge/rss-bridge: The RSS feed for websites missing it), with the MarktplaatsBridge but with a custom URL (needed some extra options so just hard coded the URL that it should create the feed from).

The thing is, it works on another free webhost (rss-bridge-mp.cf), but that has a traffic limit of 5GB/month, and I don’t think that’ll be enough.

Can you share the RSS code from your site here? That is what I meant.

You mean the raw RSS that it creates? I think that’s too long to post here.

Also, the RSS code should be just fine, considering it works on another host.

I checked with W3C Feed Validation Service, for Atom and RSS
When I check by URL, it says “It looks like this is a web page, not a feed. I looked for a feed associated with this page, but couldn’t find one. Please enter the address of your feed to validate.”
But when I check by direct input (i.e. just copying and pasting the RSS) it says it’s valid.

Ok, share like the first 10 lines than

This could also be an invalid MIME type, however I doubt it since newer browser can auto detect the MIME for most file types.

It’s basically this but with way more entries:

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">

	<title type="text">MarktplaatsGitaren</title>
	<id>http://mprss.epizy.com/?action=display&amp;bridge=MarktplaatsGitaar&amp;context=Search&amp;format=Atom</id>
	<icon>https://marktplaats.nl/favicon.ico</icon>
	<logo>https://marktplaats.nl/favicon.ico</logo>
	<updated>2021-10-25T19:34:15+00:00</updated>
	<author>
		<name>RSS-Bridge</name>
	</author>
	<link rel="alternate" type="text/html" href="https://marktplaats.nl" />
	<link rel="self" type="application/atom+xml" href="http://mprss.epizy.com/?action=display&amp;bridge=MarktplaatsGitaar&amp;context=Search&amp;format=Atom" />
	<entry>
		<title type="html">TE KOOP D'Angelico EX-SS GB GH semihollow body elektr.gitaar</title>
		<published>2021-10-25T19:34:15+00:00</published>
		<updated>2021-10-25T19:34:15+00:00</updated>
		<id>urn:sha1:73b4c20d30869e7f736bafd9ed779d355a8de63d</id>
		<link rel="alternate" type="text/html" href="https://marktplaats.nl/v/muziek-en-instrumenten/snaarinstrumenten-gitaren-elektrisch/m1764604659-te-koop-d-angelico-ex-ss-gb-gh-semihollow-body-elektr-gitaar"/>
		<author><name>Bert</name></author>
		<content type="html">Omdat ik me uiteindelijk focus op akoustische gitaar verkoop ik mijn d'angelico ex-ss gb gh hollow body elekrische gitaar, waa&lt;br /&gt;
&lt;img src='https://i.ebayimg.com/00/s/MTAyNFg1ODU=/z/150AAOSwSPVhdRuO/$_82.JPG' /&gt;&lt;br&gt;
&lt;br&gt;
Price: -0.01&amp;nbsp;&amp;nbsp;(FAST_BID)&lt;br&gt;&lt;br&gt;
Lathum</content>
		<category term="music_and_musical_instruments"/>
<category term="musical_instruments_string_instruments_guitars_electric"/>
	</entry>
</feed>

I just noticed it says this in the chrome console when opening the feed URL:
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://infinityfree.net/errors/404/ with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.

This means something (I guess form what you have been talking about, your RSS) has been blocked and you do not have any ErrorDocuments set up, so it uses the default ones on InfinityFree and those are cross-origin (relative to your domain), therefore they were blocked.

1 Like

Still doesn’t explain why the RSS feed isn’t working though.

I added error pages. When I go to a non-existing URL within the domain it brings me to the 404 page I created. The error is still being displayed in the console though when opening the feed.

Just tried if other browser acted differently, and when I open the feed in Firefox it immediately askes me to download the RSS as a file and even automatically recognizes the type ‘application/atom+xml’ (see picture).

image

Opera and Edge open the page normally without any errors in the console.

I think it’s because of this: Ensuring only web browsers can access your website

1 Like

Possibly. I have not seen others having issues with RSS though.

Other threads say using Cloudflare fixes the issue

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.