Using Head Content as Schema.org Microdata for Google+


When one shares a resource using the +1 button, Google attempts to extract a page title, a description of the page and a thumbnail image from that resource.  This preview is then used on the Google+ post page (and one would think that the same extraction logic is used when linking to a page directly from Google+, but I have yet to verify this with testing).
According to Google's technical documentation for the +1 button, the data is extracted from the target URL in one of four ways, listed in order of precedence.
1.     Schema.org microdata
2.     Open Graph protocol
3.     Meta "title" and "description" tags
4.     Best guess from page content

<!-- Update your html tag to include the itemscope and itemtype attributes -->
<html itemscope itemtype="http://schema.org/LocalBusiness">

<!-- Add the following three tags inside head -->
<meta itemprop="name" content="title of your content">
<meta itemprop="description" content="description">
<meta itemprop="image" content="image url">

0 Comments