rel-author: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
m (Replace <entry-title> with {{DISPLAYTITLE:}})
 
(26 intermediate revisions by 10 users not shown)
Line 1: Line 1:
HOW THING THROUGH
{{DISPLAYTITLE:rel author}}
HOW MAKE THING THROUGH
<span class="h-card">[[User:Tantek|Tantek Çelik]]</span> (Editor)
HOW THING BE THROUGH
----
HOW MAKE THING BE THROUGH
<dfn style="font-style:normal;font-weight:bold">rel-author</dfn> 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 [[microformats|microformat]] standards suitable for embedding data in HTML/HTML5, and Atom/RSS/XHTML or other XML.
HOW ANYTHING THROUGH
== Summary ==
HOW MAKE ANYTHING THROUGH
'''<code>rel=&quot;author&quot;</code>''' 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).
HOW ANYTHING BE THROUGH
 
HOW MAKE ANYTHING BE THROUGH
E.g. a page or a post written by a person "Erin Smith" could contain a link like:
HOW EVERYTHING THROUGH
<source lang=html4strict>
HOW MAKE EVERYTHING THROUGH
<a href="http://erin.example.com/" rel="author">Erin Smith</a>
HOW EVERYTHING BE THROUGH
</source>
HOW MAKE EVERYTHING BE THROUGH
 
HOW UNIVERSE THROUGH
The <code>rel="author"</code> attribute indicates that the destination of the link represents the author of the current page (or post).
HOW MAKE UNIVERSE THROUGH
 
HOW UNIVERSE BE THROUGH
== Examples in the wild ==
HOW MAKE UNIVERSE BE THROUGH
Add permalinks of articles (no homepages) using rel=author, with any particularly interesting details about their usage:
HOW THING OUT
 
HOW MAKE THING OUT
* [http://harpers.org/archive/2015/10/the-mother-of-all-questions/?single=1 Harpers.org]
HOW THING BE OUT
* [http://variety.com/2015/tv/columns/donald-trump-saturday-night-live-host-nbc-controversy-protests-1201634443/ Variety.com]
HOW MAKE THING BE OUT
 
HOW ANYTHING OUT
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.
HOW MAKE ANYTHING OUT
 
HOW ANYTHING BE OUT
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 [http://www.w3.org/TR/html/links.html#link-type-author HTML spec])
HOW MAKE ANYTHING BE OUT
 
HOW EVERYTHING OUT
(Any homepages added to these examples will be reverted, and the editing accounts banned.)
HOW MAKE EVERYTHING OUT
 
HOW EVERYTHING BE OUT
== Implementations ==
HOW MAKE EVERYTHING BE OUT
This section is '''informative'''.
HOW UNIVERSE OUT
 
HOW MAKE UNIVERSE OUT
Plenty of implementations in the IndieWebCamp community, in particular:
HOW UNIVERSE BE OUT
* The [https://indiewebcamp.com/authorship authorship algorithm] uses [[rel-author]].
HOW MAKE UNIVERSE BE OUT
 
HOW THING THROUGH
== articles ==
HOW MAKE THING THROUGH
This section is '''informative'''.
HOW THING BE THROUGH
 
HOW MAKE THING BE THROUGH
Articles and blog posts about rel=author:
HOW ANYTHING THROUGH
* 2013-08-20 http://moz.com/blog/google-plus-correlations
HOW MAKE ANYTHING THROUGH
* 2014-08-28 http://searchengineland.com/goodbye-google-authorship-201975
HOW ANYTHING BE THROUGH
 
HOW MAKE ANYTHING BE THROUGH
== past implementations ==
HOW EVERYTHING THROUGH
This section is '''informative'''.
HOW MAKE EVERYTHING THROUGH
 
HOW EVERYTHING BE THROUGH
Past implementations.
HOW MAKE EVERYTHING BE THROUGH
 
HOW UNIVERSE THROUGH
=== Google ===
HOW MAKE UNIVERSE THROUGH
'''Dropped 2014-08-28[http://searchengineland.com/goodbye-google-authorship-201975]'''.
HOW UNIVERSE BE THROUGH
 
HOW MAKE UNIVERSE BE THROUGH
An interesting rel=&quot;author&quot; implementation set of examples is brought up by Google in a video posted on Youtube:
HOW THING OUT
* [http://www.youtube.com/watch?v=FgFb6Y-UJUI Authorship markup video] and the respective [http://www.google.com/support/webmasters/bin/answer.py?answer=1229920 implementation procedure].
HOW MAKE THING OUT
 
HOW THING BE OUT
=== query parameter alternative ===
HOW MAKE THING BE OUT
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:
HOW ANYTHING OUT
 
HOW MAKE ANYTHING OUT
<source lang=html4strict>
HOW ANYTHING BE OUT
<a href="http://erin.example.com/?rel=author">Erin Smith</a>
HOW MAKE ANYTHING BE OUT
</source>
HOW EVERYTHING OUT
 
HOW MAKE EVERYTHING OUT
This technique is explained in the following video:
HOW EVERYTHING BE OUT
* [http://www.youtube.com/watch?v=gG3Oh7Ues8A Authorship markup using URL parameters video] and the [http://www.google.com/support/webmasters/bin/answer.py?answer=1408986 new implementation procedure] with the help of Google Profile (and hopefully, this type of implementation can be used on any other personal BIO page of respective author).
HOW MAKE EVERYTHING BE OUT
 
HOW UNIVERSE OUT
==== query param issues ====
HOW MAKE UNIVERSE OUT
<div class="discussion">
HOW UNIVERSE BE OUT
* 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 in their app, and this will just break things. [[User:Singpolyma|Singpolyma]] 17:56, 12 August 2011 (UTC)
HOW MAKE UNIVERSE BE OUT
* ...
</div>
 
== see also ==
* [[rel-author-issues]]
* [[hAtom]]
* [[hNews]]
* [[rel-faq]]
* [[rel-me]]
* [[existing-rel-values]]
 
[[Category:Draft Specifications]]

Latest revision as of 16:31, 18 July 2020

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>

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 articles (no homepages) 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)

(Any homepages added to these examples will be reverted, and the editing accounts banned.)

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 in their app, and this will just break things. Singpolyma 17:56, 12 August 2011 (UTC)
  • ...

see also