Sean Feeney
Architect of the digital age

Digg and del.icio.us links in Blogger

5 May 2007

Ramani over on Hackosphere has the code for generating digg and del.icio.us links in Blogger:

Expand widget templates and find this:
`

 <b:loop values='data:post.labels' var='label'>  
   <a expr:href='data:label.url' rel='tag'>  
     <data:label.name/>  
   </a><b:if cond='data:label.isLast != "true"'>,</b:if>  
     </b:loop>  
   </b:if>   `   Then add this before the closing span tag:   `    <a expr:href='"http://digg.com/submit?phase=2&url=" +   
 data:post.url + "&title=" + data:post.title'   
  target='_blank'>Digg this</a>    <a expr:href='"http://del.icio.us/post?url=" +   
 data:post.url + "&title=" + data:post.title'    
   target='_blank'>Add to del.icio.us</a>   `  

You can easily modify that to add images for the links.

Posted in Blogger, blogs, del.icio.us, Digg, html

You agree to my disclaimer, regardless of the decision in Nguyen v. B&N.

Social

Causes

Genealogy


I Love Geni