Recently, delicious blog has a post on adding "Bookmark This" link on every post on your blog to bookmark it on del.icio.us. It was just a normal posting…

I wrote a simple code using javascript which can be used ‘to popup bookmark’ your post on delicious.

The code is as follows (for blogger users)

<!– Bookmark post on Del.icio.us –>
Bookmark this on <a href=”javascript:void(myPop=window.open(‘http://del.icio.us/login
/?v=2&noui=yes&jump=close&title=<$BlogItemTitle$>&url=
<$BlogItemPermalinkUrl$>’,’delicious’,’toolbar=no,
scrollbars=no,width=700,
height=250,status=yes,resizable=yes’));myPop.focus();”>Del.icio.us</a>
<!– Bookmark post on Del.icio.us –><p></p><p>Add the above code to post-footer in the blog template.</p><p>For TypePad/MT users</p><p>replace <$BlogItemPermalinkUrl$> with <$MTEntryPermalink$> and <$BlogItemTitle$> with <$MTEntryTitle encode_url=”1”$></p><p>For Wordpress users</p><p>replace <$BlogItemPermalinkUrl$> with <?php the_permalink() ?> and <$BlogItemTitle$> with <?php the_title(); ?></p><p>It is better than normal posting…
</p> <p>Technorati Tags: , , </p>