diffbot / rss-anything

Transform any old website with a list of links into an RSS Feed
MIT License
61 stars 3 forks source link

Feed validation recommendations via W3 #2

Closed infopetal closed 10 months ago

infopetal commented 10 months ago

I am trying to add an RSS feed created with RSS Anything to Slack, but I keep receiving the error "Error fetching RSS feed." Their help page suggests to try validating the feed at http://validator.w3.org/feed/, and I tried two different RSS Anything–generated feeds from two different sites and received the same error:

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

line 2, column 446: Email address is missing real name [[help](https://validator.w3.org/feed/docs/warning/MissingRealName.html)]

... dDate><managingEditor>jerome@diffbot.com</managingEditor><item><title>Cl ...
                                             ^
line 32, column 1494: Missing atom:link with rel="self" [[help](https://validator.w3.org/feed/docs/warning/MissingAtomSelfLink.html)]

... 87f-497a-aabd-14947547d850</guid></item></channel></rss>

Are these recommendations possible to implement? Any other insights would be welcome!

With gratitude, Karly

jeromechoo commented 10 months ago

Hey Karly, thanks for submitting this issue. I've made the changes requested from W3C and verified that it passes W3C with this commit: https://github.com/diffbot/rss-anything/commit/7702579a6cc361ecc02b29cad35fb80d9a64f863

That said, I'm doubtful that these details are what is causing the RSS feed on Slack to fail. I can't test the RSS integration on my Slack, but I did find this other similar Github issue that cites these potential reasons:

I suspect that it may be due to duplicate dates. I'm not sure what page you're trying to RSSify, but if two posts in the feed has the same date (without a timestamp), it might be the cause.

RSS Anything does support full timestamps, but only if the source also includes it. If it doesn't, there's not much I can do.

infopetal commented 10 months ago

Thank you for the quick response, @jeromechoo! I tried generating and adding my feed to Slack again, and it worked this time, despite duplicate dates existing. I'll be curious to see if/how well it posts to Slack knowing the limitations you found on the other GitHub issue. Whether or not the feed works in Slack in the long run, I've been able to follow RSS Anything feeds in my RSS reader successfully for several weeks and am very grateful for your creating and maintaining it.

jeromechoo commented 10 months ago

@infopetal You're very welcome! Pumped to hear it worked this time.