README.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. Metatag: Google+
  2. ----------------
  3. This module adds support for meta tag configuration for Google+ Snippet [1].
  4. The following Google+ tags are provided:
  5. * itemprop:name
  6. * itemprop:description
  7. * itemprop:image
  8. * author
  9. * publisher
  10. Also itemtype is provided to add schema in the HTML markup as follows:
  11. <html itemscope itemtype="http://schema.org/Article">
  12. Usage
  13. --------------------------------------------------------------------------------
  14. Page type (itemtype) provides default type options from the Google+ Snippet page
  15. [1]; to add other types either install select_or_other module [2] or use the
  16. Metatag hooks (see metatag.api.php).
  17. Installation
  18. --------------------------------------------------------------------------------
  19. The $schemaorg variable must be appended to the <html> tag in the html.tpl.php
  20. file being used on the site, and it must be added after the $rdf_namespaces
  21. variable, e.g.:
  22. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print
  23. $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print
  24. $language->dir; ?>"<?php print $rdf_namespaces; ?><?php print $schemaorg; ?>>
  25. Credits / Contact
  26. --------------------------------------------------------------------------------
  27. Originally developed by Eric Chen [3] and sponsored by Monkii [4].
  28. References
  29. --------------------------------------------------------------------------------
  30. 1: https://developers.google.com/+/web/snippet/
  31. 2. https://drupal.org/project/select_or_other
  32. 3: https://drupal.org/user/265729
  33. 4: http://monkii.com