April 29, 2004
Movable Type "better_spam_protect" Plug-In
Link: Software Archive: better_spam_protect
In the Movable Type weblog system, the names of entry and comment authors often are linked to their email address. Movable Type has a spam_protect feature to protect these addresses against harvesting by spam spiders. This feature, unfortunately, is not effective.
A new plug-in called better_spam_protect provides improved spam protection. Javascript is used to produce email addresses, thus making it less prone to harvesting. Users without Javascript (and—hopefully—spam harvesters) will see the name, but not the email address.
The plug-in is easy to install. Simply download the better_spam_protect.pl file and copy it to the Movable Type plugins subdirectory. Once done, improved spam protection is activated. Next, run a full site rebuild to apply the upgraded spam protection to older entries.
Here is what the plug-in does:
-
The primary function is to upgrade the <$MTEntryAuthorLink$>, <$MTCommentAuthorLink$>, and <$MTCommentPreviewAuthorLink$> template tags to provide stronger anti-spam protections on email addresses.
-
Email address spam protection becomes the default on these tags. Use spam_protect="0" to disable spam protection. (Without the plug-in, spam_protect="1" is required to enable spam protection.)
-
The semantics of <$MTEntryAuthorLink$> change slightly. If the author has defined a nickname in their profile it is displayed here. Otherwise their username is displayed. (Without the plugin, nickname is ignored and username always is displayed.)
-
A new template tag <$MTEmailLink [name="..."] address="..." $> is created. This tag inserts a spam-protected mailto: link into the document. The address= parameter is required; it specifies an email address. The name= parameter is optional. It specifies the text of the hyperlink. If omitted, the email address is used.
-
The following template tags are not changed by this plug-in: <$MTEntryAuthorEmail$>, <$MTCommentEmail$>, and <$MTCommentPreviewEmail$>. The addresses produced by these tags remain vulnerable to harvesting. You could, however, use the new <$MTEmailLink$> template tag to protect them.
The plug-in was tested on version 2.65. If you try it out, let me know how it works out for you.
Posted by chip
at 10:48 PM
to: Blogging 'bout Blogging, Software, Spam
Permalink
| Comments (2)
| Trackbacks (1)
Trackbacks have been closed on this entry.
One of the challenges in blogging is to make your contact info readily available without opening yourself up to a...
Via: JimSpot on June 3, 2004 10:00 AM
I installed this on my MT last night. Hopefully, it'll help with a nagging harvesting problem.
One question... how come this isn't listed on the MT Plugins directory? It seems like a neat idea and you should get it out there....
Thanks for the plugin!
Posted by: Jim S on June 3, 2004 09:52 AMI inquired why my submission to the plugin registry wasn't posted. Here is the response I got:
We've been in a transition phase because Six Apart is working on adding the plugin directory to their site, and so I haven't wanted to add things to both locations just to keep them synced. So hopefully in the next week, we'll have that move finished and then your plugin will be listed.Posted by: chip on June 4, 2004 10:55 AM




