Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add feed https://www.ap.org/feed/ #2783

Open
ericlathrop opened this issue Aug 6, 2024 · 3 comments
Open

Can't add feed https://www.ap.org/feed/ #2783

ericlathrop opened this issue Aug 6, 2024 · 3 comments

Comments

@ericlathrop
Copy link

I'm trying to add https://www.ap.org/feed/ as a feed, but I get this error: Unable to parse this feed: parser: unable to detect feed format.

If I run curl https://www.ap.org/feed/ I see a normal RSS feed.

They do respond with a 301, even though the RSS is included. The 301 goes to a html page.

@wolfhechel
Copy link
Contributor

The parser would adhere to the HTTP specification and follow the redirect on to the HTML page, which fails to get parsed because it isn't an RSS feed. So it's not a miniflux bug.

I'd try to find some proxy that ignores location redirects, alternatively you could scrape the RSS with curl from a github action, republish it on pages and parse that feed instead. Regardless that's someting for the discussions section rather than an issue.

@fguillot
Copy link
Member

This website seems to be misconfigured or broken. Try with curl and you will see:

curl -v https://www.ap.org/feed/

< HTTP/2 301
< date: Sun, 18 Aug 2024 22:28:46 GMT
< content-type: application/rss+xml; charset=UTF-8
< content-length: 190936
< location: https://www.ap.org
< x-powered-by: WP Engine
....
[RSS feed]

This website reply a 301 that redirects to the homepage, but still send the XML feed in the request body.

Miniflux cannot do anything about it.

@pentago
Copy link

pentago commented Aug 27, 2024

Its APs nonsense. I jad to use rss.app to make a feed out of their site content. It worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants