Thu
6
Dec
What is this? See four icons just above this line? This is it!
A lot of people asked me if I am familiar with any Blogger plug-in similar to Sociable for wordpress. Unfortunately my answer was always no. There are however tools to implement social bookmarks in Blogger but either they redirect you to another site or are just those one-button-wonders which never works as imagined.
Long story short; here is my javascript version with currently only four social networks but more will be added depending on interest shown by You dear visitor :).
How to use it? Copy link of your post in url field and press socialize!
function bget(bwhat){ return document.getElementById(bwhat).value } function showthis(bsite, btitle, btext){ if( (btitle == '') || (btitle == undefined) ){ s1 = bsite.lastIndexOf('/'); s2 = bsite.lastIndexOf('.'); s3 = bsite.substring(0, s1 - 1).lastIndexOf('/'); if(s2>s1){ btitle = bsite.substring(s1+1, s2).replace(/-/g, " "); } else if(s3>s2){ btitle = bsite.substring(s3+1, s1).replace(/-/g, " "); } } btitle2 = btitle.replace(/ /g, "%20"); var bsoc = ''; var checkbox_choices = 0; for (counter = 0; counter < document.getElementsByName('checkbox').length; counter++) { if (document.getElementsByName('checkbox')[counter].checked) { checkbox_choices = checkbox_choices + 1; if(document.getElementsByName('checkbox')[counter].value == 1){ bsoc = "
"; } if(document.getElementsByName('checkbox')[counter].value == 2){ bsoc = bsoc+"
"; } if(document.getElementsByName('checkbox')[counter].value == 3){ bsoc = bsoc+"
"; } if(document.getElementsByName('checkbox')[counter].value == 4){ bsoc = bsoc+"
"; } } }if (checkbox_choices < 1 ){alert("Please make three selections. \n" + checkbox_choices + " entered so far."); return (false);}document.getElementById('cpthis').value = btext+bsoc;document.getElementById('bpreview').innerHTML = btext+bsoc;}
copy/pasta below in front or at the end of your post:
Technorati
StumbleUpon
DelIcioUs
A lot of people asked me if I am familiar with any Blogger plug-in similar to Sociable for wordpress. Unfortunately my answer was always no. There are however tools to implement social bookmarks in Blogger but either they redirect you to another site or are just those one-button-wonders which never works as imagined.
Long story short; here is my javascript version with currently only four social networks but more will be added depending on interest shown by You dear visitor :).
How to use it? Copy link of your post in url field and press socialize!
function bget(bwhat){ return document.getElementById(bwhat).value } function showthis(bsite, btitle, btext){ if( (btitle == '') || (btitle == undefined) ){ s1 = bsite.lastIndexOf('/'); s2 = bsite.lastIndexOf('.'); s3 = bsite.substring(0, s1 - 1).lastIndexOf('/'); if(s2>s1){ btitle = bsite.substring(s1+1, s2).replace(/-/g, " "); } else if(s3>s2){ btitle = bsite.substring(s3+1, s1).replace(/-/g, " "); } } btitle2 = btitle.replace(/ /g, "%20"); var bsoc = ''; var checkbox_choices = 0; for (counter = 0; counter < document.getElementsByName('checkbox').length; counter++) { if (document.getElementsByName('checkbox')[counter].checked) { checkbox_choices = checkbox_choices + 1; if(document.getElementsByName('checkbox')[counter].value == 1){ bsoc = "
preview:
copy/pasta below in front or at the end of your post:
pretext (optional)
url (it's a must)
title (if none script will assign an appropriate one)
DiggTechnorati
StumbleUpon
DelIcioUs
Author:
Time:
Thursday, December 6th, 2007 at 22:47
Category:
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:






