1 2 I'm trying to develop a multiplot heatmap.2 saved to a pdf. I'm having some success but the axis labels are getting chopped off. Subplot titles are also desirable but again the labels are getting chopped. Here's my reproducible code: library(gridExtra) library(grid) library(gridGraphics) library(gplots) Col = colorRampPalette(c("red","orange","yellow", "white")) grab_grob <- function() grid.echo() grid.grab() par(cex.main=0.1, mar = c(1,1,1,1) ) #data<-read.table("heatmap.input.matrix.data.txt") lmat = rbind(c(2,3),c(4,1),c(4,1)) lwid = c(2.5,4) lhei = c(0.5,4,3) labRowvec <- c(rep(NULL, dim(matrix(runif(1000, 1,10),ncol=50))[1])) labColvec <- c(rep(NULL, dim(matrix(runif(1000, 1,10),ncol=50))[2])) gl <- lapply(1:12, function(i) heatmap.2(matrix(runif(1000, 1,10),ncol=50), dendrogram = "none",offsetRow=-0.5, offsetCol=-1,srtCol=0, density="density", lmat =lmat,lhei = l
(function() {
var items = ['id': '2257136549308903970', 'body': 'You just need a Small Tweak to make it working on Custom Blogger Templates.x3cbr /x3ex3cbr /x3eHerex26#39;s the Tipx3cbr /x3ex3cbr /x3ex26lt;!-- MBL Tweak (www.mybloggerlab.com) --x26gt;x3cbr /x3ex26lt;div classx3dx26#39;cmt_iframe_holderx26#39; data-viewtypex3dx26#39;FILTERED_POSTMODx26#39; expr:hrefx3dx26#39;data:blog.canonicalUrlx26#39;/x26gt;x3cbr /x3ex3cbr /x3eCheers.', 'timestamp': '1366486890076', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366486890076#c2257136549308903970', 'author': 'name': 'Syed Faizan Ali', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/09845264541113443542', 'displayTime': 'Apr 21, 2013, 12:41:00 AM', 'deleteclass': 'item-control blog-admin pid-1207042624', 'id': '3679316426899597430', 'body': '@x3ca hrefx3dx22#c2257136549308903970x22 relx3dx22nofollowx22x3eSyed Faizan Alix3c/ax3ex3cbr /x3eIf I make the tweek also I was unable to get the google+ comments can you plz help me.', 'timestamp': '1366514963404', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366514963404#c3679316426899597430', 'author': 'name': 'Hari kesh', 'avatarUrl': '//lh4.googleusercontent.com/-uTUORrKt42U/AAAAAAAAAAI/AAAAAAAAABY/eF7BqOcb3Gc/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07600324185154517902', 'displayTime': 'Apr 21, 2013, 8:29:00 AM', 'deleteclass': 'item-control blog-admin pid-1137640705', 'id': '1900047852038090677', 'parentId': '3679316426899597430', 'body': 'You have to first enable the google+ comments then add the code it works quite well I checked on many theme and it works just fine', 'timestamp': '1366520886127', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366520886127#c1900047852038090677', 'author': 'name': 'Syed Faizan Ali', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/09845264541113443542', 'displayTime': 'Apr 21, 2013, 10:08:00 AM', 'deleteclass': 'item-control blog-admin pid-1207042624', 'id': '1173111352920165380', 'body': 'I need this for Custom templates.x3cbr /x3ex3cbr /x3eRegards,x3cbr /x3eAravind,x3cbr /x3ex3ca hrefx3dx22http://lab.todaysworld.inx22 relx3dx22nofollowx22x3eBloggers Labx3c/ax3e', 'timestamp': '1366533372798', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366533372798#c1173111352920165380', 'author': 'name': 'Aravind Palla', 'avatarUrl': '//lh3.googleusercontent.com/-fOsCgbV3SvE/AAAAAAAAAAI/AAAAAAAAiNQ/oGpnbiZGEDE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/15645446012118384424', 'displayTime': 'Apr 21, 2013, 1:36:00 PM', 'deleteclass': 'item-control blog-admin pid-1465480836', 'id': '1018305249255478704', 'body': 'This is an ideal combination for both Blogger and Google+. I like especially the ability to have comments from both sources feed in to both systems, and the layered integration of Circles. :)', 'timestamp': '1366545460283', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366545460283#c1018305249255478704', 'author': 'name': 'Daniel Benny Simanjuntak', 'avatarUrl': '//lh4.googleusercontent.com/-I-LYcyt1zSU/AAAAAAAAAAI/AAAAAAAAAoc/cueumOn1Jng/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/02284011263403920462', 'displayTime': 'Apr 21, 2013, 4:57:00 PM', 'deleteclass': 'item-control blog-admin pid-2014054968', 'id': '6679087814552019857', 'body': 'Mohammad,x3cbr /x3eI guess you should switch to Disqus. It is a smart choice. It will automatically separate all comments with links. :)', 'timestamp': '1366546486240', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366546486240#c6679087814552019857', 'author': 'name': 'Mehul Mohan', 'avatarUrl': '//lh4.googleusercontent.com/-YN_BT5Hcly0/AAAAAAAAAAI/AAAAAAAAEko/7QYyXIi25Q8/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/03118810440505006203', 'displayTime': 'Apr 21, 2013, 5:14:00 PM', 'deleteclass': 'item-control blog-admin pid-1203686617', 'id': '229269744816028778', 'body': 'Great Improvement, but having some confusion :/ u canx26#39;t see comment stats in Blogger Dashboard, as u see in normal commenting system..x3cbr /x3ex3ca hrefx3dx22http://www.thetrickslab.comx22 relx3dx22nofollowx22x3eThe Tricks Labx3c/ax3e', 'timestamp': '1366565382568', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366565382568#c229269744816028778', 'author': 'name': 'Zeeshan Ahmed', 'avatarUrl': '//lh6.googleusercontent.com/-m40gnVwSNRI/AAAAAAAAAAI/AAAAAAAACB8/FBnvkErfNqU/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/03096225467683450745', 'displayTime': 'Apr 21, 2013, 10:29:00 PM', 'deleteclass': 'item-control blog-admin pid-698843999', 'id': '6266973650765445683', 'body': 'I donx26#39;t think this is a good feature from Bloger team. I guess Google what to promote its Gmail services because your readers will need to have it before commenting - it tried it and disabled it immediately x3cbr /x3ex3cbr /x3ex3ca hrefx3dx22http://www.mybusinesstricks.com/2013/04/how-to-make-money-online-in-kenya-scam.htmlx22 relx3dx22nofollowx22x3eHow To Make Money Onlinex3c/ax3e', 'timestamp': '1366578263606', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366578263606#c6266973650765445683', 'author': 'name': 'Peter Mutiso', 'avatarUrl': '//lh3.googleusercontent.com/-22taJfJUCg8/AAAAAAAAAAI/AAAAAAAAAks/L30neWS_eIw/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/15006615711969556308', 'displayTime': 'Apr 22, 2013, 2:04:00 AM', 'deleteclass': 'item-control blog-admin pid-815327396', 'id': '1870905808553025292', 'body': 'Thanks muhammadx3cbr /x3eVISIT mex3cbr /x3ex3cbr /x3ewww.bbloggertutorials.blogspot.comx3cbr /x3e', 'timestamp': '1366587361255', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366587361255#c1870905808553025292', 'author': 'name': 'ayman djebali', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/02952607655486270870', 'displayTime': 'Apr 22, 2013, 4:36:00 AM', 'deleteclass': 'item-control blog-admin pid-1620485550', 'id': '8049260412079480719', 'body': 'What about anonymous commentors?x3cbr /x3ethis means it is a must for commentors to have a google+ account.', 'timestamp': '1366611832980', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366611832980#c8049260412079480719', 'author': 'name': 'Parash Devkota', 'avatarUrl': '//lh5.googleusercontent.com/-kCfMAE8Cz_Y/AAAAAAAAAAI/AAAAAAAAAQ4/C_PvBDv4fwE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/17935484054635437664', 'displayTime': 'Apr 22, 2013, 11:23:00 AM', 'deleteclass': 'item-control blog-admin pid-211472028', 'id': '7568175291413940814', 'body': 'hammer from google thiis time,google is day by day making blogger cometitve and professional to compete wuth the sites like wordpress.and this feature will increase blogger exposure for no doubt.x3ca hrefx3dx22http://bestofshayari.blogspot.comx22 relx3dx22nofollowx22x3eBest of shayarix3c/ax3e', 'timestamp': '1366617050568', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366617050568#c7568175291413940814', 'author': 'name': 'bestofshayari', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/03898226240930746232', 'displayTime': 'Apr 22, 2013, 12:50:00 PM', 'deleteclass': 'item-control blog-admin pid-1382310440', 'id': '5730973700528113332', 'body': 'In my template no active :(', 'timestamp': '1366625281856', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366625281856#c5730973700528113332', 'author': 'name': 'Pedro Fumero', 'avatarUrl': '//lh3.googleusercontent.com/-J6Xr91k1NEs/AAAAAAAAAAI/AAAAAAAADjg/HNONMnCGYBo/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/18307640122289635739', 'displayTime': 'Apr 22, 2013, 3:08:00 PM', 'deleteclass': 'item-control blog-admin pid-781247932', 'id': '5494335000060520424', 'body': 'I use Disqus..so it becomes pretty easy for sharing and commenting.x3cbr /x3ex3cbr /x3eRegards,x3cbr /x3eJenniferx3cbr /x3ex3ca hrefx3dx22http://www.technokrats.in/x22 relx3dx22nofollowx22x3eWeb Design Company Kolkatax3c/ax3e', 'timestamp': '1366633171220', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366633171220#c5494335000060520424', 'author': 'name': 'Jennifer Kashyap', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/12102546516004919228', 'displayTime': 'Apr 22, 2013, 5:19:00 PM', 'deleteclass': 'item-control blog-admin pid-519678838', 'id': '6954302874387830214', 'body': 'Google want to make Google+ More popular that is why Google decided to increase the Google+ conversations by integrating Google+ comments in Bloggerx26#39;s Blog.x3cbr /x3ex3cbr /x3eMy Website x3ca hrefx3dx22http://www.hififun.comx22 relx3dx22nofollowx22 titlex3dx22Click Here To Learn Morex22x3eHiFiFun.Com - All Kind Of Tips and Tricks!x3c/ax3e', 'timestamp': '1366643224988', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366643224988#c6954302874387830214', 'author': 'name': 'Parwinder Singh Bhangu', 'avatarUrl': '//lh3.googleusercontent.com/-vOuUhlYjNuA/AAAAAAAAAAI/AAAAAAAAAvM/2b2Fsqi-kjE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/15493731473061130782', 'displayTime': 'Apr 22, 2013, 8:07:00 PM', 'deleteclass': 'item-control blog-admin pid-1795950202', 'id': '4072399452749645041', 'body': '@x3ca hrefx3dx22#c4221699201565051380x22 relx3dx22nofollowx22x3eHafeez Khanx3c/ax3eyoux26#39;re welcome....the tutorial for custom templates is coming up soon, so stay tuned. And please, do avoid these fancy signatures', 'timestamp': '1366645869298', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366645869298#c4072399452749645041', 'author': 'name': 'Qasim Zaib', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-BIGEKtNirrNEgIpOMRordap84b1zMQN8_wpkqT1OJF70rBcAXXPUH6xMXbHKWWfuZ4uy12wUvccHbLAw46B3Q6FhKHLbGxhO4HfP1HXBnNU5gSI-v2r7xYmrxJF9Pq_ZaTUHHuR37_M/s35/Pic.jpg', 'profileUrl': 'https://www.blogger.com/profile/08938578237404814539', 'displayTime': 'Apr 22, 2013, 8:51:00 PM', 'deleteclass': 'item-control blog-admin pid-2130658467', 'id': '7305866919936283187', 'body': '@x3ca hrefx3dx22#c229269744816028778x22 relx3dx22nofollowx22x3eZeeshan Ahmedx3c/ax3ethank you for pointing this out......wex26#39;ll look into this soon', 'timestamp': '1366646041274', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366646041274#c7305866919936283187', 'author': 'name': 'Qasim Zaib', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-BIGEKtNirrNEgIpOMRordap84b1zMQN8_wpkqT1OJF70rBcAXXPUH6xMXbHKWWfuZ4uy12wUvccHbLAw46B3Q6FhKHLbGxhO4HfP1HXBnNU5gSI-v2r7xYmrxJF9Pq_ZaTUHHuR37_M/s35/Pic.jpg', 'profileUrl': 'https://www.blogger.com/profile/08938578237404814539', 'displayTime': 'Apr 22, 2013, 8:54:00 PM', 'deleteclass': 'item-control blog-admin pid-2130658467', 'id': '5907124206043732793', 'body': '@x3ca hrefx3dx22#c8049260412079480719x22 relx3dx22nofollowx22x3eParash Devkotax3c/ax3eyes, and that is a let down. Do wait for our post on some disadvantages of using this system which is coming up soon. Stay tuned :)', 'timestamp': '1366646115601', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366646115601#c5907124206043732793', 'author': 'name': 'Qasim Zaib', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-BIGEKtNirrNEgIpOMRordap84b1zMQN8_wpkqT1OJF70rBcAXXPUH6xMXbHKWWfuZ4uy12wUvccHbLAw46B3Q6FhKHLbGxhO4HfP1HXBnNU5gSI-v2r7xYmrxJF9Pq_ZaTUHHuR37_M/s35/Pic.jpg', 'profileUrl': 'https://www.blogger.com/profile/08938578237404814539', 'displayTime': 'Apr 22, 2013, 8:55:00 PM', 'deleteclass': 'item-control blog-admin pid-2130658467', 'id': '7930997545022130263', 'body': '@x3ca hrefx3dx22#c5730973700528113332x22 relx3dx22nofollowx22x3ePedro Fumerox3c/ax3eupgrade/link to Google Plus account first', 'timestamp': '1366646205881', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366646205881#c7930997545022130263', 'author': 'name': 'Qasim Zaib', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-BIGEKtNirrNEgIpOMRordap84b1zMQN8_wpkqT1OJF70rBcAXXPUH6xMXbHKWWfuZ4uy12wUvccHbLAw46B3Q6FhKHLbGxhO4HfP1HXBnNU5gSI-v2r7xYmrxJF9Pq_ZaTUHHuR37_M/s35/Pic.jpg', 'profileUrl': 'https://www.blogger.com/profile/08938578237404814539', 'displayTime': 'Apr 22, 2013, 8:56:00 PM', 'deleteclass': 'item-control blog-admin pid-2130658467', 'id': '5587005264908322186', 'body': 'nice info..i will try', 'timestamp': '1366709601872', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1366709601872#c5587005264908322186', 'author': 'name': 'Virlyz Nyzam', 'avatarUrl': '//lh3.googleusercontent.com/-MepecXHhwh0/AAAAAAAAAAI/AAAAAAAAA00/F_FLavVLyW8/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/15248048092554859081', 'displayTime': 'Apr 23, 2013, 2:33:00 PM', 'deleteclass': 'item-control blog-admin pid-1122471304', 'id': '6822264868391849841', 'body': 'assalamualikum..x3cbr /x3ex3cbr /x3enow I think when I use google+ comment in my blog,, i so fun and be help,,x3cbr /x3ebut now I want you to help me to make recent comment in google+ comment,, thanks mohammad.. ', 'timestamp': '1367987147499', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1367987147499#c6822264868391849841', 'author': 'name': 'Ian Azhari', 'avatarUrl': '//lh4.googleusercontent.com/-5yl2ad35O0o/AAAAAAAAAAI/AAAAAAAAAUc/dJF6jUBKyYU/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/17632395689233525313', 'displayTime': 'May 8, 2013, 9:25:00 AM', 'deleteclass': 'item-control blog-admin pid-741490364', 'id': '2629079775031032356', 'body': 'Good blog and the contents are really nice, thanks for sharing here with us.x3cbr /x3ex3cbr /x3ex3ca hrefx3dx22http://www.omnitecindia.com/x22 relx3dx22nofollowx22x3ex3cbx3eparking managementx3c/bx3ex3c/ax3ex3cbr /x3ex3ca hrefx3dx22http://www.omnitecindia.com/x22 relx3dx22nofollowx22x3ex3cbx3eparking guidancex3c/bx3ex3c/ax3ex3cbr /x3ex3ca hrefx3dx22http://www.omnitecindia.com/x22 relx3dx22nofollowx22x3ex3cbx3eparking countingx3c/bx3ex3c/ax3e', 'timestamp': '1368097785208', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1368097785208#c2629079775031032356', 'author': 'name': 'Pratheesh Omnitec', 'avatarUrl': '//lh3.googleusercontent.com/-C-5ANPxMyCU/AAAAAAAAAAI/AAAAAAAAACY/06CGEGYcr4Y/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/10009685385988905104', 'displayTime': 'May 9, 2013, 4:09:00 PM', 'deleteclass': 'item-control blog-admin pid-204162499', 'id': '4448836827940740673', 'body': 'how to remove google+ comment from my blog - http://www.fileshosts.blogspot.com , i want to go back with normal comment system. this is to difficult to manage google+ comment on my blog please help me about it thanks', 'timestamp': '1371058256201', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1371058256201#c4448836827940740673', 'author': 'name': 'wajid maqsood', 'avatarUrl': '//lh6.googleusercontent.com/-5f39ZU57jz8/AAAAAAAAAAI/AAAAAAAAAPk/VwP_9uCdrAw/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/03258545947762527367', 'displayTime': 'Jun 12, 2013, 10:30:00 PM', 'deleteclass': 'item-control blog-admin pid-806841264', 'id': '8947865439830740762', 'body': 'I have accidently got two Google+ icons on my blog. How do I delete one?x3cbr /x3e', 'timestamp': '1373879534552', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1373879534552#c8947865439830740762', 'author': 'name': 'Gillian Northcott', 'avatarUrl': '//lh3.googleusercontent.com/-4rfGbYZJmU0/AAAAAAAAAAI/AAAAAAAADGA/dl-Uel8TrNs/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/09999115123629491265', 'displayTime': 'Jul 15, 2013, 2:12:00 PM', 'deleteclass': 'item-control blog-admin pid-240643261', 'id': '1929838923528831543', 'body': 'Good efforts, keep it up and update the all sections and content regularly, x3cbr /x3ealso comments on my blogx3cbr /x3ehttp://technologywithsolutions.blogspot.com/x3cbr /x3ehttp://cartoonjets.blogspot.com/', 'timestamp': '1395943862837', 'permalink': 'https://www.mybloggertricks.com/2013/04/google-plus-comments-on-blogger.html?showCommentx3d1395943862837#c1929838923528831543', 'author': 'name': 'Awais Rehman', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/10664768814183357640', 'displayTime': 'Mar 27, 2014, 11:11:00 PM', 'deleteclass': 'item-control blog-admin pid-319007693'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '6775812135494455869', 'feed': 'https://www.mybloggertricks.com/feeds/6775812135494455869/comments/default', 'authorName': 'Qasim Zaib', 'authorUrl': 'https://www.blogger.com/profile/08938578237404814539', 'baseUri': 'https://www.blogger.com', 'maxThreadDepth': 2;
// 0)
cursor = parseInt(items[items.length - 1].timestamp) + 1;
var bodyFromEntry = function(entry)
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.contentRemoved')
return '' + entry.content.$t + '';
return entry.content.$t;
var parse = function(data)
cursor = null;
var comments = ;
if (data && data.feed && data.feed.entry)
for (var i = 0, entry; entry = data.feed.entry[i]; i++)
var comment = ;
// comment ID, parsed out of the original id format
var id = /blog-(d+).post-(d+)/.exec(entry.id.$t);
comment.id = id ? id[2] : null;
comment.body = bodyFromEntry(entry);
comment.timestamp = Date.parse(entry.published.$t) + '';
if (entry.author && entry.author.constructor === Array)
var auth = entry.author[0];
if (auth)
comment.author =
name: (auth.name ? auth.name.$t : undefined),
profileUrl: (auth.uri ? auth.uri.$t : undefined),
avatarUrl: (auth.gd$image ? auth.gd$image.src : undefined)
;
if (entry.link)
if (entry.link[2])
comment.link = comment.permalink = entry.link[2].href;
if (entry.link[3])
var pid = /.*comments/default/(d+)?.*/.exec(entry.link[3].href);
if (pid && pid[1])
comment.parentId = pid[1];
comment.deleteclass = 'item-control blog-admin';
if (entry.gd$extendedProperty)
for (var k in entry.gd$extendedProperty)
if (entry.gd$extendedProperty[k].name == 'blogger.itemClass')
comment.deleteclass += ' ' + entry.gd$extendedProperty[k].value;
else if (entry.gd$extendedProperty[k].name == 'blogger.displayTime')
comment.displayTime = entry.gd$extendedProperty[k].value;
comments.push(comment);
return comments;
;
var paginator = function(callback) {
if (hasMore()) {
var url = config.feed + '?alt=json&v=2&orderby=published&reverse=false&max-results=50';
if (cursor)
url += '&published-min=' + new Date(cursor).toISOString();
window.bloggercomments = function(data) {
var parsed = parse(data);
cursor = parsed.length
Syed Faizan AliApr 21, 2013, 12:41:00 AM
You just need a Small Tweak to make it working on Custom Blogger Templates.
Here's the Tip
<!-- MBL Tweak (www.mybloggerlab.com) -->
<div class='cmt_iframe_holder' data-viewtype='FILTERED_POSTMOD' expr:href='data:blog.canonicalUrl'/>
Cheers.
ReplyDelete
Hari keshApr 21, 2013, 8:29:00 AM
@Syed Faizan Ali
If I make the tweek also I was unable to get the google+ comments can you plz help me.
ReplyDelete
Replies
Syed Faizan AliApr 21, 2013, 10:08:00 AM
You have to first enable the google+ comments then add the code it works quite well I checked on many theme and it works just fine
Delete
Aravind PallaApr 21, 2013, 1:36:00 PM
I need this for Custom templates.
Regards,
Aravind,
Bloggers Lab
ReplyDelete
Daniel Benny SimanjuntakApr 21, 2013, 4:57:00 PM
This is an ideal combination for both Blogger and Google+. I like especially the ability to have comments from both sources feed in to both systems, and the layered integration of Circles. :)
ReplyDelete
Mehul MohanApr 21, 2013, 5:14:00 PM
Mohammad,
I guess you should switch to Disqus. It is a smart choice. It will automatically separate all comments with links. :)
ReplyDelete
Zeeshan AhmedApr 21, 2013, 10:29:00 PM
Great Improvement, but having some confusion :/ u can't see comment stats in Blogger Dashboard, as u see in normal commenting system..
The Tricks Lab
ReplyDelete
Peter MutisoApr 22, 2013, 2:04:00 AM
I don't think this is a good feature from Bloger team. I guess Google what to promote its Gmail services because your readers will need to have it before commenting - it tried it and disabled it immediately
How To Make Money Online
ReplyDelete
ayman djebaliApr 22, 2013, 4:36:00 AM
Thanks muhammad
VISIT me
www.bbloggertutorials.blogspot.com
ReplyDelete
Parash DevkotaApr 22, 2013, 11:23:00 AM
What about anonymous commentors?
this means it is a must for commentors to have a google+ account.
ReplyDelete
bestofshayariApr 22, 2013, 12:50:00 PM
hammer from google thiis time,google is day by day making blogger cometitve and professional to compete wuth the sites like wordpress.and this feature will increase blogger exposure for no doubt.Best of shayari
ReplyDelete
Pedro FumeroApr 22, 2013, 3:08:00 PM
In my template no active :(
ReplyDelete
Jennifer KashyapApr 22, 2013, 5:19:00 PM
I use Disqus..so it becomes pretty easy for sharing and commenting.
Regards,
Jennifer
Web Design Company Kolkata
ReplyDelete
Parwinder Singh BhanguApr 22, 2013, 8:07:00 PM
Google want to make Google+ More popular that is why Google decided to increase the Google+ conversations by integrating Google+ comments in Blogger's Blog.
My Website HiFiFun.Com - All Kind Of Tips and Tricks!
ReplyDelete
Qasim ZaibApr 22, 2013, 8:51:00 PM
@Hafeez Khanyou're welcome....the tutorial for custom templates is coming up soon, so stay tuned. And please, do avoid these fancy signatures
ReplyDelete
Qasim ZaibApr 22, 2013, 8:54:00 PM
@Zeeshan Ahmedthank you for pointing this out......we'll look into this soon
ReplyDelete
Qasim ZaibApr 22, 2013, 8:55:00 PM
@Parash Devkotayes, and that is a let down. Do wait for our post on some disadvantages of using this system which is coming up soon. Stay tuned :)
ReplyDelete
Qasim ZaibApr 22, 2013, 8:56:00 PM
@Pedro Fumeroupgrade/link to Google Plus account first
ReplyDelete
Virlyz NyzamApr 23, 2013, 2:33:00 PM
nice info..i will try
ReplyDelete
Ian AzhariMay 8, 2013, 9:25:00 AM
assalamualikum..
now I think when I use google+ comment in my blog,, i so fun and be help,,
but now I want you to help me to make recent comment in google+ comment,, thanks mohammad..
ReplyDelete
Pratheesh OmnitecMay 9, 2013, 4:09:00 PM
Good blog and the contents are really nice, thanks for sharing here with us.
parking management
parking guidance
parking counting
ReplyDelete
wajid maqsoodJun 12, 2013, 10:30:00 PM
how to remove google+ comment from my blog - http://www.fileshosts.blogspot.com , i want to go back with normal comment system. this is to difficult to manage google+ comment on my blog please help me about it thanks
ReplyDelete
Gillian NorthcottJul 15, 2013, 2:12:00 PM
I have accidently got two Google+ icons on my blog. How do I delete one?
ReplyDelete
Awais RehmanMar 27, 2014, 11:11:00 PM
Good efforts, keep it up and update the all sections and content regularly,
also comments on my blog
http://technologywithsolutions.blogspot.com/
http://cartoonjets.blogspot.com/
ReplyDelete