Thursday, April 23, 2009

Linking Resources without HTML, XHTML, Atom...

In HTML you can link to alternative versions of your HTML using the link tag:
<link rel="alternate" type="application/rss+xml" title="RSS Feed"
href="report.rss" />

There is a way to do linking just using HTTP through the LINK header (as seen in POWDER. It looks very similar but is more powerful, from the IETF draf document:

Link: <>; rel="index start";
rel="" rev=copyright

Defines 4 links for, three outbound (index, start and and one inbound (copyright).

More information: HTTP Status Report and LinkHeader.
Post a Comment