E-Mail SPAM Protection in MT Posts

May 09, 2004

Today, I have found a very useful plugin for my bloggin engine. The Hivelogic E-Mail Encoder Plugin will encode plain e-mail addresses in your blog entry's body with help of JavaScript. That means, JavaScript enabled Browser will show your E-Mail address as ususal. However, your address should be protected against the known spam robots...

To install the plugin, just download the ZIP and extract it.
In your MT installation on your server, copy the 'hivelogic_email_encode.pl' file into MT's plugin directory.

Below MT's extlib directory, create another one, called bradchaote and copy the 'hivelogic_email_encode.pm' file there.

All you need to do now, is to tell MT that it shall use this plugin. Go to your templates and look for your <$MTEntryBody$> tag and add the following:

<$MTEntryBody hivelogic_email_encode="1"$>