w3c / feedvalidator

W3C-customized version of the feedvalidator (forked from https://github.com/rubys/feedvalidator/)
Other
83 stars 38 forks source link

ContainsRelRef should not be triggered by anchor links #47

Open Seirdy opened 3 years ago

Seirdy commented 3 years ago

The docs state that relative URLs cannot be fetched by some feed readers that might look for filesystem paths rather than web resources.

Anchor URLs should be acceptable since they should just refer to locations in the current document. Example:

Jump to the <a href="#tldr">TLDR</a> at the bottom.

(I wanted to start a discussion about whether this is a good idea, but all the URLs to the mailing lists in the docs are dead).

dontcallmedom commented 3 years ago

have you been able to check if RSS readers in practice are able to follow this in-document links, and under what constraints?

I see some recent discussion with regard to support for relative links in RSS/Atom https://www.jessesquires.com/blog/2021/06/06/rss-feeds-jekyll-and-absolute-versus-relative-urls/ (in general, not just anchors)