FreederTeam / Freeder

An easy-to-use free feed reader
Other
5 stars 1 forks source link

Rewrite relative links in entries #98

Open eliemichel opened 9 years ago

eliemichel commented 9 years ago

When entries contain relative hrefs, they are prefixed by the browser with the path of Freeder instead of the original URL. It is usually used for images or internal links.

Phyks commented 9 years ago

According to the spec, there should not be relative links in articles in feeds, if I remember correctly. So this behaviour is unspecified by the spec, and we should discuss about it and whether we should rewrite or not.

Phyks commented 9 years ago

My bad, only self link cannot be relative. We can then rewrite them using the link of the feed.

eliemichel commented 9 years ago

A use case for relative link is for anchors, e.g. htref="#foobar".