This metatag can be useful for letting google know that you are the author of a post which helps add your image next to the result in a SERP and can also (potentially) affect rankings.

#1278146: [META] Ensure all meta tags are supported (no patches, just planning) doesn't mention author, but I feel like it should be included in the core package.

Luckily, y'all are brilliant so it is easy to add this.

Some background:
http://support.google.com/webmasters/bin/answer.py?hl=en&answer=1408986
http://yoast.com/push-rel-author-head/

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

greggles’s picture

Status: Active » Needs review
FileSize
433 bytes
DamienMcKenna’s picture

Status: Needs review » Needs work

@greggles: Nice 'n simple, thanks. That said, it could use a better description.

DamienMcKenna’s picture

Status: Needs work » Needs review
FileSize
615 bytes

@greggles: is this description ok?

greggles’s picture

FileSize
610 bytes

Slight change for grammar and to avoid the use of the escaping \ in the string. I think the \ in a string is frustrating to translators so I switched to using " to enclose the string which is just as performant in modern versions of PHP.

DamienMcKenna’s picture

Status: Needs review » Fixed

Looks good. Committed! Thanks greggles.

DamienMcKenna’s picture

I've just added a corresponding issue for Nodewords to add this new tag: #1866922: Add support for the rel=author meta tag

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

gillesbailleux’s picture

Hi,

As this [very useful] patch works for the development release, I was just wondering if it will be ported to the next recommended release [7.x-1.0-beta5 or so].

Regards,

Gilles

DamienMcKenna’s picture

@Gilles: The patch has already been committed, it's already in the dev version thus will be in the next release.

lsolesen’s picture

Looks great, but how should it be used when more people are authors on the site?

gillesbailleux’s picture

@DamienMcKenna: many thanks for the 7.x-1.0-beta5 release including the rel=author link meta tag!

DamienMcKenna’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
Issue summary: View changes
Status: Closed (fixed) » Patch (to be ported)

Needs to be ported to D8.

DamienMcKenna’s picture

Status: Patch (to be ported) » Needs review
Parent issue: » #2741339: Plan for Metatag 8.x-1.0-beta10 release
FileSize
2.19 KB

This adds the tag to 8.x-1.x.

  • DamienMcKenna committed 0273ead on 8.x-1.x
    Issue #1865228 by DamienMcKenna, greggles: Added the Author meta tag.
    
DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

DamienMcKenna’s picture

Version: 8.x-1.x-dev » 7.x-1.x-dev
Status: Fixed » Patch (to be ported)
Related issues: +#2758749: Plan for Metatag 7.x-1.18 release

This was moved to the Google Plus submodule for D8, so need to backport that for D7.

DamienMcKenna’s picture

Status: Patch (to be ported) » Needs review
FileSize
2.8 KB

Lets see if this works.

  • DamienMcKenna committed ee5548d on 7.x-1.x
    Issue #1865228 by DamienMcKenna: Moved Author meta tag to GooglePlus...
DamienMcKenna’s picture

Version: 7.x-1.x-dev » 8.x-1.x-dev
FileSize
3.79 KB

So the D8 version wasn't moved to the submodule after all. Now it is.

Status: Needs review » Needs work

The last submitted patch, 19: metatag-n1865228-19.patch, failed testing.

DamienMcKenna’s picture

Status: Needs work » Needs review
FileSize
373 bytes

This should fix those errors.

DamienMcKenna’s picture

  • DamienMcKenna committed 8d8b7ad on 8.x-1.x
    Issue #1865228 by DamienMcKenna: Moved the Author meta tag into the...
DamienMcKenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.