Add this social book marking button?
First Digg isn’t like other book marking site: Digg is the largest, most popular
and famous.
Second, the Digg button will allow you not only to submit your post but also to
increase the number of dugs so it will become more popular.
Now let me show you how to add this button. The idea is simple and if you
understand it you’ll be able to add any script or text you like.
Direct to the ‘Edit HTML’ page. Now check the ‘Expand widget templates’
checkbox. You’ll notice that the text become so long, don’t worry you don’t have
to understand it!
Now let’s make a search in this text. Search for
‘<p><data:post.body></data:post.body></p>’ then simply replace it with
‘<p>
<!--My Digg Button -->
</p><div style="float: right; margin-left: 10px;">
<script type="text/javascript"><br />digg_url = '<data:post.url/>';<br
/></script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
<data:post.body>
</data:post.body><p></p>’
Save the template and get a look at your blog, the Digg button shows, no?
0 comments:
Post a Comment