Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
See http://www.google.com/support/webmasters/bin/answer.py?answer=1708844
Add support for <link rel="publisher" href="https://plus.google.com/[yourpageID]" />
Comment | File | Size | Author |
---|---|---|---|
#12 | metatag-n1343914-12.patch | 2.09 KB | DamienMcKenna |
| |||
#10 | metatag-n1343914-9.patch | 2.28 KB | DamienMcKenna |
| |||
#7 | metatag-n1343914-5.patch | 2.98 KB | DamienMcKenna |
Comments
Comment #1
Dave ReidFixed with http://drupalcode.org/project/metatag.git/commit/8490b85
Comment #3
DamienMcKennaNeeds to be ported to D8.
Comment #4
DamienMcKennaI wonder if this should be moved into the Google Plus submodule instead of being part of the main module? Hrm.
Comment #5
DamienMcKennaThis adds it as a Google Plus meta tag.
What do you think Dave? Put it in the Google Plus submodule and then update the D7 branch, or put it in the main branch even though it's really only for Google Plus?
Comment #7
DamienMcKennaCommitted.
Comment #8
DamienMcKennaNeed to move the meta tag to the Google Plus submodule on the D7 branch too.
Comment #9
DamienMcKennaComment #10
DamienMcKennaFor consideration.
Comment #11
DamienMcKennaWant to get this into the next release so that it matches the D8 branch.
Comment #12
DamienMcKennaRerolled.
Comment #14
DamienMcKennaComment #17
DamienMcKennaCommitted.
Comment #19
tr-drupal CreditAttribution: tr-drupal commentedHello,
before the update to metatag-7.x-1.18 the publisher entry looked like this:
<link rel="publisher" href="https://plus.google.com/our_profile/" />
after the update it looks like this:
<link itemprop="" content="https://plus.google.com/our_profile/" />
Is this correct?
I've seen the hint about editing the html.tpl.php of the theme. I had to ask the author of the theme, because the example in the readme.txt of the google+ submodule looked differently.
In the theme it looked like this:
and according to the author it should be like this now:
I've made the change, but there wasn't any change in the resulting display of the publisher tag. It sill look as mentioned above, which doesn't look correctly to me, because the readme.txt of the Google+ submodule says:
and none of these is set in my case.
Any idea what is going wrong?
Comment #20
DamienMcKennaThere's a fix in the current -dev release for this bug, it'll be in the next stable release.
Comment #21
tr-drupal CreditAttribution: tr-drupal commentedI've installed the version "metatag-7.x-1.19" now and am wondering, if it's correct, that the publisher entry looks as it did before the update to "metatag-7.x-1.18", i.e.:
<link rel="publisher" href="https://plus.google.com/our_profile/" />
I thought it should looke like this now, after it was moved to the Google+ sub-module:
<link itemprop="name" content="https://plus.google.com/our_profile/" />
i.e. that the update would fix the missing itemprop tag.
Just want to be sure, if the first code is correct or not.
Comment #22
DamienMcKenna@tr-drupal: No, you still use the "Publisher" meta tag, it was just moved to the "Google+" group instead of the "Advanced" group, and its output is exactly the same as it used to be (excluding the bug in 1.18 where it was broken).