Getting in Google's good graces

I use a number of techniques on my weblog, both in the code and how I create entries, that help Google get the most useful information out of my pages.

One of the constant topics that many webmasters and webloggers are concerned with these days is [Google][1], how to increase your site’s standing in Google’s eyes, and therefore drive more traffic to your site. I use a number of techniques on my weblog, both in the code and how I create entries, that help Google get the most useful information out of my pages.

[1]: “Google”

While I’ve [mentioned some in the past][2], the subject recently came up in [a thread on the TypePad User Group][3], and I shared some of my methods [in that thread][4]. At the request of both [Liza][5] and [Richard][6], who have also been posting about this topic, I’m re-posting my post (post-haste, though not post-mortem, and definitely not postpartum) here…

[2]: “Help search engines index your site”

[3]: “Increasing Blog/Site Traffic”

[4]: “A little bit of both, probably.”

[5]: “Getting Traffic to your site”

[6]: “Improve Your Blog’s Visibility on the Web”

> Still, I’m amazed to read that you had 1,000 per day BEFORE MS made you a web celeb (boo! to them). Do you think those hits came from your blogging subject or from special tactics you engaged in to increase your site traffic.

A little bit of both, probably.

First off, it’s not so much my subject, as my _lack_ of subject. ;) Because I’ve never really focused on any specific topic for my blog, and just randomly babble about whatever crosses my mind, that gives Google a _lot_ of potential keywords to pick up on.

Also, I’ve been at this for about three years now, so I’ve got a fairly large archive section, which also increases the probability of any given keyword turning up in a search.

As far as special tactics, there’s a few techniques I’ve picked up on over the years that seem to help (some of which you covered in your post).

1. **Descriptive headlines as a page title.** The title of a webpage scores very highly in Google’s ranking scheme, so I generally try to make sure that my post titles are descriptive of what I’m posting about (“Lord of the Rings Trailer” rather than “This is cool!”), and I make sure that the post title is included in the page title.

I believe that TypePad is set to include post titles in page titles for individual archives by default, but some weblog tools (including MovableType in its early stages, I believe, though I could be wrong) only include the site name for every page title, so instead of a site containing 1000+ differently named pages, you’d end up with a site containing 1000+ pages all named “My Weblog”, which doesn’t give Google nearly as much to work with.

2. **Setting a consistent structure for the code on each page.** As HTML was designed to emulate (though not visually replicate) the structure of a printed document, it includes various structural elements such as various levels of heading. As Google pays attention to these when it scans a document, it often helps to use them correctly.

In the past, rather than using the `

`, `

`, etc. elements for headlines, division markers, and so on, many sites would use `` tags to give their subdivision headings the look they wanted. Now that the `` tag has been deprecated and we can use CSS to style every element on a page the way we want, it’s good to return to using structurally correct markup. In addition to making a site much easier to code, it also assists Google in determining the structure, topic, and relevance of any given page.

For each individual archive page on my site, I’ve structured it as follows:

1. ``: website name > post title</p> <p> 2. `</p> <h1>`: website name</p> <p> 3. `</p> <h2>`: website ‘tagline’</p> <p> 4. `</p> <h3>`: post title</p> <p> 5. `</p> <p>`: post body</p> <p> 6. `</p> <h3>`: trackback</p> <p> 7. `</p> <h4>`: trackback source</p> <p> 8. `</p> <p>`: trackback body</p> <p> 9. `</p> <h3>`: comments</p> <p> 10. `</p> <h4>`: comment author</p> <p> 11. `<p&>`: comment body</p> <p> 12. `</p> <h3>`: comment posting form</p> <p> This gives each page a clearly delineated, easy to read structure that tells both the reader and Google which parts of the page are the most important and the most relevant to the topic of the page.</p> <p>3. **Link descriptively.** Simply, this involves using natural language for your links so that the link is descriptive to what it points to. For instance, saying “The new [Lord of the Rings trailer][7] is out!” instead of “You’ve gotta see [this][7]!” gives Google more information about what you’re linking to.</p> <p> This carries a double benefit, in that not only does it give Google better information about what you’re referencing, it also lets Google know more about what you’re linking to, which helps out whoever is on the target end of your link.</p> <p>4. **Alt text on all images.** This is important for a few reasons. First off, it lets Google know what each image is so that Google can include it more reliably in their image search feature. Secondly, though, and more importantly, it greatly improves the readability of your site for people with disabilities using specialized browsers to read the web.</p> <p> Blind users can use a “screen reader” to read websites — this is a specialized browser which translates the text to audio, and reads the page to them. Without alt text, all that screen reader can do is give them the name of the graphic, and might end up telling them something like “Image named funnypicture.jpg”. With alt text, they’ll instead hear something like “Image named Gimli falls off his horse”.</p> <p>5. **Use the excerpt field to create useable descriptions.** While keywords are no longer recognized by Google, another `<meta>` tag in the `<head>` section of your document still is (I think), which helps Google determine the topic of the page, and that’s the ‘description’ tag. What I’ve done is put this code into the `<head>` of each individual archive:</p> <p> `<meta title="description" content="<$MTEntryExcerpt>” />`</p> <p> I then make sure to take a moment to create an excerpt for each entry as I’m making it that relates to the topic of the post, rather than just relying on TypePad’s auto-generated excerpt (which generally just grabs the first _n_ words of each post).</p> <p>[7]: “The Return of the King trailer”</p> <p>Anyway, there’s a few of the things I do which seem to help my site visibility. Mostly, though, I think a lot of it just boils down to the fact that after three years of babbling, I give Google a lot to work with. ;)</p> <div id="ca-pub-7600487547038841:9977989621" class="ads ads_after"><script async src="//"></script> <!-- Eclecticism --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-7600487547038841" data-ad-slot="9977989621" data-ad-format="auto"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div><div class="sharedaddy sd-sharing-enabled"><div class="robots-nocontent sd-block sd-social sd-social-icon sd-sharing"><h3 class="sd-title">Share this:</h3><div class="sd-content"><ul><li class="share-facebook"><a rel="nofollow" data-shared="sharing-facebook-1991" class="share-facebook sd-button share-icon no-text" href="" target="_blank" title="Click to share on Facebook"><span></span><span class="sharing-screen-reader-text">Click to share on Facebook (Opens in new window)</span></a></li><li class="share-twitter"><a rel="nofollow" data-shared="sharing-twitter-1991" class="share-twitter sd-button share-icon no-text" href="" target="_blank" title="Click to share on Twitter"><span></span><span class="sharing-screen-reader-text">Click to share on Twitter (Opens in new window)</span></a></li><li class="share-tumblr"><a rel="nofollow" data-shared="" class="share-tumblr sd-button share-icon no-text" href="" target="_blank" title="Click to share on Tumblr"><span></span><span class="sharing-screen-reader-text">Click to share on Tumblr (Opens in new window)</span></a></li><li class="share-google-plus-1"><a rel="nofollow" data-shared="sharing-google-1991" class="share-google-plus-1 sd-button share-icon no-text" href="" target="_blank" title="Click to share on Google+"><span></span><span class="sharing-screen-reader-text">Click to share on Google+ (Opens in new window)</span></a></li><li class="share-pinterest"><a rel="nofollow" data-shared="sharing-pinterest-1991" class="share-pinterest sd-button share-icon no-text" href="" target="_blank" title="Click to share on Pinterest"><span></span><span class="sharing-screen-reader-text">Click to share on Pinterest (Opens in new window)</span></a></li><li class="share-email"><a rel="nofollow" data-shared="" class="share-email sd-button share-icon no-text" href="" target="_blank" title="Click to email this to a friend"><span></span><span class="sharing-screen-reader-text">Click to email this to a friend (Opens in new window)</span></a></li><li class="share-print"><a rel="nofollow" data-shared="" class="share-print sd-button share-icon no-text" href="" target="_blank" title="Click to print"><span></span><span class="sharing-screen-reader-text">Click to print (Opens in new window)</span></a></li><li class="share-end"></li></ul></div></div></div> <div id='jp-relatedposts' class='jp-relatedposts' > <h3 class="jp-relatedposts-headline"><em>Related</em></h3> </div> <div class="author-info"> <div class="author-avatar"> <img alt='' src='' srcset=' 2x' class='avatar avatar-42 photo' height='42' width='42' /> </div><!-- .author-avatar --> <div class="author-description"> <h2 class="author-title"><span class="author-heading">Author:</span> djwudi</h2> <p class="author-bio"> Enthusiastic ambivert. Geeky, liberal, friendly, curious, feminist ally; trying to be a good person. (he/him) <a class="author-link" href="" rel="author"> View all posts by djwudi </a> </p><!-- .author-bio --> </div><!-- .author-description --> </div><!-- .author-info --> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="byline"><span class="author vcard"><img alt='' src='' srcset=' 2x' class='avatar avatar-49 photo' height='49' width='49' /><span class="screen-reader-text">Author </span> <a class="url fn n" href="">djwudi</a></span></span><span class="posted-on"><span class="screen-reader-text">Posted on </span><a href="" rel="bookmark"><time class="entry-date published" datetime="2003-12-02T00:12:12+00:00">December 2, 2003</time><time class="updated" datetime="2016-11-25T14:55:46+00:00">November 25, 2016</time></a></span><span class="tags-links"><span class="screen-reader-text">Tags </span><a href="" rel="tag">google</a>, <a href="" rel="tag">html</a>, <a href="" rel="tag">movable type</a>, <a href="" rel="tag">MovableType</a>, <a href="" rel="tag">search engine optimization</a>, <a href="" rel="tag">seo</a>, <a href="" rel="tag">Technology</a>, <a href="" rel="tag">traffic</a>, <a href="" rel="tag">typepad</a>, <a href="" rel="tag">weblogs</a></span> </footer><!-- .entry-footer --> </article><!-- #post-## --> <div id="comments" class="comments-area"> <h2 class="comments-title"> 2 thoughts on “Getting in Google's good graces” </h2> <ol class="comment-list"> <li id="comment-12427" class="trackback even thread-even depth-1"> <div class="comment-body"> Pingback: <a href='' rel='external nofollow' class='url'>the typepadistas directory</a> </div> </li><!-- #comment-## --> <li id="comment-12428" class="trackback odd alt thread-odd thread-alt depth-1"> <div class="comment-body"> Pingback: <a href='' rel='external nofollow' class='url'>A Welsh View</a> </div> </li><!-- #comment-## --> </ol><!-- .comment-list --> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/eclecticism/2003/12/02/getting-in-googles-good-graces/#respond" style="display:none;">Cancel reply</a></small> </h3> <form id="commentform" class="comment-form"> <iframe src="" style="width:100%; height: 430px; border:0;" name="jetpack_remote_comment" class="jetpack_remote_comment" id="jetpack_remote_comment"></iframe> <!--[if !IE]><!--> <script> document.addEventListener('DOMContentLoaded', function () { var commentForms = document.getElementsByClassName('jetpack_remote_comment'); for (var i = 0; i < commentForms.length; i++) { commentForms[i].allowTransparency = false; commentForms[i].scrolling = 'no'; } }); </script> <!--<![endif]--> </form> </div> <input type="hidden" name="comment_parent" id="comment_parent" value="" /> </div><!-- .comments-area --> <nav class="navigation post-navigation" role="navigation"> <h2 class="screen-reader-text">Post navigation</h2> <div class="nav-links"><div class="nav-previous"><a href="" rel="prev"><span class="meta-nav" aria-hidden="true">Previous</span> <span class="screen-reader-text">Previous post:</span> <span class="post-title">You're an ex-DJ?</span></a></div><div class="nav-next"><a href="" rel="next"><span class="meta-nav" aria-hidden="true">Next</span> <span class="screen-reader-text">Next post:</span> <span class="post-title">Roy Disney resigns from Disney</span></a></div></div> </nav> </main><!-- .site-main --> </div><!-- .content-area --> <aside id="secondary" class="sidebar widget-area" role="complementary"> <section id="search-3" class="widget widget_search"> <form role="search" method="get" class="search-form" action=""> <label> <span class="screen-reader-text">Search for:</span> <input type="search" class="search-field" placeholder="Search …" value="" name="s" /> </label> <button type="submit" class="search-submit"><span class="screen-reader-text">Search</span></button> </form> </section><section id="archives-4" class="widget widget_archive"><h2 class="widget-title">Archives</h2> <label class="screen-reader-text" for="archives-dropdown-4">Archives</label> <select id="archives-dropdown-4" name="archive-dropdown" onchange='document.location.href=this.options[this.selectedIndex].value;'> <option value="">Select Month</option> <option value=''> January 2018 </option> <option value=''> December 2017 </option> <option value=''> November 2017 </option> <option value=''> September 2017 </option> <option value=''> July 2017 </option> <option value=''> June 2017 </option> <option value=''> May 2017 </option> <option value=''> April 2017 </option> <option value=''> March 2017 </option> <option value=''> February 2017 </option> <option value=''> January 2017 </option> <option value=''> December 2016 </option> <option value=''> November 2016 </option> <option value=''> March 2016 </option> <option value=''> December 2015 </option> <option value=''> November 2015 </option> <option value=''> July 2015 </option> <option value=''> June 2015 </option> <option value=''> April 2015 </option> <option value=''> March 2015 </option> <option value=''> February 2015 </option> <option value=''> January 2015 </option> <option value=''> December 2014 </option> <option value=''> November 2014 </option> <option value=''> October 2013 </option> <option value=''> September 2013 </option> <option value=''> July 2013 </option> <option value=''> June 2013 </option> <option value=''> February 2013 </option> <option value=''> January 2013 </option> <option value=''> December 2012 </option> <option value=''> September 2012 </option> <option value=''> July 2012 </option> <option value=''> June 2012 </option> <option value=''> December 2011 </option> <option value=''> November 2011 </option> <option value=''> October 2011 </option> <option value=''> September 2011 </option> <option value=''> July 2011 </option> <option value=''> June 2011 </option> <option value=''> May 2011 </option> <option value=''> April 2011 </option> <option value=''> March 2011 </option> <option value=''> February 2011 </option> <option value=''> January 2011 </option> <option value=''> December 2010 </option> <option value=''> November 2010 </option> <option value=''> October 2010 </option> <option value=''> September 2010 </option> <option value=''> August 2010 </option> <option value=''> July 2010 </option> <option value=''> June 2010 </option> <option value=''> May 2010 </option> <option value=''> April 2010 </option> <option value=''> March 2010 </option> <option value=''> February 2010 </option> <option value=''> January 2010 </option> <option value=''> December 2009 </option> <option value=''> November 2009 </option> <option value=''> October 2009 </option> <option value=''> September 2009 </option> <option value=''> August 2009 </option> <option value=''> July 2009 </option> <option value=''> June 2009 </option> <option value=''> May 2009 </option> <option value=''> April 2009 </option> <option value=''> March 2009 </option> <option value=''> February 2009 </option> <option value=''> January 2009 </option> <option value=''> December 2008 </option> <option value=''> November 2008 </option> <option value=''> October 2008 </option> <option value=''> September 2008 </option> <option value=''> August 2008 </option> <option value=''> July 2008 </option> <option value=''> June 2008 </option> <option value=''> May 2008 </option> <option value=''> April 2008 </option> <option value=''> March 2008 </option> <option value=''> February 2008 </option> <option value=''> January 2008 </option> <option value=''> December 2007 </option> <option value=''> November 2007 </option> <option value=''> October 2007 </option> <option value=''> September 2007 </option> <option value=''> August 2007 </option> <option value=''> July 2007 </option> <option value=''> June 2007 </option> <option value=''> May 2007 </option> <option value=''> April 2007 </option> <option value=''> March 2007 </option> <option value=''> February 2007 </option> <option value=''> January 2007 </option> <option value=''> December 2006 </option> <option value=''> November 2006 </option> <option value=''> October 2006 </option> <option value=''> September 2006 </option> <option value=''> August 2006 </option> <option value=''> July 2006 </option> <option value=''> June 2006 </option> <option value=''> May 2006 </option> <option value=''> April 2006 </option> <option value=''> March 2006 </option> <option value=''> February 2006 </option> <option value=''> January 2006 </option> <option value=''> December 2005 </option> <option value=''> November 2005 </option> <option value=''> October 2005 </option> <option value=''> September 2005 </option> <option value=''> August 2005 </option> <option value=''> July 2005 </option> <option value=''> June 2005 </option> <option value=''> May 2005 </option> <option value=''> April 2005 </option> <option value=''> March 2005 </option> <option value=''> February 2005 </option> <option value=''> January 2005 </option> <option value=''> December 2004 </option> <option value=''> November 2004 </option> <option value=''> October 2004 </option> <option value=''> September 2004 </option> <option value=''> August 2004 </option> <option value=''> July 2004 </option> <option value=''> June 2004 </option> <option value=''> May 2004 </option> <option value=''> April 2004 </option> <option value=''> March 2004 </option> <option value=''> February 2004 </option> <option value=''> January 2004 </option> <option value=''> December 2003 </option> <option value=''> November 2003 </option> <option value=''> October 2003 </option> <option value=''> September 2003 </option> <option value=''> August 2003 </option> <option value=''> July 2003 </option> <option value=''> June 2003 </option> <option value=''> May 2003 </option> <option value=''> April 2003 </option> <option value=''> March 2003 </option> <option value=''> February 2003 </option> <option value=''> January 2003 </option> <option value=''> December 2002 </option> <option value=''> November 2002 </option> <option value=''> October 2002 </option> <option value=''> September 2002 </option> <option value=''> August 2002 </option> <option value=''> July 2002 </option> <option value=''> June 2002 </option> <option value=''> May 2002 </option> <option value=''> April 2002 </option> <option value=''> March 2002 </option> <option value=''> February 2002 </option> <option value=''> January 2002 </option> <option value=''> December 2001 </option> <option value=''> November 2001 </option> <option value=''> October 2001 </option> <option value=''> September 2001 </option> <option value=''> August 2001 </option> <option value=''> July 2001 </option> <option value=''> June 2001 </option> <option value=''> May 2001 </option> <option value=''> April 2001 </option> <option value=''> March 2001 </option> <option value=''> February 2001 </option> <option value=''> January 2001 </option> <option value=''> December 2000 </option> <option value=''> November 2000 </option> <option value=''> February 1999 </option> <option value=''> January 1999 </option> <option value=''> December 1998 </option> <option value=''> August 1998 </option> <option value=''> July 1998 </option> <option value=''> June 1998 </option> <option value=''> February 1997 </option> <option value=''> January 1997 </option> <option value=''> May 1996 </option> <option value=''> April 1996 </option> <option value=''> January 1996 </option> <option value=''> December 1995 </option> <option value=''> August 1995 </option> <option value=''> April 1995 </option> <option value=''> March 1995 </option> <option value=''> February 1995 </option> <option value=''> January 1995 </option> <option value=''> December 1994 </option> <option value=''> February 1994 </option> <option value=''> January 1994 </option> <option value=''> December 1993 </option> <option value=''> November 1991 </option> <option value=''> October 1991 </option> <option value=''> January 1990 </option> </select> </section><section id="twitter_timeline-4" class="widget widget_twitter_timeline"><h2 class="widget-title">On Twitter…</h2><a class="twitter-timeline" data-height="1000" data-theme="light" data-link-color="#f96e5b" data-border-color="#e8e8e8" data-lang="EN" data-partner="jetpack" data-chrome="noheader nofooter" href="">My Tweets</a></section><section id="wpcom_social_media_icons_widget-3" class="widget widget_wpcom_social_media_icons_widget"><h2 class="widget-title">Elsewhere</h2><ul><li><a href="" class="genericon genericon-facebook" target="_blank"><span class="screen-reader-text">View michael.hanscom’s profile on Facebook</span></a></li><li><a href="" class="genericon genericon-twitter" target="_blank"><span class="screen-reader-text">View djwudi’s profile on Twitter</span></a></li><li><a href="" class="genericon genericon-instagram" target="_blank"><span class="screen-reader-text">View djwudi’s profile on Instagram</span></a></li><li><a href="" class="genericon genericon-linkedin" target="_blank"><span class="screen-reader-text">View michaelhanscom’s profile on LinkedIn</span></a></li><li><a href="" class="genericon genericon-youtube" target="_blank"><span class="screen-reader-text">View djwudi’s profile on YouTube</span></a></li><li><a href="" class="genericon genericon-vimeo" target="_blank"><span class="screen-reader-text">View djwudi’s profile on Vimeo</span></a></li><li><a href="" class="genericon genericon-googleplus" target="_blank"><span class="screen-reader-text">View michael.hanscom’s profile on Google+</span></a></li></ul></section> </aside><!-- .sidebar .widget-area --> </div><!-- .site-content --> <footer id="colophon" class="site-footer" role="contentinfo"> <nav class="main-navigation" role="navigation" aria-label="Footer Primary Menu"> <div class="menu-main-menu-container"><ul id="menu-main-menu-1" class="primary-menu"><li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-9883"><a href="">About the Author</a></li> <li class="menu-item menu-item-type-post_type menu-item-object-page menu-item-11650"><a href="">Worth Reading</a></li> </ul></div> </nav><!-- .main-navigation --> <div class="site-info"> <span class="site-title"><a href="" rel="home">Eclecticism</a></span> <a href="">Proudly powered by WordPress</a> </div><!-- .site-info --> </footer><!-- .site-footer --> </div><!-- .site-inner --> </div><!-- .site --> <div style="display:none"> <div class="grofile-hash-map-9a076924469560ca18a153003fc750ea"> </div> </div> <script type="text/javascript"> window.WPCOM_sharing_counts = {"https:\/\/\/eclecticism\/2003\/12\/02\/getting-in-googles-good-graces\/":1991}; </script> <div id="sharing_email" style="display: none;"> <form action="/eclecticism/2003/12/02/getting-in-googles-good-graces/" method="post"> <label for="target_email">Send to Email Address</label> <input type="email" name="target_email" id="target_email" value="" /> <label for="source_name">Your Name</label> <input type="text" name="source_name" id="source_name" value="" /> <label for="source_email">Your Email Address</label> <input type="email" name="source_email" id="source_email" value="" /> <input type="text" id="jetpack-source_f_name" name="source_f_name" class="input" value="" size="25" autocomplete="off" title="This field is for validation and should not be changed" /> <img style="float: right; display: none" class="loading" src="" alt="loading" width="16" height="16" /> <input type="submit" value="Send Email" class="sharing_send" /> <a rel="nofollow" href="#cancel" class="sharing_cancel">Cancel</a> <div class="errors errors-1" style="display: none;"> Post was not sent - check your email addresses! </div> <div class="errors errors-2" style="display: none;"> Email check failed, please try again </div> <div class="errors errors-3" style="display: none;"> Sorry, your blog cannot share posts by email. </div> </form> </div> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript'> /* <![CDATA[ */ var WPGroHo = {"my_hash":""}; /* ]]> */ </script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript'> /* <![CDATA[ */ var screenReaderText = {"expand":"expand child menu","collapse":"collapse child menu"}; /* ]]> */ </script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script async="async" type='text/javascript' src=''></script> <script type='text/javascript'> /* <![CDATA[ */ var sharing_js_options = {"lang":"en","counts":"1"}; /* ]]> */ </script> <script type='text/javascript' src=''></script> <script type='text/javascript'> var windowOpen; jQuery( document.body ).on( 'click', 'a.share-facebook', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = jQuery( this ).attr( 'href' ), 'wpcomfacebook', 'menubar=1,resizable=1,width=600,height=400' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-twitter', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = jQuery( this ).attr( 'href' ), 'wpcomtwitter', 'menubar=1,resizable=1,width=600,height=350' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-tumblr', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = jQuery( this ).attr( 'href' ), 'wpcomtumblr', 'menubar=1,resizable=1,width=450,height=450' ); return false; }); var windowOpen; jQuery( document.body ).on( 'click', 'a.share-google-plus-1', function() { // If there's another sharing window open, close it. if ( 'undefined' !== typeof windowOpen ) { windowOpen.close(); } windowOpen = jQuery( this ).attr( 'href' ), 'wpcomgoogle-plus-1', 'menubar=1,resizable=1,width=480,height=550' ); return false; }); </script> <!--[if IE]> <script type="text/javascript"> if ( 0 === window.location.hash.indexOf( '#comment-' ) ) { // window.location.reload() doesn't respect the Hash in IE window.location.hash = window.location.hash; } </script> <![endif]--> <script type="text/javascript"> (function () { var comm_par_el = document.getElementById( 'comment_parent' ), comm_par = ( comm_par_el && comm_par_el.value ) ? comm_par_el.value : '', frame = document.getElementById( 'jetpack_remote_comment' ), tellFrameNewParent; tellFrameNewParent = function () { if ( comm_par ) { frame.src = "" + '&replytocom=' + parseInt( comm_par, 10 ).toString(); } else { frame.src = ""; } }; if ( 'undefined' !== typeof addComment ) { addComment._Jetpack_moveForm = addComment.moveForm; addComment.moveForm = function ( commId, parentId, respondId, postId ) { var returnValue = addComment._Jetpack_moveForm( commId, parentId, respondId, postId ), cancelClick, cancel; if ( false === returnValue ) { cancel = document.getElementById( 'cancel-comment-reply-link' ); cancelClick = cancel.onclick; cancel.onclick = function () { var cancelReturn = this ); if ( false !== cancelReturn ) { return cancelReturn; } if ( ! comm_par ) { return cancelReturn; } comm_par = 0; tellFrameNewParent(); return cancelReturn; }; } if ( comm_par == parentId ) { return returnValue; } comm_par = parentId; tellFrameNewParent(); return returnValue; }; } // Do the post message bit after the dom has loaded. document.addEventListener( 'DOMContentLoaded', function () { var iframe_url = "https:\/\/"; if ( window.postMessage ) { if ( document.addEventListener ) { window.addEventListener( 'message', function ( event ) { var origin = event.origin.replace( /^http:\/\//i, 'https://' ); if ( iframe_url.replace( /^http:\/\//i, 'https://' ) !== origin ) { return; } jQuery( frame ).height( ); }); } else if ( document.attachEvent ) { window.attachEvent( 'message', function ( event ) { var origin = event.origin.replace( /^http:\/\//i, 'https://' ); if ( iframe_url.replace( /^http:\/\//i, 'https://' ) !== origin ) { return; } jQuery( frame ).height( ); }); } } }) })(); </script> <script type='text/javascript' src='' async defer></script> <script type='text/javascript'> _stq = window._stq || []; _stq.push([ 'view', {v:'ext',j:'1:5.7',blog:'20976999',post:'1991',tz:'-8',srv:''} ]); _stq.push([ 'clickTrackerInit', '20976999', '1991' ]); </script> </body> </html>