All you early adopters, pay attention. The LINK tag for pointing to a page’s RSS feed is changing (just once, and then solidifying forever). Both the type and title attributes are changing to be more specific. The new syntax is this:
<link rel="alternate" type="application/rss+xml" title="RSS" href="url/to/rss/file">
If you installed the Radio auto-subscribe bookmarklet or the Amphetadesk auto-subscribe bookmarklet, please visit those links and install the new version.
If you updated your template over the weekend to include the old LINK tag, please update it once more to include the new one. (Kudos to Simon Fell for implementing this within minutes of this announcement.)
This change comes in response to (valid) criticism that the old way was too general, and could cause confusion if, in the future, there were other XML-based formats that pages wanted to link to. Using a more specific MIME type (the exact type was suggested by Dan Brickley) solves this potential problem, and the more specific title goes along with it.
Current implementations:
Implementation notes (for those writing tools that look for the LINK tag):
rel="alternate" and type="application/rss+xml" defines this as a link to an RSS file.href="/index.xml" is a valid construction. This is consistent with other HTML constructs.On an XHTML page, the final bracket will have a space and a forward slash before it. Don’t let this confuse you. Example:
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://diveintomark.org/xml/rss.xml" />
Tips for site authors:
Thank you to everyone who has been working on making this come together in the past few days. It has been surprisingly painless and friction-free. Together, we have come up with a new standard that is useful, elegant, forward-thinking, and widely implemented. In 4 days.
§
I am no longer accepting public comments on this post, but you can use this form to contact me privately. (Your message will not be published.)
§
© 2001–9 Mark Pilgrim