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.
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
- #1281104: Support the Robots meta tag
- #1498760: Add new meta tag: Expires (D7)
- #1498762: Add new meta tag: Rating
- #1498764: Add new meta tag: Revisit-After (D7)
- #1491616: Add new meta tag: Dublin Core
- #1472412: Add new meta tag: Abstract
- #1278132: Add new meta tags: POWDER meta tags
- #1365840: Update Open Graph tags, e.g. Image not working with Facebook Like Button
- #1900434: Improve support for Open Graph meta tags (video & location & contact)
- Any search engine specific meta or verification tags
- Geo 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
- http://en.wikipedia.org/wiki/Meta_element
- http://www.google.com/support/webmasters/bin/answer.py?answer=79812
- http://developers.facebook.com/docs/opengraph/
- http://en.wikipedia.org/wiki/Dublin_Core
- http://en.wikipedia.org/wiki/Geotagging#HTML_pages
- http://wiki.whatwg.org/wiki/MetaExtensions - official WHAT-WT WIKI page.
- http://www.metatags.org/ - commercial site with lots of information about meta tags.
Comment | File | Size | Author |
---|
Comments
Comment #1
DamienMcKennaShouldn't site verification tags be left to other modules like Site Verify?
Comment #1.0
DamienMcKennarevised
Comment #2
Dave ReidProbably. I'm trying to re-investigate this as this to see if this is something that can be done "easier" in Metatags now.
Comment #2.0
Dave ReidUnclosed h3 tag
Comment #3
mgiffordDefinitely looking for Dublin core from this module. From Nodewords - http://drupal.org/project/issues/nodewords?text=dublin&status=All
Comment #4
BenK CreditAttribution: BenK commentedJust a quick note to say that's great that Facebook opengraph tags are being supported by Metatag... very cool! :-)
--Ben
Comment #5
dnotes CreditAttribution: dnotes commenteddon't forget about fb:admins in this list - https://developers.facebook.com/docs/opengraph I believe
Comment #6
dnotes CreditAttribution: dnotes commentedI'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:
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.
Comment #7
BarisW CreditAttribution: BarisW commentedDublin Core would be awesome!
Comment #8
mgiffordLooking 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.
Comment #9
tribe_of_dan CreditAttribution: tribe_of_dan commentedCould 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.
Comment #10
anavarreWhat about noydir ?
I think we could use ;
<meta name="robots" content="noodp, noydir" />
Instead of Open Directory Project only ?
<meta name="robots" content="noodp" />
Comment #11
BarisW CreditAttribution: BarisW commentedI have another project that needs Dublin Core integration. Can I take the OpenGraph submodule to base an Dublin Core submodule on?
Comment #12
Chris CharltonI added a ticket for the Abstract META tag. http://drupal.org/node/1472412
Comment #12.0
Chris CharltonEditing.
Comment #12.1
DamienMcKennaAdded a link to the Dublin Core tag.
Comment #13
BarisW CreditAttribution: BarisW commentedAs a heads up, we're almost finished with writing a Dublin Core submodule. This code will be released soon.
Comment #14
mgiffordThat's great news. Thanks @BarisW!
Comment #15
rooby CreditAttribution: rooby commented@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 :)
Comment #16
BarisW CreditAttribution: BarisW commentedLet'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?
Comment #17
mgiffordI think it would be fine to have this as a sub-module within this project.
Comment #18
DamienMcKenna@BarisW: I'd like to include it in this module, thank you.
Comment #18.0
DamienMcKennaAdded links to other issues
Comment #19
BarisW CreditAttribution: BarisW commented@rooby: see http://drupal.org/node/1491616#comment-5796980
Comment #20
hass CreditAttribution: hass commentedI have the need to set ROBOTS to NOINDEX,NOFOLLOW as the site is in beta and should not crawled at all.
Comment #21
Scott M. Sanders CreditAttribution: Scott M. Sanders commentedAll of these: http://www.w3schools.com/tags/att_meta_name.asp
Comment #22
DamienMcKennaRelated issue for Nodewords/D6: #1568178: Update list of tags
Comment #23
remkovdz CreditAttribution: remkovdz commentedIs a full option list of all meta tags already available? Thanks.
Comment #24
DamienMcKennaI've been cataloging all supported meta tags on a wiki page: http://groups.drupal.org/node/229413
Comment #25
emergencyofstate CreditAttribution: emergencyofstate commentedAccording 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.
Comment #26
DamienMcKenna@emergencyofstate: The wiki page says those fields are available for Nodewords, not Metatag. Sorry.
Comment #27
emergencyofstate CreditAttribution: emergencyofstate commented@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
Comment #28
DamienMcKenna@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.
Comment #29
DamienMcKennaI've updated the wiki to note that Metatag now supports the Twitter Cards meta tags.
Comment #30
emergencyofstate CreditAttribution: emergencyofstate commentedHere's a patch w/ og:video tags added.
Comment #31
Dustin Currie CreditAttribution: Dustin Currie commentedThe 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
Comment #32
DamienMcKennaPlease move the patch for new OpenGraph meta tags to a new issue so this [meta] issue isn't taken over with actual code :)
Comment #33
Dustin Currie CreditAttribution: Dustin Currie commentedSee #1900434: Improve support for Open Graph meta tags (video & location & contact)
Comment #33.0
Dustin Currie CreditAttribution: Dustin Currie commentedCleaned up the Resources section.
Comment #33.1
silverwing CreditAttribution: silverwing commentedAdd link to missing and incomplete OG tags issue
Comment #34
akoe CreditAttribution: akoe commentedA quick patch for geo tags as noted in http://en.wikipedia.org/wiki/Geotagging#HTML_pages
geo.position could probably use a implementation of interface
DrupalMetaTagInterface
(or a new class extendingDrupalDefaultMetaTag
)to create a more specific value handling.
Comment #35
akoe CreditAttribution: akoe commentedCleaned last geo tags patch: removed wrong theme function from definition.
Comment #36
Manuel Garcia CreditAttribution: Manuel Garcia as a volunteer commentedComment #40
DamienMcKenna@akoe: Please open a new issue for the tags you want to add, lets leave this issue for planning. Thanks.
Comment #41
DamienMcKennaPlease don't add more patches to this issue. Thank you :)
Comment #42
DamienMcKennaI've started #2493711: Add the geo and icbm meta tags for the geolocation tags.
Comment #43
DamienMcKennaI've recreated akoe's patch in #2493711: Add the geo and icbm meta tags and added ICBM to it.
Comment #44
DamienMcKennaGoing 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.