12. 10. 2008

How to add digg to blog posts on blogger.com

Today, I have added digg button to posts on this blog. Its pretty easy so why not share with it:

1.Go to Layout/Edit HTML
2.Select "Expand Widget Templates"
3.Search for code: (my advice - try it with CTRL+F in your browser)
<b:includable id="post" var="post">
4.Add this behind the code:
<div style='float:right'>
<script type='text/javascript'>
  digg_url =">";
  digg_bgcolor = '#000000';
   digg_skin = 'compact';
  digg_window = 'news';
</script>
<script src='http://digg.com/tools/diggthis.js' type='text/javascript'/>  
</div>
5.To change color of button edit line digg_bgcolor = '#000000'; . To change on default sking delete line digg_skin = 'compact';  .
6. Now Save it
7. That's all


Žádné komentáře: