COMMENTLUV FOR BLOGGER – How to add commentluv for blogspot easily ? The idea of ​​creation this commentluv blogspot is actually derived from the existing CommentLuv plugin on the wordpress plugin. Why on blogspot there is no plugins or widgets like that? Then after searching and tried searching on google finally i found it. In a blog that somehow I forgot his name there commenluv widget like this. But the way of installation requires you to upload a file .xml blog template.

commentluv for blogger
commentluv for blogger

Obviously this is very risky to the safety, comfort and copyright of the blog template that we use. Then I thought better to install CommentLuv blogger widget from the blog.

After so long, it was when I installed a recent post widget, I was inspired to make this widget Commentluv for blogger . Judging from the pattern used, apparently to make only necessary CommentLuv feed url from every blog that comments in the comments field. Then to show them just need a script similar to the script recent post.

How to Install CommentLuv on Blogger
1. Log in to your dashboard > template > edit html > proceed
2. Check the Expand widget template the find </head> with ctrl+f
3. Copy and paste this code before tag </head>

<script type='text/javascript'>
 * Recent CommentLuv for Blogger
 * Version : 1.0
 * Author : Beni Iskandar
 * Author Url :
 * (c) 2012 allrightsreserved.
function commentluv(json) {
  for (var i = 0; i < 1; i++) {
    var entry = json.feed.entry[i];
    var posttitle = entry.title.$t;
    var posturl;
    if (i == json.feed.entry.length) break;
    for (var k = 0; k <; k++) {
      if ([k].rel == 'alternate') {
        posturl =[k].href;
    var postdate = entry.published.$t.substring(0,10);
    var postauthor =[0].name.$t;
    document.write(  postauthor  + ' Recently posted <a href="' + posturl     + '" rel="nofollow" target="_blank">' + posttitle   + '</a>');
document.write(' <img src=""/>');

4. Search the <data:comment.body/> then insert his code before </p>:

<script expr:src=' data:comment.authorUrl + &quot;/feeds/posts/default?alt=json-in-script&amp;callback=commentluv&quot;'/>

5. Klick Save Template, then finish

1. To change nofollow to dofollow just change the text nofollow to dofollow
2. This blog is not a dofollow blog, so I add some code to every url then i can earn some money for this blog. You can remove or replace it with your code
4. Only work on url blogspot, for url wordpress and others are still in the developmental stage


commentluv for blogspot
commentluv for blogspot

Thanks for reading this tutorial COMMENTLUV FOR BLOGGER , i hope you will understand with my explanation. for indonesian language please check this link CARA MEMASANG COMMENTLUV DI BLOGSPOT

Leave a Reply

Your email address will not be published. Required fields are marked *

No Live Link Please! and Leave a Relevant Comment