{"id":568,"date":"2011-07-29T07:23:30","date_gmt":"2011-07-29T15:23:30","guid":{"rendered":"https:\/\/www.laaker.com\/micah\/?p=568"},"modified":"2011-08-24T10:34:49","modified_gmt":"2011-08-24T18:34:49","slug":"optimizing-your-site-for-google-plus","status":"publish","type":"post","link":"https:\/\/www.laaker.com\/micah\/blog\/2011\/optimizing-your-site-for-google-plus","title":{"rendered":"Optimizing your site for Google+"},"content":{"rendered":"<p><a href=\"https:\/\/plus.google.com\/105330516239590931670\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.laaker.com\/micah\/wpcontent\/uploads\/2011\/07\/google-plus.png\" alt=\"Google+\" title=\"Google+\" width=\"120\" height=\"120\" class=\"alignleft size-full wp-image-591\" style=\"padding-right: 15px; padding-bottom: 15px;\" align=\"left\" \/><\/a> When Google rolled out Google+ a couple weeks ago, being the fanboy that I am (according to others), I quickly set up <a href=\"https:\/\/plus.google.com\/105330516239590931670\" rel=\"me\">my profile<\/a>. And then, being the self-promoter that I am (according to myself), I began trying to optimize my site content for sharing within the service. <\/p>\n<p>Having spent time earlier this year on optimizing the <a href=\"http:\/\/graphicly.com\/\">Graphicly site<\/a> (and my own) for Facebook&#8217;s <a href=\"http:\/\/ogp.me\/\">Open Graph protocol<\/a>, I hoped that Google+ would take advantage of this existing code infrastructure. Sure enough, Open Graph markup comes over relatively smoothly, but there were a couple surprises that I figured warranted a more detailed write-up.<\/p>\n<p>First, you should note that there are currently 2 means of 3rd-party site content showing up in Google+:<\/p>\n<ol>\n<li>a Google+ Stream post with a shared link, or<\/li>\n<li>a Google+ +1 post.<\/li>\n<\/ol>\n<p>So, how do these two posts work, and how do you get your content optimized as such? (Of course, I should note, there is the expected <a href=\"http:\/\/code.google.com\/apis\/+1button\/\">detailed API docs from Google for implementing the +1 button<\/a>, but no information currently within on how to structure your information for best results in Google+.)<\/p>\n<p><strong>Anatomy of a Google+ Stream Post<\/strong> <\/p>\n<p>The standard view in Google+ is that of the Stream. (It&#8217;s somewhat akin to Facebook&#8217;s news feed or Twitter&#8217;s Timeline.) While it&#8217;s contents are not as complex in structure as Facebook&#8217;s, you can attach a link to any comment, which then loads a preview beneath the post. Said post is constructed as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.laaker.com\/micah\/wpcontent\/uploads\/2011\/07\/google-anatomy-streampost2.png\" alt=\"Stream post on Google+\" title=\"Stream post on Google+\" width=\"400\" height=\"118\" class=\"alignnone size-full wp-image-573\" \/><\/p>\n<p><font style=\"font-weight: bold; color: #FF00FF;\">A.<\/font> <font style=\"font-weight: bold;\">Favicon<\/font> is the 16&#215;16-pixel graphical icon hosted at yoursite.com\/favicon.ico (or whatever is specified in your site&#8217;s <code>&lt;link rel=\"shortcut icon\" ... \/&gt;<\/code> element).<\/p>\n<p><font style=\"font-weight: bold; color: #FF00FF;\">B.<\/font> <font style=\"font-weight: bold;\">Object Title<\/font> is generally the name of your page, and is originated from the <code>&lt;meta property=\"og:title\" ... \/&gt;<\/code> element first, and the <code>&lt;title ... \/&gt;<\/code> element if no such meta element exists.<\/p>\n<p><font style=\"font-weight: bold; color: #FF00FF;\">C.<\/font> <font style=\"font-weight: bold;\">Image<\/font> is the display of the content designated in the  <code>&lt;meta property=\"og:image\" ... \/&gt;<\/code> element. <em>Important note: <\/em>only images that are 101px or greater in width and 120px or greater in height will appear; if your image is smaller in dimension, the image will not be considered for the post and the Description text will fill the entire width of the post.<\/p>\n<p><font style=\"font-weight: bold; color: #FF00FF;\">D.<\/font> <font style=\"font-weight: bold;\">Description<\/font> is the content specified in your site&#8217;s <code>&lt;meta property=\"og:description\"  ... \/&gt;<\/code> element first, and the <code>&lt;meta name=\"description\" ... \/&gt;<\/code> element if no such <code>meta<\/code> element exists. The description is capped at 201 characters, after which an ellipsis is added to suggest additional content not shown. <\/p>\n<p><strong>Anatomy of a Google+ +1 Post<\/strong><br \/>\nA +1 post is unfortunately somewhat buried in Google+; users who click on a user&#8217;s profile can then click on their &#8220;+1&#8217;s&#8221; tab (when available, to the right of the main profile photo and beneath the user&#8217;s name) to see what content they&#8217;ve &#8220;big upped.&#8221; The post is largely similar in content to the Stream post, but somewhat different in terms of display.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.laaker.com\/micah\/wpcontent\/uploads\/2011\/07\/google-anatomy-plusone.png\" alt=\"+1 Post\" title=\"+1 Post\" width=\"400\" height=\"67\" class=\"size-full wp-image-571\" \/><\/p>\n<p><font style=\"font-weight: bold; color: #FF00FF;\">A.<\/font> <font style=\"font-weight: bold;\">Image<\/font> is the display of the content designated in the  <code>&lt;meta property=\"og:image\" ... \/&gt;<\/code> element. <em>Important note: <\/em>only images that are 101px or greater in width and 120px or greater in height will appear; if your image is smaller in dimension, the image will not be considered for the post and the Description text will fill the entire width of the post.<\/p>\n<p><font style=\"font-weight: bold; color: #FF00FF;\">B.<\/font> <font style=\"font-weight: bold;\">Object Title<\/font> is generally the name of your page, and is originated from the <code>&lt;meta property=\"og:title\" ... \/&gt;<\/code> element first, and the <code>&lt;title ... \/&gt;<\/code> element if no such meta element exists.<\/p>\n<p><font style=\"font-weight: bold; color: #FF00FF;\">C.<\/font> <font style=\"font-weight: bold;\">Site URL<\/font> is the second- (and, when relevant, third-_ level domain of your site. It&#8217;s inclusion in the display is somewhat odd given its visual prominence via color and its lack of precision (not the full URL to the +1&#8217;d object), but it appears to be a throwback to Google&#8217;s search results display.<\/p>\n<p><font style=\"font-weight: bold; color: #FF00FF;\">D.<\/font> <font style=\"font-weight: bold;\">Description<\/font> is the content specified in your site&#8217;s <code>&lt;meta property=\"og:description\"  ... \/&gt;<\/code> element first, and the <code>&lt;meta name=\"description\" ... \/&gt;<\/code> element if no such <code>meta<\/code> element exists. Somewhere between 130 and 140 characters of the description are shown here; the exact number appears to be imprecise, as the display doesn&#8217;t chop words in the middle leaving a couple incomprehensible characters. However, there is no trailing ellipsis, resulting in sometimes awkwardly abrupt snippets.<\/p>\n<hr \/>\n<p>Of course, beyond making certain (and testing) each page in your site&#8217;s code has the appropriate markup described above, you should also be sure to include Google&#8217;s <a href=\"http:\/\/www.google.com\/webmasters\/+1button\/\">new optimized asynchronously loading +1 button<\/a>. While Google+ currently segregates its posts, you can certainly see a day coming where +1&#8217;s will appear alongside Stream posts. <\/p>\n<p>As a final note, it&#8217;s great to see Google leveraging sites&#8217; existing investment in Facebook Open Graph markup. As Google+ matures, it will be interesting to see what other Open Graph tags are also supported, whether Google works actively to extend the Open Graph protocol, and what other developer\/publisher tools become available to ease integrations.<\/p>\n<p><strong>Update:<\/strong> Google just posted an article on <a href=\"http:\/\/googlewebmastercentral.blogspot.com\/2011\/08\/making-most-of-improvements-to-1-button.html\">how to specify which page elements<\/a> should comprise the headline, image, and description in the +1 post. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>When Google rolled out Google+ a couple weeks ago, being the fanboy that I am (according to others), I quickly set up my profile. And then, being the self-promoter that I am (according to myself), I began trying to optimize my site content for sharing within the service. Having spent time earlier this year on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[489,492,28,313,488,491,493,490,394],"class_list":["post-568","post","type-post","status-publish","format-standard","hentry","category-blog","tag-489","tag-anatomy","tag-developer","tag-google","tag-googleplus","tag-javascript","tag-opengraph","tag-plusone","tag-publisher"],"_links":{"self":[{"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/posts\/568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/comments?post=568"}],"version-history":[{"count":0,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/posts\/568\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/media?parent=568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/categories?post=568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laaker.com\/micah\/wp-json\/wp\/v2\/tags?post=568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}