bookmark your posts on del.icio.us
19-May-05
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 –>
Add the above code to post-footer in the blog template.
For TypePad/MT users
replace <$BlogItemPermalinkUrl$> with <$MTEntryPermalink$> and <$BlogItemTitle$> with <$MTEntryTitle encode_url=”1″$>
For Wordpress users
replace <$BlogItemPermalinkUrl$> with <?php the_permalink() ?> and <$BlogItemTitle$> with <?php the_title(); ?>
It is better than normal posting…
Technorati Tags: delicious, del.icio.us, Tips