Saturday, January 1, 2011

Adding Social Bookmarking Buttons Widget To blogger And Customize It.

If you are a regular user here on allblogtools.com you’ll notice that i posted many sharing and bookmarking widgets for blogger,
But a lot of users are contacting me asking to add a new one with customizable buttons and have tweet this button that working correctly with blogger.
Now lets see how to add it, then we’ll learn how to customize it to your own blog.










How To Add It.
This is a very easy widget, It’ll be done in only one step, now lets go.
Go to your blogger account, Navigate to Designà Edit Html, And make sure to check Expand
 Widget Templates,
And find the following code.

<data:post.body/>

And exactly after it, paste the next code,

<div align='left'>
  <span class='post-icons'>


<!-- Widget Title , Share This Start, Remove Or Leave-->
<p align='left'>
  <img alt='' border='0' id='BLOGGER_PHOTO_ID_5441163760466269298' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk7_0IWmcsNV94Inm0GN0kD8sIuX0Xxh-HUdzoZrvnMKfvDEqcgl0IqrHuW205725QrRlUJYcosAe0Kj-EhRJeeMxcqVxelhv8dQl3sOC_LD8HPkgWSnBubwSuFpEulC9rKlh-LlMW2as/s400/share-this.png'/></p><!-- Widget Title , Share This Start, Remove Or Leave-->

 

<!-- Stumbleupon Button Start, Remove Or leave -->
  <a expr:href='&quot;http://www.stumbleupon.com/refer.php?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Stumble This'><img alt='Stumble This' border='0' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZlAqdRcEbstCw7HUajhyphenhyphenF3t9FW-lJZGY-iqtPv5uSCH5v0Y_DTNYaxCljCsl78cUPHeugVb_7RGsY-XCALduMmlVNGP83dcn5h4zAPZzK8j-_qWD3maKiFJzEd3GeaZDEZg8RGvk4eQ/s200/stumbleupon.png'/></a>
  <!-- Stumbleupon Button End, Remove Or leave -->


<!-- Technorati Button Start, Remove Or leave -->
  <a expr:href='&quot;http://www.technorati.com/faves?add=&quot; + data:post.url' target='_blank' title='Fav This With Technorati'><img alt='Fav This With Technorati' border='0' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn1qj0kExEn4EhpiuXV8_Tw11By0DvBklXhkEr0Ft08ZeLnJtzp2fdMNooJsiJr0GKFoE2G3PzWzZacyDQ4ExarUjaQinvPoVe33Oc_TWruN6d-1nKwBeiJR5OYm82rUDoihFBpaq-5g/s200/technorati.png'/></a>
  <!-- Technorati Button End, Remove Or leave -->


<!-- Delicious Button Start, Remove Or leave -->
  <a expr:href='&quot;http://del.icio.us/post?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add To Del.icio.us'><img alt='Add To Del.icio.us' border='0' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSJPvrLU33nDr2fvBnGGmrK8O52avm5ehzKHwYCn8Vz0tvDbPLdOyV_kWczQJ4FylIPRHdxDKA-csxzIUCmJlYAPLVA2b28QzODs8YaqtklTqyGuJnROd7HK3RZw124otm8uA9NMCuug/s200/delicious.png'/></a>
  <!-- Delicious Button End, Remove Or leave -->


<!-- Digg Button Start, Remove Or leave -->
  <a expr:href='&quot;http://digg.com/submit?phase=2&amp;url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Digg This'><img alt='Digg This' border='0' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTM2wRBb7M2Q2K1gOflqO30136HfRQcElsF6I5J9ib7bbyASrLqFc8zgnuqdjU00Vp3JapYUzjj5Nc6lyCU8CSU_AV2ic94gK8z9tU1xLI7yLt5Q9DgvhCvYjEUX4L-YN83NXDaujW_g/s200/digg.png'/></a>
  <!-- Digg Button End, Remove Or leave -->


<!-- Reddit Button Start, Remove Or leave -->
  <a expr:href='&quot;http://reddit.com/submit?url=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add To Reddit'><img alt='Add To Reddit' border='0' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdZODWwc2JXA8emNr36yedOmtlmgnR6BkXzNR7GX1Mzo3WFSYfLdb9v1hgac0KjrFFXHgEdjbg9XZN-ar4Wog_SFRPdIh763oc9ILTPQu-JL3Sv-QcYw1CFf1HRz3GO1oX8i7z8lSRNQ/s200/reddit.png'/></a>
  <!-- Reddit Button End, Remove Or leave -->

 

<!-- FaceBook Button Start, Remove Or leave -->
  <a expr:href='&quot;http://www.facebook.com/sharer.php?u=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add To Facebook'><img alt='Add To Facebook' border='0' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyNCV7uOLSHbqQmsGISbleL_3WS4tNsq_-fLjIHD48g49YfiD8u5bx-fYzZYO73iRTFZS6ytkFZwF1t0ymdRM1xRRSzl6olBsjtCRWCpPdrJYGdBQPnQooHnm1gy9Lki5cVf7NqL_XmQ/s200/facebook.png'/></a>
  <!-- FaceBook Button End, Remove Or leave -->


<!-- Yahoo Button Start, Remove Or leave -->
  <a expr:href='&quot;http://myweb2.search.yahoo.com/myresults/bookmarklet?t=&quot; + data:post.url + &quot;&amp;title=&quot; + data:post.title' target='_blank' title='Add To Yahoo'><img alt='Add To Yahoo' border='0' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH2DjXvJl1P_mWOfsLWnrB2Fwdfi4r_LIsTcRdWS65doRGIBm5DaoLnED2w6TKIPUyF_VJNFkXX_guRrNW0NmvdVTLVWj-8Phuyue49gynZO9f9MYBDK9xT4ffRDzS7CjIWhyphenhyphenq39N_7A/s200/yahoo.png'/></a>
  <!-- Yahoo Button End, Remove Or leave -->

<!-- Twitter Button Start, Remove Or leave -->
  <script charset='utf-8' src='http://bit.ly/javascript-api.js?version=latest&amp;login=tweettrackjs&amp;apiKey=R_7e9987b2fd13d7e4e881f9cbb168f523' type='text/javascript'/>
  <script charset='utf-8' src='http://s.bit.ly/TweetAndTrack.js?v=1.01' type='text/javascript'/>
  <a expr:onclick='&quot;return TweetAndTrack.open(this, \&quot;&quot; + data:post.url + &quot;\&quot;);&quot;' href='#'>
  <span style='display:none;'>I&#39;m reading: <data:post.title/></span><img alt='Add To Yahoo' border='0' class='icon-action' src='http://www.cbc.ca/news/yourvoice/assets/images/yourvoice-twitter.png'/></a>
  <!-- Twitter Button End, Remove Or leave -->

</span>
  </div>


Now Just Click Save Template and you are done.


Customize the widget.
You can delete or rearrange the buttons in this widget, and you can remove the Sharethis Big sign or leave it.
Lets see how.
In the above code you’ll notice that there are lines in red and blue colors.
For example Here is a part of it.
&<!-- Technorati Button Start, Remove Or leave -->
  <a expr:href='&quot;http://www.technorati.com/faves?add=&quot; + data:post.url' target='_blank' title='Fav This With Technorati'><img alt='Fav This With Technorati' border='0' class='icon-action' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn1qj0kExEn4EhpiuXV8_Tw11By0DvBklXhkEr0Ft08ZeLnJtzp2fdMNooJsiJr0GKFoE2G3PzWzZacyDQ4ExarUjaQinvPoVe33Oc_TWruN6d-1nKwBeiJR5OYm82rUDoihFBpaq-5g/s200/technorati.png'/></a>
  <!-- Technorati Button End, Remove Or leave -->
This part of code is responsible for Technorati Button Can remove it, Move it to up or down to rearrange the widget buttons, And of curse you can do this with all the widget buttons in the same way.


Demo.
Too see a live demo for this widget please click here. Please don’t hesitate to leave your comments, feedback, or your questions.

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger