Show Random Headlines Inside Sticky Floating Bar


Ever wondered to create a Sticky Floating Bar to show Random headlines on your blog? We recently developed a small plugin in wordpress which we have implemented on our third blog hosted on wordpress and also on BlogSpot blogs of our existing clients. We introduced several versions of sticky bars for blogger blogs in 2012 but this one adds an extra functionality. It will show a random post on each page refresh! It uses Feedburner JavaScript snippet to fetch recent headlines from your Feeds and then displays a title randomly when user refreshes the webpage or navigates between pages. Also contains a toggle button to show and hide the headlines. You can customize it easily and change its location to top of page or at footer. Works best with fluid and responsive designs. The analytics for our newly launched blog has shown an amazing 30% increase in Pageviews just after we installed this plugin. I have developed both static and dynamic versions of it for both Blogger and Wordpress Genesis Framework.


Today's tutorial will guide you in installing this amazing plugin on your blogger blogs to multiply every unique visit. Lets get to work then!


 



DEMO


Activate Recent Headlines on Feedburner?




Note: For Dynamic version only. If you wish to add a static/manual version of this plugin then skip this step.
For the dynamic version of this plugin you will need to have Feeds stored at feedburner.


  1. Go To Feedburner > Publicize > BuzzBoost
  2. Uncheck all the boxes. Keep number of items 15 or you can choose All to select all posts have your published so far. Make links open in same window.
  3. Click Save to activate the List of your recent posts.






25
comments





PLEASE NOTE:



We have Zero Tolerance to Spam.

Chessy Comments and Comments with
'Links'
will be deleted immediately upon our review.



(function() {
var items = ['id': '4770186711430713897', 'body': 'Really Another Great Widget By MBT Thanks For Sharing Thumbs To MBT', 'timestamp': '1374357779477', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374357779477#c4770186711430713897', 'author': 'name': 'Abdul Samad', 'avatarUrl': '//lh3.googleusercontent.com/-IUoeb-UIads/AAAAAAAAAAI/AAAAAAAAACY/xOOmjXY3KGI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/18097874675345731909', 'displayTime': 'Jul 21, 2013, 3:02:00 AM', 'deleteclass': 'item-control blog-admin pid-535463643', 'id': '441208871326907285', 'body': 'great widget for audience, thank you for sharing this.', 'timestamp': '1374365225165', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374365225165#c441208871326907285', 'author': 'name': 'Adi Winata', 'avatarUrl': '//lh4.googleusercontent.com/-dpuW6QXVLEQ/AAAAAAAAAAI/AAAAAAAAAEQ/lQFMim9Rczo/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/00619611669772162040', 'displayTime': 'Jul 21, 2013, 5:07:00 AM', 'deleteclass': 'item-control blog-admin pid-2044426226', 'id': '386645142158596127', 'body': 'Amazing widget Special Thanks to Muhammad Mustafa Sir......', 'timestamp': '1374378910029', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374378910029#c386645142158596127', 'author': 'name': 'Hafeez Khan', 'avatarUrl': '//lh5.googleusercontent.com/-g_HuIQ1v4d4/AAAAAAAAAAI/AAAAAAAAAYA/-JMAHdH_51A/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11323379512452748145', 'displayTime': 'Jul 21, 2013, 8:55:00 AM', 'deleteclass': 'item-control blog-admin pid-199914664', 'id': '2788234994563632039', 'body': 'Amazing widget . ', 'timestamp': '1374384435337', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374384435337#c2788234994563632039', 'author': 'name': 'Alief Rezki', 'avatarUrl': '//lh5.googleusercontent.com/-oC9lJih4wak/AAAAAAAAAAI/AAAAAAAAAdU/5kb455uQOjw/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/00305225147558275291', 'displayTime': 'Jul 21, 2013, 10:27:00 AM', 'deleteclass': 'item-control blog-admin pid-1869570203', 'id': '8637927350838753382', 'body': 'well great widget bro working fine, i tried it looking great.x3cbr /x3eone thing i wana ask that the random post which are showing are changing after every refresh of page.x3cbr /x3eif you can make it time based after every 2-3 sec posts automatically gets changed. if it is possible let me know.x3cbr /x3e', 'timestamp': '1374387029693', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374387029693#c8637927350838753382', 'author': 'name': 'Mohammad Yaseen M.Y.B', 'avatarUrl': '//lh5.googleusercontent.com/-zUONjrrkN-s/AAAAAAAAAAI/AAAAAAAAHkA/ViDre84IdBM/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/17851521163045524502', 'displayTime': 'Jul 21, 2013, 11:10:00 AM', 'deleteclass': 'item-control blog-admin pid-585466208', 'id': '3091446155984848739', 'body': 'Great (y)x3cbr /x3ex3cbr /x3eInstalled :Dx3cbr /x3ex3cbr /x3eKindly check the links in your article', 'timestamp': '1374405485194', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374405485194#c3091446155984848739', 'author': 'name': 'Haider Afridi', 'avatarUrl': '//lh4.googleusercontent.com/-44MCwY5Nzlo/AAAAAAAAAAI/AAAAAAAASmg/9J8IQvQtqw4/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/15481591518444075766', 'displayTime': 'Jul 21, 2013, 4:18:00 PM', 'deleteclass': 'item-control blog-admin pid-1110849571', 'id': '8200480047731385364', 'body': 'Really cool widget Mohammad bro.x3cbr /x3eYou said that you create it for wordpress too. Can you please provide me this plugin for wordpress??', 'timestamp': '1374427608424', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374427608424#c8200480047731385364', 'author': 'name': 'Ankit Kumar Singla', 'avatarUrl': '//lh6.googleusercontent.com/-lLEJ_rhBMzg/AAAAAAAAAAI/AAAAAAAADeE/t9VWPUIuevs/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/10969988872596518558', 'displayTime': 'Jul 21, 2013, 10:26:00 PM', 'deleteclass': 'item-control blog-admin pid-2117266090', 'id': '4751749664695745534', 'body': 'Hey Mustafa bro I must tell you that itx26#39;s an awesome widget....and itx26#39;s perfect for my blog, as it is based on tech news around the world....So I can use it to show the breaking news...the best part is you made it sticky...i loved it, and will be using it soon.....x3cbr /x3ex3cbr /x3eBro I have a off topic question....please help me...I enabled share this button to my blog (techstake.org)....the problem is it is sharing the home page instead of post url....it is hampering my blogx26#39;s growth.....Can you please look in to my blogx26#39;s source code, and tell what am I doing wrong? Please....', 'timestamp': '1374475612680', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374475612680#c4751749664695745534', 'author': 'name': 'Aditya Dey', 'avatarUrl': '//lh3.googleusercontent.com/-fATyVTDc-SU/AAAAAAAAAAI/AAAAAAAAAsI/vD9OrQfqrME/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11420995429429060322', 'displayTime': 'Jul 22, 2013, 11:46:00 AM', 'deleteclass': 'item-control blog-admin pid-677998189', 'id': '6723303362414465748', 'body': 'Awesome widget for blogger. Thanks for sharing... MBT is the Best... Thanks.......x3cbr /x3ex3cbr /x3eRegards,x3cbr /x3eDixit [Triposoft.com]', 'timestamp': '1374501429091', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374501429091#c6723303362414465748', 'author': 'name': 'Dixit Dhinakaran', 'avatarUrl': '//lh6.googleusercontent.com/-b3XEnogP9Ww/AAAAAAAAAAI/AAAAAAAAFCo/XoRi-i9tmkg/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/13621688387537499121', 'displayTime': 'Jul 22, 2013, 6:57:00 PM', 'deleteclass': 'item-control blog-admin pid-244860205', 'id': '8735544875389657288', 'parentId': '8637927350838753382', 'body': 'Dear Yaseen that is a brilliant idea. Let me try this out too :)', 'timestamp': '1374884109054', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374884109054#c8735544875389657288', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Jul 27, 2013, 5:15:00 AM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '4635600346296498414', 'parentId': '3091446155984848739', 'body': 'Thanks haider you saved me again ! x3dp', 'timestamp': '1374884136088', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374884136088#c4635600346296498414', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Jul 27, 2013, 5:15:00 AM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '8391191258502712516', 'parentId': '8200480047731385364', 'body': 'sure we did ankit. Read: x3ca hrefx3dx22http://www.mybloggertricks.com/2013/07/create-sticky-floating-bar-in-genesis.htmlx22 relx3dx22nofollowx22x3eStickybar for Wordpressx3c/ax3e', 'timestamp': '1374884492704', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374884492704#c8391191258502712516', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Jul 27, 2013, 5:21:00 AM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '7748678830010685207', 'parentId': '4751749664695745534', 'body': 'please use the sharing URLS given on this widget: http://www.mybloggertricks.com/2012/05/create-floating-bar-for-pinterest-other.htmlx3cbr /x3ex3cbr /x3eU need dynamic XML tags to mention item pagesx3cbr /x3ex3cbr /x3eAbout the feedback, I loved it! :)', 'timestamp': '1374886317416', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1374886317416#c7748678830010685207', 'author': 'name': 'Mohammad Mustafa Ahmedzai', 'avatarUrl': '//lh4.googleusercontent.com/-f8qSqNLtpBU/AAAAAAAAAAI/AAAAAAAAJZA/Yfbvp1almlI/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/11681339458447132019', 'displayTime': 'Jul 27, 2013, 5:51:00 AM', 'deleteclass': 'item-control blog-admin pid-1736397285', 'id': '7546878945720969055', 'parentId': '8637927350838753382', 'body': 'Dear Mohammad, really great plugin your teams develope. Ix26#39;ll too want to know if it can be randomized 10-20 seconds. x3d)', 'timestamp': '1377008954411', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1377008954411#c7546878945720969055', 'author': 'name': '依之汉', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiV34HVjZgpqWxmDPP_RXH62pmiIQZvt2OGp_YjuILXc_Q-i38p-OhkLEJrdF5zvuggFGAgJPNJFAw33T3QcLvVgs8tLgnxiA64enNuocoNNrPvp5qy-bfdUaQAbJ1Pv3dI-5lKTWN7oVI/s35/bersama%25252Bdengan%25252Bpejuan%25252Bpalestin.jpg', 'profileUrl': 'https://www.blogger.com/profile/01905723176175154147', 'displayTime': 'Aug 20, 2013, 7:29:00 PM', 'deleteclass': 'item-control blog-admin pid-1258042153', 'id': '1387531630072680345', 'body': 'fkin nice!!! :D', 'timestamp': '1390411895817', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1390411895817#c1387531630072680345', 'author': 'name': 'Gratitude', 'avatarUrl': 'https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtKXGuHm3hmh06G-OmzqTXo3dRtpyqUApGV4MnMBl84oeW1YLyrrcWro9GBm_FEh74prq8r0APovWsd4-V0kgnSvmrxdavZeDUIPdFMbWMw7Y9XYRVEh0bVZHPt7KLvSuX9FiTk8PnxYY/s35/68705_126469120742760_100001390173520_175154_5992098_n.jpg', 'profileUrl': 'https://www.blogger.com/profile/14792972158504889639', 'displayTime': 'Jan 22, 2014, 10:31:00 PM', 'deleteclass': 'item-control blog-admin pid-942906909', 'id': '6226797732859325243', 'body': 'Thanks Pakistani buddy! keep it up. I have apply this in my blog. Im feeling very happy. take a look plz :-) bloggingstate.blogspot.com', 'timestamp': '1390497255411', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1390497255411#c6226797732859325243', 'author': 'name': 'Blogging State', 'avatarUrl': '//lh3.googleusercontent.com/zFdxGE77vvD2w5xHy6jkVuElKv-U9_9qLkRYK8OnbDeJPtjSZ82UPq5w6hJ-SAx3ds35', 'profileUrl': 'https://www.blogger.com/profile/13607272714680769790', 'displayTime': 'Jan 23, 2014, 10:14:00 PM', 'deleteclass': 'item-control blog-admin pid-317753082', 'id': '7149035706948426921', 'body': 'Sallam x3cbr /x3ei add Show Random Headlines in my blogger (pctracke.blogspot.com) but still not show headline and content plz help x3cbr /x3eand i paste feed burner BuzzBoost html link', 'timestamp': '1392060625050', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1392060625050#c7149035706948426921', 'author': 'name': 'Anoosh Mir', 'avatarUrl': '//lh5.googleusercontent.com/-TYDir_5sTI8/AAAAAAAAAAI/AAAAAAAAAtg/z3h5qYcsEsQ/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/00242289616226601456', 'displayTime': 'Feb 11, 2014, 12:30:00 AM', 'deleteclass': 'item-control blog-admin pid-445912047', 'id': '3396089287463258162', 'body': 'Can I Use Headline gadget in www.ctoptips.blogspot.com ?', 'timestamp': '1396149322182', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1396149322182#c3396089287463258162', 'author': 'name': 'A.S.M. Jibon', 'avatarUrl': '//lh3.googleusercontent.com/-a9K464LrORg/AAAAAAAAAAI/AAAAAAAAACY/xAiL8lvv9nw/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/00624001490008463734', 'displayTime': 'Mar 30, 2014, 8:15:00 AM', 'deleteclass': 'item-control blog-admin pid-1759201106', 'id': '7125811881354507945', 'body': 'awesome sticky bar from Mbt..', 'timestamp': '1396182238211', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1396182238211#c7125811881354507945', 'author': 'name': 'salim ali', 'avatarUrl': '//lh6.googleusercontent.com/-sUkdE2_Gu4k/AAAAAAAAAAI/AAAAAAAABOo/N4T5HRvRnVk/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/09127084568850466970', 'displayTime': 'Mar 30, 2014, 5:23:00 PM', 'deleteclass': 'item-control blog-admin pid-1581136403', 'id': '2010059518255799352', 'body': 'Nice x3ca hrefx3dx22http://www.8ruuux.comx22 relx3dx22nofollowx22x3ex3c/ax3e I liked the Manual method though .x3ca hrefx3dx22http://www.8ruuux.comx22 relx3dx22nofollowx22x3ex3c/ax3e well done MBT .x3ca hrefx3dx22http://www.8ruuux.comx22 relx3dx22nofollowx22x3e.x3c/ax3ex3cbr /x3eregards from x3ca hrefx3dx22http://www.8ruuux.comx22 relx3dx22nofollowx22x3e8ruuux networkx3c/ax3e', 'timestamp': '1398151333879', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1398151333879#c2010059518255799352', 'author': 'name': 'merry nuts', 'avatarUrl': '//lh3.googleusercontent.com/-VeSTak6fjx8/AAAAAAAAAAI/AAAAAAAAACM/gBcrrK27uac/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/06804436848382563475', 'displayTime': 'Apr 22, 2014, 12:22:00 PM', 'deleteclass': 'item-control blog-admin pid-1639407146', 'id': '2107562428714228041', 'body': 'Thatx26#39;s what I am searching for a couple of weeks. Thanks Mohammad, u provided another wonderful code for getting more hits on my blog.x3cbr /x3ex3cbr /x3eFurther, can we make it in a way to show random posts only from a particular category? x3cbr /x3eLike in my case of x3ca hrefx3dx22http://www.u18.edu.in/blog/x22 relx3dx22nofollowx22x3eonline MBA education blogx3c/ax3e, I want to show random posts only from the category of x26quot;higher educationx26quot; only in the notification bar.', 'timestamp': '1398315148777', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1398315148777#c2107562428714228041', 'author': 'name': 'Anonymous', 'avatarUrl': '//img1.blogblog.com/img/blank.gif', 'profileUrl': '', 'displayTime': 'Apr 24, 2014, 9:52:00 AM', 'deleteclass': 'item-control blog-admin pid-531334590', 'id': '6148318984371351226', 'body': 'great :)x3cbr /x3ehttp://www.blogolect.blogspot.com', 'timestamp': '1398536962622', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1398536962622#c6148318984371351226', 'author': 'name': 'Zohaib Liaqat', 'avatarUrl': '//lh4.googleusercontent.com/-dnCb_BUDdMs/AAAAAAAAAAI/AAAAAAAAELE/lS_tBprxEIo/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/07449069904813158778', 'displayTime': 'Apr 26, 2014, 11:29:00 PM', 'deleteclass': 'item-control blog-admin pid-1738013547', 'id': '4539081936290112169', 'body': 'how can i put a text message before the title of the post that appear on this sticky footer??? x3cbr /x3elike: x26quot;suggestionx26quot; x26quot;read thisx26quot; etc etc', 'timestamp': '1402916588614', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1402916588614#c4539081936290112169', 'author': 'name': 'Paulo Henrique Staudt', 'avatarUrl': '//lh5.googleusercontent.com/-oRXdkqR8hoE/AAAAAAAAAAI/AAAAAAAAAC8/ULnIJPsv50Y/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/18361532932363182722', 'displayTime': 'Jun 16, 2014, 4:03:00 PM', 'deleteclass': 'item-control blog-admin pid-2000288992', 'id': '6678553662014819351', 'body': 'just awesome. thanks for share', 'timestamp': '1407833717944', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1407833717944#c6678553662014819351', 'author': 'name': 'New Planet', 'avatarUrl': '//lh4.googleusercontent.com/-2_2pZhvSk-k/AAAAAAAAAAI/AAAAAAAABAA/0ZTywNDMpDE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/10977830763270019692', 'displayTime': 'Aug 12, 2014, 1:55:00 PM', 'deleteclass': 'item-control blog-admin pid-1740759230', 'id': '5946130011534882326', 'body': 'Worked Beautifully :) Thanks a lot', 'timestamp': '1412890332321', 'permalink': 'https://www.mybloggertricks.com/2013/07/create-sticky-floating-footer-bar-in-blogger.html?showCommentx3d1412890332321#c5946130011534882326', 'author': 'name': 'Amol Shah', 'avatarUrl': '//lh6.googleusercontent.com/-Ps5Kx15Ppbs/AAAAAAAAAAI/AAAAAAAAAl0/pywqSn2vtAE/s35-c/photo.jpg', 'profileUrl': 'https://www.blogger.com/profile/04687547460234588850', 'displayTime': 'Oct 10, 2014, 2:32:00 AM', 'deleteclass': 'item-control blog-admin pid-1928255050'];
var msgs = 'loadMore': 'Load more...', 'loading': 'Loading...', 'loaded': 'No more!', 'addComment': 'Add comment', 'reply': 'Reply', 'delete': 'Delete';
var config = 'blogId': '8193278726666811965', 'postId': '5963512365673957303', 'feed': 'https://www.mybloggertricks.com/feeds/5963512365673957303/comments/default', 'authorName': 'M. Mustafa Ahmedzai', 'authorUrl': 'https://www.blogger.com/profile/11681339458447132019', '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






  1. Abdul SamadJul 21, 2013, 3:02:00 AM

    Really Another Great Widget By MBT Thanks For Sharing Thumbs To MBT


    ReplyDelete








  2. Adi WinataJul 21, 2013, 5:07:00 AM

    great widget for audience, thank you for sharing this.


    ReplyDelete








  3. Hafeez KhanJul 21, 2013, 8:55:00 AM

    Amazing widget Special Thanks to Muhammad Mustafa Sir......


    ReplyDelete








  4. Alief RezkiJul 21, 2013, 10:27:00 AM

    Amazing widget .


    ReplyDelete








  5. Mohammad Yaseen M.Y.BJul 21, 2013, 11:10:00 AM

    well great widget bro working fine, i tried it looking great.
    one thing i wana ask that the random post which are showing are changing after every refresh of page.
    if you can make it time based after every 2-3 sec posts automatically gets changed. if it is possible let me know.


    ReplyDelete


    Replies





    1. Mohammad Mustafa AhmedzaiJul 27, 2013, 5:15:00 AM

      Dear Yaseen that is a brilliant idea. Let me try this out too :)


      Delete








    2. 依之汉Aug 20, 2013, 7:29:00 PM

      Dear Mohammad, really great plugin your teams develope. I'll too want to know if it can be randomized 10-20 seconds. =)


      Delete





    3. Reply









  6. Haider AfridiJul 21, 2013, 4:18:00 PM

    Great (y)

    Installed :D

    Kindly check the links in your article


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiJul 27, 2013, 5:15:00 AM

      Thanks haider you saved me again ! =p


      Delete




    2. Reply









  7. Ankit Kumar SinglaJul 21, 2013, 10:26:00 PM

    Really cool widget Mohammad bro.
    You said that you create it for wordpress too. Can you please provide me this plugin for wordpress??


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiJul 27, 2013, 5:21:00 AM

      sure we did ankit. Read: Stickybar for Wordpress


      Delete




    2. Reply









  8. Aditya DeyJul 22, 2013, 11:46:00 AM

    Hey Mustafa bro I must tell you that it's an awesome widget....and it's perfect for my blog, as it is based on tech news around the world....So I can use it to show the breaking news...the best part is you made it sticky...i loved it, and will be using it soon.....

    Bro I have a off topic question....please help me...I enabled share this button to my blog (techstake.org)....the problem is it is sharing the home page instead of post url....it is hampering my blog's growth.....Can you please look in to my blog's source code, and tell what am I doing wrong? Please....


    ReplyDelete


    Replies




    1. Mohammad Mustafa AhmedzaiJul 27, 2013, 5:51:00 AM

      please use the sharing URLS given on this widget: http://www.mybloggertricks.com/2012/05/create-floating-bar-for-pinterest-other.html

      U need dynamic XML tags to mention item pages

      About the feedback, I loved it! :)


      Delete




    2. Reply









  9. Dixit DhinakaranJul 22, 2013, 6:57:00 PM

    Awesome widget for blogger. Thanks for sharing... MBT is the Best... Thanks.......

    Regards,
    Dixit [Triposoft.com]


    ReplyDelete








  10. GratitudeJan 22, 2014, 10:31:00 PM

    fkin nice!!! :D


    ReplyDelete








  11. Blogging StateJan 23, 2014, 10:14:00 PM

    Thanks Pakistani buddy! keep it up. I have apply this in my blog. Im feeling very happy. take a look plz :-) bloggingstate.blogspot.com


    ReplyDelete








  12. Anoosh MirFeb 11, 2014, 12:30:00 AM

    Sallam
    i add Show Random Headlines in my blogger (pctracke.blogspot.com) but still not show headline and content plz help
    and i paste feed burner BuzzBoost html link


    ReplyDelete








  13. A.S.M. JibonMar 30, 2014, 8:15:00 AM

    Can I Use Headline gadget in www.ctoptips.blogspot.com ?


    ReplyDelete








  14. salim aliMar 30, 2014, 5:23:00 PM

    awesome sticky bar from Mbt..


    ReplyDelete








  15. merry nutsApr 22, 2014, 12:22:00 PM

    Nice I liked the Manual method though . well done MBT ..
    regards from 8ruuux network


    ReplyDelete








  16. AnonymousApr 24, 2014, 9:52:00 AM

    That's what I am searching for a couple of weeks. Thanks Mohammad, u provided another wonderful code for getting more hits on my blog.

    Further, can we make it in a way to show random posts only from a particular category?
    Like in my case of online MBA education blog, I want to show random posts only from the category of "higher education" only in the notification bar.


    ReplyDelete








  17. Zohaib LiaqatApr 26, 2014, 11:29:00 PM

    great :)
    http://www.blogolect.blogspot.com


    ReplyDelete








  18. Paulo Henrique StaudtJun 16, 2014, 4:03:00 PM

    how can i put a text message before the title of the post that appear on this sticky footer???
    like: "suggestion" "read this" etc etc


    ReplyDelete








  19. New PlanetAug 12, 2014, 1:55:00 PM

    just awesome. thanks for share


    ReplyDelete








  20. Amol ShahOct 10, 2014, 2:32:00 AM

    Worked Beautifully :) Thanks a lot


    ReplyDelete




Add comment


Load more...












BLOG_CMT_createIframe('https://www.blogger.com/rpc_relay.html');







這個網誌中的熱門文章

Barbados

How to read a connectionString WITH PROVIDER in .NET Core?

Node.js Script on GitHub Pages or Amazon S3