Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Some valid atom and rss feeds are not recognized #187

Open
heyakyra opened this issue Jun 9, 2017 · 5 comments
Open

Some valid atom and rss feeds are not recognized #187

heyakyra opened this issue Jun 9, 2017 · 5 comments
Projects

Comments

@heyakyra
Copy link

heyakyra commented Jun 9, 2017

This atom feed is valid:

https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.qdep.org%2Ffeed%2Fatom%2F

but returns this error:

HTTP 500: Failed to register service: Failed to read URL http://www.qdep.org/feed/atom/: Failed to detect feed type

This rss feed seems to also be valid:

https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.qdep.org%2Ffeed%2F

but returns the same error

@kegsay
Copy link
Member

kegsay commented Jul 13, 2017

We use https://github.com/mmcdole/gofeed to parse Atom/RSS feeds. I'll bring it up with them.

@mmcdole
Copy link

mmcdole commented Jul 17, 2017

I discussed this in more detail in mmcdole/gofeed#75 but, just wanted to circle back here.

It would appear that the server in question is behind an Incapsula WAF, and their security settings are blocking both 'curl' requests, and requests made by golang's http.client (with it's default settings / user agent).

@kegsay
Copy link
Member

kegsay commented Jul 18, 2017

As @mmcdole states, it looks like this site is doing User-Agent sniffing and rejecting bots. We actually set our own User-Agent already sooo.. I don't think there's much we can do about this.

@heyakyra
Copy link
Author

Than's for the update. Would this also be the reason that a Feedburner version of the feed gets rejected as well? At first the feed is accepted as valid, but come to check back on it later, and it has a red error icon next to it: https://feeds.feedburner.com/QueerDetaineeEmpowermentProject

This also happens if you include the feed type as well, such as https://feeds.feedburner.com/QueerDetaineeEmpowermentProject?format=atom

@kegsay kegsay added this to To do in RSS Apr 8, 2020
@paboum
Copy link

paboum commented Dec 5, 2022

Also doesn't work for:
https://github.com/matrix-org/go-neb/commits/master.atom

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
RSS
  
To do
Development

No branches or pull requests

4 participants