From IndieWeb
(Redirected from rel=alternate)

rel=alternate is a way to indicate that a hyperlink links to an alternate representation of the current page. See:

In particular, in regard to linking to translations, see:

IndieWeb Examples

Aaron Parecki

As of 2018-07-29, Aaron Parecki's post permalinks have a rel=alternate link to alternative representations in Microformats JSON, jf2, and ActivityStreams 2.0 formats.

For example, the page at includes the following in the HTML <head>:

<link rel="alternate" type="application/mf2+json" 
      href="" />
<link rel="alternate" type="application/jf2+json" 
      href="" />
<link rel="alternate" type="application/activity+json" 
      href="" />

These alternative URLs for the post return the post in the specified formats. The Microformats JSON and jf2 URLs are generated automatically by running the generated HTML through a Microformats parser and XRay and returning the parsed result instead of the HTML.

See Also