README.txt 1.5 KB

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