Sunday, 7 October 2012

How to Add Facebook Comment Box to Blogger Blogs



Bloggers that wish to be successful in their blogging career cannot separate their blog from Facebook since it is one of the top channels to increase blog traffic.


Facebook-Comment-Box-For-Blogger

Facebook comment box is a useful tool for bloggers to increase & improve conversations and drive more traffic since the post commented on by your blog visitors will be shown on the visitor’s wall on Facebook.

Today, I want to share a simple process that will enable bloggers to add Facebook Comment box to their blogs without any ado.

How to Apply Facebook Comment Box on Blogger Blog


Step:1 ==> Create a Facebook App ID

1. You need a Facebook App Id. Go to Facebook Developers Page to create one.

2. Click on "+ Create New App" a window will pop out, so enter your blog Name and click on "Continue" as shown in the image below:

3. A new app id will be given to you like the one you're seeing below, so note down your APP ID.

Step:2 ==> Add Comment Box Code To Blog Templates

1. Go to your Dashboard >> Templates >> Edit HTML and Expand Widget Templates checkbox.

2.Use CTRL + F key on your computer keyboard to search for <html and replace it with the code below.
<html xmlns:fb='http://www.facebook.com/2008/fbml'

3. Search for <body> tag in you template and add the code below after it.
<div id='fb-root'/>
<script>
    window.fbAsyncInit = function() {
    FB.init({
      appId  : &#39;YOUR_APP_ID&#39;,
      status : true, // check login status
        cookie : true, // enable cookies to allow the server to access the   session
      xfbml  : true  // parse XFBML
    });
  };
    (function() {
    var e = document.createElement(&#39;script&#39;);
      e.src = document.location.protocol +   &#39;//connect.facebook.net/en_US/all.js&#39;;
    e.async = true;
      document.getElementById(&#39;fb-root&#39;).appendChild(e);
    }());
</script>

4. Replace YOUR_APP_ID with the App ID you note in Step 1 above.

5. Search for </head> tag and add the open graph meta tags below above the </head> tag
<meta expr:content='data:blog.pageTitle' property='og:title'/>
<meta expr:content='data:blog.url' property='og:url'/> 
<meta content='Ideas And Reviews' property='og:site_name'/> 
<meta content='YOUR_BLOG_LOGO_IMAGE_LINK' property='og:image'/> 
<meta content='YOUR_APP_ID' property='fb:app_id'/> 
<meta content='http://www.facebook.com/IdeasandReviews' property='fb:admins'/> 
<meta content='article' property='og:type'/>

Now Make the Following Changes on the Code above:
Replace Ideas Ans Reviews with your blog name.
Replace YOUR_BLOG_LOGO_IMAGE_LINK with your blog logo image url.
Replace YOUR_APP_ID with your app id.
Replace http://www.facebook.com/IdeasandReviews with your Facebook page url.

6. Search for the any of these tag:
<p class='post-footer-line post-footer-line-3'>
or
<div class='post-footer-line post-footer-line-3'>
or
<data:post.body/>
Add the code below after any of the tags above and save your template.

<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div style='padding:0px 0px 0px 0px; margin:0px 0px 0px 0px;'><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>
<div> <fb:comments  colorscheme='light' expr:href='data:post.url' expr:title='data:post.title' expr:xid='data:post.id' width='520'/></div>
<div style='color:#fff; background-color:#3B5998;border: solid 1px #ddd; font-size:10px; padding:3px;'>Facebook Blogger Plugin by <b><a alt='blogger templates' href='http://www.ajaxpanex.blogspot.com/' style='text-decoration:underline; color:#fff;' target='_blank' title='blogger templates'>ajaxpanex.blogspot.com</a></b> | <b><a alt='Facebook-Comment-Box-widgets' href='http://ajaxpanex.blogspot.in/2012/10/add-pinterest-pin-it-button-with.html' style='text-decoration:underline; color:#fff;' target='_blank' title='Blogger Widgets'>Get Widget</a></b></div></div>
</b:if>
  •  If you want to use the dark scheme then simply replace light with dark
  • To change the Comments box size, change this value width='520'

You can keep Facebook Comment box and Blogger default comment box. But in case you want to make Facebook comment box your default comment box, go to Settings > Posts and Comments and set the Show Comments option to Hide and Save the Settings.


Finish!

10 Awesome Cursors for Bloggers



You can make your Blog stand out among others by changing your blog mouse cursor so that whenever anybody reaches your blog, their computer default mouse will change to the one you have configured with your blog.

Cursors-for-Bloggers

Here are 10 awesome cursors that can be used on blogger blogs. You only have to follow a few steps to get it working on your blog. Follow the instructions below.

Steps to Install a New Cursor to your Blog

1. Login to your blog “Dashboard” ==> “Templates” ==> tick “Edit HTML”.
2. Now search for the closing head tag i.e. </head>.
3. Finally, copy and paste the code of the mouse that you love best before/above </head> tag.

Cursor.1
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/Arrow_02.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a>

Cursor.2
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/bluemultiglit.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a> 

Cursor.3
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/tail2.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a> 

Cursor.4
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/bounce.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a> 

Cursor.5
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/apple-tmani.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a> 

Cursor.6
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/aliendance.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a> 

Cursor.7
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/Fly_2.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a> 

Cursor.8
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/Halloween_2.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a> 

Cursor.9
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/Heart.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a> 

Cursor.10
<style type="text/css">body, a:hover {cursor: url(http://justnaira-css-js.googlecode.com/svn/mouse/horse-ani1.gif), progress;}</style><a href="http://www.justnaira.com" target="_blank" title="Blogger Widgets"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_nmoW7116bbsn6RSx9dmQ4FbXHVTQ7NUjN7g1dzeoOuNVmEkdoDrfpxW5K1UYfH-d_0dN8ZQ-J2T9XimanUts8exGd_VVGAMz_gEPDFA7BXWXEy1TlRNS0LhT93VoyraAyvOcKrw7ZQ/s1600/www.justnaira.com.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a>

Add Pinterest Pin It Button With Counter To Blogger

Add Pinterest Pin It Button With Counter To Blogger
In case you are unfamiliar, Pinterest is an online pinboard that allows users to share images they find over the web -by “pinning” them on their boards. The pinned image is linked to the original webpage or blog post location, giving users the chance to visit the source directly.

A Pin It button is what Like button is to Facebook or Tweet button is to Twitter, as it allows users to share your posts without having to leave your blog. It also displays how many times a blog post has been shared.

Now let's see how to add this Printerest Pin It button to blogger.

How To Add Pinterest Pin It Button With Counter To Blogger?

1. Go to Blogger Dashboard > Template > Edit HTML.
2. Back up your template.
3. Check the Expand Widget Templates checkbox.
4. Search (Ctrl + F) for the following code tag in your HTML.

<data:post.body/>

Note:
There are two instances of the tag present in your template. Locate the the first (from top) one.

5. Copy and paste the following code immediately below/after it:

<!-- Pinterest Button Start -->
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<div id='pin-wrapper' style='margin:5px 10px 5px 0; text-align: left;'>
<a class='pin-it-button' count-layout='horizontal' expr:href='&quot;http://pinterest.com/pin/create/button/?url=&quot; + data:post.url'>Pin It</a>
<a href='javascript:void(run_pinmarklet())' style='margin-left:-93px; width:43px; height:20px; display:inline-block;'/>
</div> 
<script src='http://assets.pinterest.com/js/pinit.js' type='text/javascript'/>
<script type='text/javascript'>
function run_pinmarklet() {
    var e=document.createElement(&#39;script&#39;);
    e.setAttribute(&#39;type&#39;,&#39;text/javascript&#39;);
    e.setAttribute(&#39;charset&#39;,&#39;UTF-8&#39;);
    e.setAttribute(&#39;src&#39;,&#39;http://assets.pinterest.com/js/pinmarklet.js?r=&#39; + Math.random()*99999999);
    document.body.appendChild(e);
}
</script>  
</b:if> 
<!-- Pinterest Button End -->

6. Save.

Button configuration:
  • You can customize the layout of Pin It button & counter by changing the value of count-layout attribute in step 5. Refer to the table below for the available types and their settings.


Button type

count-layout value

margin-left (in line 5) value
pinterest pin-it button vertical
vertical

-46px
pinterest pin-it button horizontal
horizontal

-93px
pinterest pin-it button no count
none

-46px

Button repositioning:

The steps above positioned the button on bottom left of each post. You can change the position if you wish:
  • Position it on top of post
  • Place the button code before <data:post.body/>, instead of after.
  • Position it on the right
  • Change the float in the code from left to right.
Blogger Widgets