We're currently missing support for some OpenGraph meta tags, and others like robots. We need to ensure those are supported prior to 1.0 release.

Missing or incomplete meta tags

Missing Open Graph meta tags

fb:app_id
og:latitude
og:longitude
og:street-address
og:locality
og:region
og:postal-code
og:country-name
og:email
og:phone_number
og:fax_number
og:points
og:video
og:video:width
og:video:height
og:video:type
og:audio
og:audio:title
og:audio:artist
og:audio:album
og:audio:type

Resources

Comments

DamienMcKenna’s picture

Shouldn't site verification tags be left to other modules like Site Verify?

DamienMcKenna’s picture

Issue summary:View changes

revised

Dave Reid’s picture

Probably. I'm trying to re-investigate this as this to see if this is something that can be done "easier" in Metatags now.

Dave Reid’s picture

Issue summary:View changes

Unclosed h3 tag

mgifford’s picture

Definitely looking for Dublin core from this module. From Nodewords - http://drupal.org/project/issues/nodewords?text=dublin&status=All

BenK’s picture

Just a quick note to say that's great that Facebook opengraph tags are being supported by Metatag... very cool! :-)

--Ben

dnotes’s picture

don't forget about fb:admins in this list - https://developers.facebook.com/docs/opengraph I believe

dnotes’s picture

I'm thinking about this problem specifically in relation to metatag_opengraph module; until all the tags are available, it just can't be a viable option for everyone.

The main problem I see is that supporting all those tags will make things complicated for most users, because there will be a lot of "extra" tags available. For the auto opengraph module, I addressed this by putting the "advanced" tags into a separate fieldset, but of course I'm expecting a better interface for Metatag, and I'd like to help with it. I have two ideas:

  1. Metatag opengraph could have an administrative page where specific opengraph tags could be selected by the site administrator for inclusion in the metatag UI; so for my music site, I could check all the audio tags, and then they would be provided under the node types, vocabularies, etc.
  2. Metatag opengraph could allow users to simply define new meta tags to be implemented. This would also help for tags that we forget about or that are undocumented, like og:isbn and og:locale. Since opengraph metatags all use the same handler (right? don't they?) this could also be on a metatag_opengraph administration page; however, it would be nice if metatag itself could provide the ui for this (see #1318182: Custom tags).

Theoretically, a combination of these two ideas could also work for the other tag sets, such as dublin core, etc.: a submodule could provide basic tags out of the box, and site administrators could customize for their own sites.

I'd be happy to code the first option and provide a patch if it seems like an idea worth trying.

BarisW’s picture

Dublin Core would be awesome!

mgifford’s picture

Looking at how Nodewords implements Dublin Core, seems like it's mostly in nodewords.api.php within these two functions:
hook_metatags_info()
hook_metatags_output_alter()

This is just from grepping around in it, but could be that this isn't so difficult to implement within Meta Tags.

tribe_of_dan’s picture

Could I also add og:locale to this list. The facebook URL linter is saying...

Warnings that should be fixed
Inferred Property The og:locale property should be explicitly provided, even if a value can be inferred from other tags.

anavarre’s picture

Version:» 7.x-1.x-dev

What about noydir ?

I think we could use ;

<meta name="robots" content="noodp, noydir" />

Instead of Open Directory Project only ?

<meta name="robots" content="noodp" />

BarisW’s picture

I have another project that needs Dublin Core integration. Can I take the OpenGraph submodule to base an Dublin Core submodule on?

Chris Charlton’s picture

I added a ticket for the Abstract META tag. http://drupal.org/node/1472412

Chris Charlton’s picture

Issue summary:View changes

Editing.

DamienMcKenna’s picture

Issue summary:View changes

Added a link to the Dublin Core tag.

BarisW’s picture

As a heads up, we're almost finished with writing a Dublin Core submodule. This code will be released soon.

mgifford’s picture

That's great news. Thanks @BarisW!

rooby’s picture

@BarisW:
Thanks for the heads up.
I was just this minute going to write that and luckily saw your comment.

Not being pushy but do you have a rough definition of "soon", eg. today / this week / next month?

Just due to deadlines it would be good to know if I should do my own for my own purposes anyway.

On the other hand if you want a tester you're welcome to send me your code :)

BarisW’s picture

Let's say within a week. We're almost done building it, but we want to tweak it a little bit more.
@mgifford: would you like to have a separate project or will it be added as separate module to this project?

mgifford’s picture

I think it would be fine to have this as a sub-module within this project.

DamienMcKenna’s picture

@BarisW: I'd like to include it in this module, thank you.

DamienMcKenna’s picture

Issue summary:View changes

Added links to other issues

BarisW’s picture

hass’s picture

I have the need to set ROBOTS to NOINDEX,NOFOLLOW as the site is in beta and should not crawled at all.

Scott M. Sanders’s picture

DamienMcKenna’s picture

Related issue for Nodewords/D6: #1568178: Update list of tags

remkovdz’s picture

Is a full option list of all meta tags already available? Thanks.

DamienMcKenna’s picture

I've been cataloging all supported meta tags on a wiki page: http://groups.drupal.org/node/229413

emergencyofstate’s picture

According to the wiki page above:

og:video:url
og:video:height
og:video:width
og:video:type

Are supported.

Although, I have 7.x-1.x-dev installed and cannot see these tags available.

I have these tags added in a "hacked" version of the module, I'd be happy to roll this into a patch.

DamienMcKenna’s picture

@emergencyofstate: The wiki page says those fields are available for Nodewords, not Metatag. Sorry.

emergencyofstate’s picture

@DamienMcKenna

Ok. I'm still confused because the wiki says:
"The following is a list of the officially supported meta tags for Nodewords (D6) and Meta tags (D7)"

Anyway, do you have an estimation or timeline for adding the og:video stuff to meta tags? Like I said, I'd be happy to provide a patch

DamienMcKenna’s picture

@emergencyofstate: the table shows which meta tags are supported in which module. There is a lot of parity, but we're not 100% there yet.

I'm not sure when I'll get to improving the OG support, but I'm always grateful for any patches people write :) Thanks.

DamienMcKenna’s picture

I've updated the wiki to note that Metatag now supports the Twitter Cards meta tags.

emergencyofstate’s picture

StatusFileSize
new1.97 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch metatag-7.x.1.x-added-ogvideo.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Here's a patch w/ og:video tags added.

Dustin Currie’s picture

StatusFileSize
new2.31 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch metatag-7.x.1.x-added-ogvideo-229413-31.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

The patch in #30 works for me.

Many users of Facebook use SSL-only. Some video services have different URL structures for HTTP and HTTPS links, so I've added og:video:secure_url

DamienMcKenna’s picture

Please move the patch for new OpenGraph meta tags to a new issue so this [meta] issue isn't taken over with actual code :)

Dustin Currie’s picture

Dustin Currie’s picture

Issue summary:View changes

Cleaned up the Resources section.

silverwing’s picture

Issue summary:View changes

Add link to missing and incomplete OG tags issue

akoe’s picture

Issue summary:View changes
StatusFileSize
new1.33 KB

A quick patch for geo tags as noted in http://en.wikipedia.org/wiki/Geotagging#HTML_pages

  • geo.position
  • geo.placename
  • geo.region

geo.position could probably use a implementation of interface DrupalMetaTagInterface (or a new class extending DrupalDefaultMetaTag)
to create a more specific value handling.

akoe’s picture

StatusFileSize
new1.11 KB
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch metatag-added-geo-tags-1278146-35.patch. Unable to apply patch. See the log in the details link for more information.
[ View ]

Cleaned last geo tags patch: removed wrong theme function from definition.

Manuel Garcia’s picture

Status:Active» Needs review

The last submitted patch, 30: metatag-7.x.1.x-added-ogvideo.patch, failed testing.

The last submitted patch, 31: metatag-7.x.1.x-added-ogvideo-229413-31.patch, failed testing.

Status:Needs review» Needs work

The last submitted patch, 35: metatag-added-geo-tags-1278146-35.patch, failed testing.

DamienMcKenna’s picture

Status:Needs work» Active

@akoe: Please open a new issue for the tags you want to add, lets leave this issue for planning. Thanks.

DamienMcKenna’s picture

Title:[META] Ensure all meta tags are supported» [META] Ensure all meta tags are supported (no patches, just planning)

Please don't add more patches to this issue. Thank you :)

DamienMcKenna’s picture

I've started #2493711: Add the geo and icbm meta tags for the geolocation tags.

DamienMcKenna’s picture

I've recreated akoe's patch in #2493711: Add the geo and icbm meta tags and added ICBM to it.

DamienMcKenna’s picture

Status:Active» Fixed

Going to close this. Please see the authoritative list of meta tags supported by Nodewords and Metatag: https://groups.drupal.org/node/229413

If there are any new meta tags you'd like to be added, please open a new issue.

Thank you.