RSS 2.0
<link>
The URL of the site, or of an item — and, in RSS, an element whose text content is the URL rather than an href attribute.
RSS predates the convention Atom follows: here <link> holds the URL as text, with no attributes at all. That difference is the single most common bug when converting a feed between the two formats, because an Atom <link> carries its URL in href and has no text content.
On an item, <link> doubles as an identifier when no <guid> is present, which is why a feed with neither leaves readers unable to tell a new item from one they have shown before.
What our validator does
Required on the channel and reported when missing. On items it is read as a fallback identifier when no <guid> is present.
Broken and fixed
Both documents below are well-formed XML — that is the point of this corpus — and both are run through the validator on every test run. The verdicts here are what it returned, not what we expect it to.
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Example</title>
<description>Notes from the example farm.</description>
<item><title>Hen lays egg</title></item>
</channel>
</rss><channel> is missing the required <link>.<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Example</title>
<link>https://example.com/</link>
<description>Notes from the example farm.</description>
<atom:link href="https://example.com/feed.xml" rel="self" type="application/rss+xml"/>
<item>
<title>Hen lays egg</title>
<link>https://example.com/egg</link>
<guid>https://example.com/egg</guid>
<pubDate>Mon, 10 Aug 2026 09:00:00 GMT</pubDate>
</item>
</channel>
</rss>Where it reaches
- Parse errorsEntity is not definedWhat an unescaped & in a link URL produces.
- ToolsXML escape & unescapeEscapes a URL so it survives as element text.
Related elements
- <channel>The feed itself: three required children — title, link and description — and every item beneath them.
- <guid>An item's permanent identifier. Readers use it to tell a new item from one already shown — and a feed that changes it republishes everything.
- <link>A typed reference from a feed or entry to somewhere else — an empty element whose URL is in href, unlike RSS's <link>.
Get started
Bring order to the XML your team can't afford to ignore.
Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.