Wednesday, July 23, 2008

Add Digg to your blogger

<p>
<div style='float:left; margin-right:5px; margin-top:0px;'>
<script type='text/javascript'>
digg_url = '<data:post.url/>';
digg_skin = 'compact';
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>
</div></p>
This
is the code I use to embed a Digg button on each of my posts.
Alternatively, you can add

<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>


To add it
to your blog, you need to load up your template's html and expand the
widget code and search for
<b:includable id='post' var='post'>
If you put it just before
<b:if cond='data:post.title'>
the
Digg button will float just to the left of your title. The line
digg_skin changes the button to a small form factor. If you you want
the normal button, leave out this line. You'll have to expand widget templates in order to be able to insert it at the precise location.

1 comment:

nakeiaqueer said...

Blackjack - Casino and Gaming | Mapyro
Casino and Gaming - Blackjack. Find your 밀양 출장안마 way 논산 출장마사지 around the casino with 제천 출장안마 Mapyro's unique mobile 포천 출장샵 app. It's easy to get past many gaming 안양 출장안마 tables at