Re: Link Relations and languages

On Thu, Apr 16, 2009 at 08:03:57PM +0200, Thomas Broyer wrote:
> On Thu, Apr 16, 2009 at 3:18 PM, Noah Slater wrote:
> >
> > I could then map a HTML 4.01 <link> element like this:
> >
> >  <link rel="alternate" href="index.fr" hreflang="fr" lang="fr" title="Essais">
> >
> > To the following Link header:
> >
> >  Link: <index.fr>; rel="alternate"; hreflang="fr"; lang="fr"; title="Essais"
>
> Hmm, I'm just realizing that rel="alternate" really looks like a
> duplicate of the Alternates header defined in RFC 2295 (Alternates
> also has a "features" attribute, much like HTML has a media
> attribute):
> http://tools.ietf.org/html/rfc2295#section-8.3

It certainly covers the same area.

Link lets you specify titles as well as other arbitrary parameters though.

Link could also be useful when you don't want transparent conneg activating.

-- 
Noah Slater, http://tumbolia.org/nslater

Received on Thursday, 16 April 2009 18:21:31 UTC