Add Recent Comment Widget in Blogger
Ever wanted to put a widget that shows the Recent Comments being written on your blog. My blog is to put what I learn about computers and in the process share my experience with everyone. Now continuing the purpose of this blog, I will share with you the procedure on how to add “Recent Comments” widget. First go to layout => Edit HTML and search for </ head > <script type= 'text/javascript' > function commentDisplay(json) { for ( var i = 0; i < numcomments; i++) { var entry = json.feed.entry[i]; var alturl; if (i == json.feed.entry.length) break ; for ( var k = 0; k < entry.link.length; k++) { if (entry.link[k].rel == 'alternate' ) { alturl = entry.link[k].href; break ; } } alturl = alturl.replace( "#" , "#comment-" ); if (entry.content) { comment = entry.content....