microdotblog / issues

42 stars 0 forks source link

Missing debug info to solve "Error: invalid RSS feed" #204

Open rolleric opened 3 years ago

rolleric commented 3 years ago

I am running my feed through an RSS validator and that says it is ok, but on micro.blog all I get is:

Error: invalid RSS feed

I would like to know what exactly it is that is missing/incorrect in my RSS feed such that I can fix it.

manton commented 3 years ago

I wonder if that error message was old, because I checked your account and Micro.blog did appear to process your feed successfully. If the error message doesn't clear, let me know. I'll take a closer look but I think it's working.

manton commented 3 years ago

Following up… I see the problem. Your server is returning HTML when Micro.blog requests the feed URL. It must have worked at one point, because there are posts downloaded in your Micro.blog account, but I expect something changed. Maybe the server is returning a different response based on the user-agent?

rolleric commented 3 years ago

Looking today, I don't see the error message any more and I see the blog updates. Thank you!

By the way, the error never appeared when adding a feed address or when pressing the refresh button. I only saw it when I came back to the "Add Feeds & Cross-posting" page a little later.

But I don't see HTML, testing with curl https://address/to/feed I get XML Curl has a --user-agent option; which agent should I test it with?