Skip to main content

Adding Social Bookmarking links like Digg, Delicious etc. in Blogger

With a little tinkering of the HTML code of the Blogger template, it is very easy to insert social bookmarking links like Digg, Delicious, Technorati etc. so that readers can directly bookmark the Blog post.
To add these links:
Go to your Blogger Dashboard, Click Layout --> Edit HTML. Then check - Expand Widget Templates
Search for the line: post-footer-line
Just after the line, add the following code:
<p/>Add to: <a expr:href='"" + data:post.url + "&title=" + data:post.title' target='_blank'><img HEIGHT='20' WIDTH='50' src=''/></a> <a expr:href='"" + data:post.url + "&title=" + data:post.title' target='_blank'><img HEIGHT='20' WIDTH='75' src=''/></a> <a expr:href='"" + data:post.url + "&title=" + data:post.title' target='_blank'><img HEIGHT='20' WIDTH='75' src=''/></a>

The links- and the likes correspond to the logos for the respective sites, stored in my Picasa WebAlbum. Alternatively if you want you can upload the logos to some other free image host and change the links accordingly.The net effect of this will be, the social bookmarking links will get added below each of your posts.
Kindly Digg the story if you liked it!


bindaasbharat said…
We are pleased to announce the launch of 'YuppMarks'. is a Social bookmarking website which opens the door to new ways of bookmarking, managing and mingles your categorized resources.

A Social Bookmark Website. Anyone can participate and free traffic to your website or blog.

Start your bookmarking information and Share it with the world through

To start just logon to

Popular posts from this blog

Force an application to use VPN, using iptables in Linux

Enforcing an application, for example a torrent client like Transmission, to always use the VPN interface or any particular network interface for that matter, is trivially simple using iptables on Debian, Ubuntu or any other GNU/Linux distro.
Personally, I am running Debian Sid on the Raspberry Pi. Occasionally I use it for downloading files ( legal stuff, seriously, believe me :D  ) using Transmission Bittorrent client over a VPN connection. Sometimes it happens that the VPN connection fails and doesn't reconnect for whatever reason and Transmission continues pulling stuff directly over my internet connection, which I would like to avoid. Fortunately it is very straightforward to enforce rules based on application owner UID. Transmission runs under the owner debian-transmission in Debian (use htop to check this) and the following two lines of iptables ensures that any process with owner having UID, debian-transmission, will not use any other network interface apart from the Open…

Some more fun with SSH port forwarding and socks proxy

Few days ago I made the following post:

Prologue: Our Institute has several nice Dual Core Machines deployed for the students. Unfortunately the machines are behind a NAT with no port forwarded for external SSH access. Student's hostel is a bit far off from the computational centre. As such if someone felt the need of accessing the machines during non-office hours, it was a wee bit difficult. The sysadmin would not have agreed to forward any ports. Something had to be done....

SSH has a very useful feature - Remote and Local Port Forwarding. We have an old rickety PIII running Ubuntu 8.04.1 in the Hostel, it is connected to the net and is accessible via SSH from the internet. Using a tiny little shell script running on one of the machines in the Institute, I managed to make the old PIII an intermediate gateway for gaining SSH access to the Institute's machines from anywhere in the internet. The script is of few lines, but nevertheless powerful enough to serve our purpose.


Rendering LaTeX in Blogger.

Rendering LaTeX in Blogger is pretty easy thanks to the JavaScript LaTeX equation render engine from
To enable LaTeX rendering go to the Blogger Dashboard --> Layout --> Edit HTML . Then add the line
<script> type="text/javascript" src=""></script>
<script type="text/javascript" src=""></script>
just before <body/>. Half the job is now done.
Then, for example to render:
\int_{0}^{\pi}\frac{x^{4}\left(1-x\right)^{4}}{1+x^{2}}dx =\frac{22}{7}-\pi
Use the code:
<pre lang="eq.latex">
The LaTeX code will now be displayed as:
Ofcourse Javascript needs to be enabled in the Browser for the renderer to work.