RSS feed with links to relative URL(s)

While subscribing to e.g. http://www.bing.com/HPImageArchive.aspx?format=rss&idx=0&n=1&mkt=en-US (the official RSS feed for daily Bing images) You will notice that the image (linked in the RSS feed) will not be shown due to the item link and img part are having only relative URLs, like:

<link>
/th?id=OHR.GBRTurtle_EN-US9472992921_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp
</link>
<pubDate>Wed, 16 Jun 2021 00:00:00 G6T</pubDate>
<description>
<img height="280" src="/th?id=OHR.GBRTurtle_EN-US9472992921_1920x1080.jpg&amp;rf=LaDigue_1920x1080.jpg&amp;pid=hp" usemap="#map1" border="0"/><map name="map1"></map>
</description>

Can this be solved somehow?

NewsBlur does try to absolute-ify relative urls, but their feed doesn’t validate and they don’t provide the right link in their feed. I would send them this W3C RSS Validator link:

https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.bing.com%2FHPImageArchive.aspx%3Fformat%3Drss%26idx%3D0%26n%3D1%26mkt%3Den-US

1 Like

Thanks for the reply @samuelclay , You are absolute right that it’s not a valid RSS. (The fix would be in this case to add https://bing.com/ as the main domain prepending the link.)