Del.icio.us and digg links for your posts
(note: this post dates from when Rouge was still on Blogger)
These widget thingies in the new Blogger Beta make the template source code a little more complex to read than it used to be. I found my inspiration to add digg and del.icio.us links to my posts here. The example puts the links after your labels, but I preferred to put them next to the “comment” link. Here’s how:
- Click on the “Template” tab and choose “edit html”,
- Check “Expand widget templates”,
- In the code of the template, look for the section “post-icons”,
- Copy & paste the red part to the exact same location in your template code:
<span class=’post-icons’>
<!– email post links –>
<b:if cond=’data:post.emailPostUrl’>
<span class=’item-action’>
<a expr:href=’data:post.emailPostUrl’ expr:title=’data:top.emailPostMsg’>
<span class=’email-post-icon’> </span>
</a>
</span>
</b:if>
<!– quickedit pencil –>
<b:include data=’post’ name=’postQuickEdit’/>
| <a expr:href=’”http://digg.com/submit?phase=3&url=” + data:post.url’ target=’_blank’>DiggIt!</a> |
<a expr:href=’”http://del.icio.us/post?url=” + data:post.url + “&title=” + data:post.title’ target=’_blank’>Del.icio.us</a>
</span> - Click “preview” to make sure you did everything right. If it’s ok, save your template.

