Adding social tech site buttons to Blogger
ObiShawn asked me how I added the buttons at the end of each post for the social tech sites. You can look at the end of this post to see what I mean.
It’s simple!
Edit the HTML for your template (Layout -> Edit HTML), click on "Expand Widget Templates". Look for this code:
<p><data:post.body/></p>
Immediately after that code, add this:
<p><a expr:href='"http://www.dotnetkicks.com/submit/?url=" + data:post.url + "&title=" + data:post.title' expr:id='data:widget.instanceId + "_kickit"' rel='nofollow'><img alt='Submit this story to DotNetKicks' expr:src='"http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=" + data:post.url'/></a> <br/> <script type='text/javascript'> var dzone_url = '<data:post.url/>'; var dzone_title = '<data:post.title/>'; var dzone_style = '2'; </script> <script defer='defer' src='http://widgets.dzone.com/widgets/zoneit.js' type='text/javascript'> </script> <br/> <script type='text/javascript'> digg_url = "<data:post.url/>"; digg_title = "<data:post.title/>"; digg_skin = "compact"; </script> <script defer='defer' src='http://digg.com/tools/diggthis.js' type='text/javascript'/> </p>
That’s the exact code I’m using in my template at the time of this post. It’s not visually perfect, but it works.
