February 2010

You are browsing the archive for February 2010.

Django Template Tag to protect the E-mail address

tweetmeme_url = "http://www.nitinh.com/2010/02/django-template-tag-to-protect-the-e-mail-address/";
tweetmeme_source = "nitinhayaran";

var fbShare = {
url: "http://www.nitinh.com/2010/02/django-template-tag-to-protect-the-e-mail-address/",
size: "large",
google_analytics: "true"
}
Here is a Django Template tag which you can use to protect the E-mail address on your website against bots or spiders that index or harvest E-mail addresses. It uses a substitution cipher with a different key for every page load.

Subscribe Me

Google Custom Search