<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Fri, 24 Feb 2012 20:18:37 GMT--><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Blog</title><link>http://prayerblog.squarespace.com/blog/</link><description></description><lastBuildDate>Tue, 21 Feb 2012 13:53:49 +0000</lastBuildDate><copyright></copyright><language>en-US</language><generator>Squarespace Site Server v5.11.81 (http://www.squarespace.com/)</generator><item><title>How to customize link preview on Google Plus</title><dc:creator>Anatoly Nechaev</dc:creator><pubDate>Tue, 21 Feb 2012 09:34:35 +0000</pubDate><link>http://prayerblog.squarespace.com/blog/2012/2/21/how-to-customize-link-preview-on-google-plus.html</link><guid isPermaLink="false">1293276:15173892:15124975</guid><description><![CDATA[<p><img src="http://prayerblog.squarespace.com/storage/post-images/customization2.jpg?__SQUARESPACE_CACHEVERSION=1329818069538" alt="" /></p>
<p>ITM Citizens!</p>
<p itemprop="description">Do you have a website and want to have your own image and text in link previews on G+ instead of those that are chosen by Google?</p>
<p>It's quite simple actually.&nbsp;Read <a href="https://developers.google.com/+/plugins/+1button/">this</a>&nbsp;article. It's all there.</p>
<p>But if you're technically challenged or just lazy like me here are several simple steps:</p>
<ul>
<li>First of all you need an access to editing html code</li>
<li>Insert the image you want to display in G+ preview&nbsp;into your page. Place <strong>itemprop="image"</strong> attribute inside "<strong>img</strong>" tag of that image (or several images). Like this: <strong>&lt;img itemprop="image" src="image-url" /&gt;</strong></li>
<li>If you want to customize link description, enclose the text you want into <strong>&lt;span&gt;</strong> tag and place <strong>itemprop="description"</strong>&nbsp;into that tag.&nbsp;</li>
<li>The same applies to link's title. Just use <strong>itemprop="name"</strong>.</li>
<li>Ideally you should insert&nbsp;<strong>itemscope itemtype="http://schema.org/Product"</strong> into <strong>&lt;body&gt;</strong> tag. But not every site engine or blog platform allows you to do it. And it seems to work in most cases even without this change anyway. In case of Squarespace it didn't. So i had to "inject" <strong>&lt;div itemscope itemtype="http://schema.org/Product"&gt;</strong>&nbsp;before and <strong>&lt;/div&gt;</strong> after page content in site preferences.</li>
</ul>
<p>&nbsp;</p>
<p>For example i marked <a href="http://www.noagendashow.com/">No Agenda</a> cover in the right column with <strong>itemprop="image"</strong>. So when you'll share a link to this page on Google Plus instead of using stupid image from top of this post:</p>
<p><span class="full-image-block ssNonEditable"><span><img src="http://prayerblog.squarespace.com/storage/post-images/2.PNG?__SQUARESPACE_CACHEVERSION=1329827735444" alt="" /></span></span></p>
<p>G+ will use the cover as preview image:</p>
<p><img src="http://prayerblog.squarespace.com/storage/post-images/.PNG?__SQUARESPACE_CACHEVERSION=1329819835961" alt="" /></p>
<p>This way you can promote something when anybody shares a link to your site.</p>]]></description><wfw:commentRss>http://prayerblog.squarespace.com/blog/rss-comments-entry-15124975.xml</wfw:commentRss></item></channel></rss>