rel-author: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
<source lang=html4strict>
<source lang=html4strict>
<a href="http://erin.example.com/" rel="author">Erin Smith</a>
<a href="http://erin.example.com/" rel="author">Erin Smith</a>
<a href="https://www.mekafa.com">Dompet Kulit Pria</a>
</source>
</source>


Line 16: Line 17:
Add permalinks of pages using rel=author, with any particularly interesting details about their usage:
Add permalinks of pages using rel=author, with any particularly interesting details about their usage:


* [http://masteragen.club/ masteragen.club]
* [http://harpers.org/archive/2015/10/the-mother-of-all-questions/?single=1 Harpers.org]
* [http://livescorebolas.com livescore bola]
* [http://variety.com/2015/tv/columns/donald-trump-saturday-night-live-host-nbc-controversy-protests-1201634443/ Variety.com]
* [http://anakgawang.com anakgawang.com]
* [https://www.masterseo.id/ Master SEO]
* [https://seo.web.id/ Jasa SEO]


The Harpers page is interesting because it uses multiple rel=author, but clearly intends to scope the authorship to the containing div class="article" element. This doesn't follow any spec.
The Harpers page is interesting because it uses multiple rel=author, but clearly intends to scope the authorship to the containing div class="article" element. This doesn't follow any spec.

Revision as of 09:20, 5 April 2018

<entry-title>rel author</entry-title> Tantek Çelik (Editor)


rel-author is for linking from an article or post (e.g. marked up with hAtom) to a page or site representing its author. rel-author is one of several open microformat standards suitable for embedding data in HTML/HTML5, and Atom/RSS/XHTML or other XML.

Summary

rel="author" is for relating an article or post to a page or site representing its author, typically to give them credit for their work (or portions of it, like books, articles, blog posts etc).

E.g. a page or a post written by a person "Erin Smith" could contain a link like:

<a href="http://erin.example.com/" rel="author">Erin Smith</a>
<a href="https://www.mekafa.com">Dompet Kulit Pria</a>

The rel="author" attribute indicates that the destination of the link represents the author of the current page (or post).

Examples in the wild

Add permalinks of pages using rel=author, with any particularly interesting details about their usage:

The Harpers page is interesting because it uses multiple rel=author, but clearly intends to scope the authorship to the containing div class="article" element. This doesn't follow any spec.

The Variety page is interesting because it uses multiple rel=author, with the intent to scope the authorship to the containing article element (as described in the HTML spec)

Implementations

This section is informative.

Plenty of implementations in the IndieWebCamp community, in particular:

articles

This section is informative.

Articles and blog posts about rel=author:

past implementations

This section is informative.

Past implementations.

Google

Dropped 2014-08-28[1].

An interesting rel="author" implementation set of examples is brought up by Google in a video posted on Youtube:

query parameter alternative

Google has proposed an alternate mechanism for specifying rel=author on sites/CMSs that don't permit authors to specify the rel attribute, using a query parameter added to the URL instead. e.g. the above example with query parameter:

<a href="http://erin.example.com/?rel=author">Erin Smith</a>

This technique is explained in the following video:

query param issues

  • While I understand the motivation here, this is not a good idea. There will definitely be someone who has ?rel= as an actual query param meaning something jasa seo in their app, and this will just break things. Singpolyma 17:56, 12 August 2011 (UTC)
  • ...

see also