Relative href value on self link


Link elements with a rel="self" attribute were originally designed to enable One Click Subscriptions. In particular, they were designed to enable user agents to find the original feed long after it had been fetched and the memory of the original URI used to fetch the feed has been forgotten, as may occur when a browser hands a feed off to an aggregator.

Of course, this only works if the link can be resolved to an absolute URI using only the information contained within the feed itself.

Here are a few links to prior discussions on the topic:


Either make the value of the href attribute on this link an absolute IRI, or add an xml:base attribute with a absolute IRI as its value on either this, or any enclosing, element.

Not clear? Disagree?

You might be able to find help in one of these fine resources.

Copyright © 2002-4 Mark Pilgrim and Sam Ruby