[Users] [Bug 3771] RSSyl plugin does not understand relative URL in item's <link> tag

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Wed Feb 15 18:53:51 CET 2017


--- Comment #1 from Andrej Kacian <andrej at kacian.sk> ---
It would be nice to have something solid to determine the base URI. However,
after a brief research, this particular github feed doesn't give us much to
work with:

Atom specification[1] mentions that xml:base W3C recommendation[2] may be used
to resolve such relative URIs.
The xml:base document mentions a "xml:base" element for this purpose, but your
github feed does not contain this element.
It further mentions RFC3986[3] as fallback, but again, this does not give us
anything concrete.

The ultimate fallback is mentioned on several places, to use the retrieval URI
as a base URI, but
doesn't look correct.

I'll be happy to add relative URI resolving to RSSyl, but I'm afraid it
wouldn't help you in this particular case anyway.

The base URI in this case is obviously "https://github.com", but the feed
doesn't bother to specify it in any way, so whatever guesswork we add based on
this feed might not work at all on the next feed.

1. http://atomenabled.org/developers/syndication/#whatIsAtom
2. https://www.w3.org/TR/xmlbase/
3. https://tools.ietf.org/html/rfc3986

You are receiving this mail because:
You are the assignee for the bug.

More information about the Users mailing list