Google+ Comments for your blog

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
User avatar
Posts: 116
Joined: Mon Aug 20, 2007 4:00 am
Location: Spain

Google+ Comments for your blog

Post by johncanary » Tue May 14, 2013 11:58 pm

Hi @everybody,

This is for friends of the social web. In case you have missed it:

"Google+ Comments are available for your blog"

Well, it's actually a hack. Google made it available on but there is no official tech docu, yet.

It looks something like that.


Implementation is straightforward. If you are on Wordpress (oopps!) install one of the plugins

If you are on S9Y write it into your smarty template.

e.g.: entries.tpl

Code: Select all

<!-- Place this tag where you want the G+ comments to render. -->
<div class="g-comments"

<!-- To include the G+ JavaScript asynchronously, use the following code:
     Tip: For the best performance, place this code immediately after the last Google+ element. -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
More details via my G+ post. +Keith's article was the main source of info for me. ... MaNjFewhYb

Also helpful the Google+ API:

Currently I use the Facebook social plugin next to the original S9Y comments. For sure I will dump Facebook and replace it with Google+ comments. It already works fine in my test s9y blog.
Yours John
: John's Google+ Profile
: John's E-Biz Booster Blog powered by Serendipity 1.7/PHP 5.3.14

Posts: 5
Joined: Mon Apr 01, 2013 5:16 am
Location: United Kingdom

Re: Google+ Comments for your blog

Post by ryder17 » Tue May 21, 2013 5:46 am

Thank you for sharing. You made me think to replace my facebook comment to google+.

User avatar
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany

Re: Google+ Comments for your blog

Post by yellowled » Thu Jun 13, 2013 7:44 am

Any plain text editor for the OS of your choice will do.

amazon Wishlist - Serendipity-Podcast (German only, sorry)

Post Reply