Skip to content

PicoFeed turns relative links in RSS feeds absolute …

PicoFeed turns relative links in RSS feeds absolute by prepending them with either the site or feed URL, but a whole lot of feeds—incorrectly, kind of—contain in-page (“jump”) links that are relative to feed items. While feeds that are meant to be read on “off-site” domains should probably not contain relative URLs at all, the latter seems much more common than the (more technically correct) former. Forked and “fixed.”

Replies

  1. Jan Boddez on

    One remaining issue is with entry URLs that don’t end in a slash. While relative image URLs work great, PicoFeed, it seems, will base jump links on the nearest “folder,” i.e., one level “up” (the path). Makes sense, but not for fragment URLs.

    Via jan.boddez.net, in reply to PicoFeed turns relative links in RSS feeds absolute ….