Thursday·02·March·2006
Implemented a blacklist for blog comment spam //at 02:12 //by abe
Just killed all the remaining comment spams (I hope) and implemented a simple regexp based blacklist which should get most medicaments, potence pills, casinos, lotteries and other frequently posted junk. I hope, it does not hit too many valid posts. If you have problems posting comments, feel free to contact me by e-mail or on IRC.
In other news, I installed the blosxom plugin comments_recent and adapted the mail feature of writeback notify to my (in the meantime heavily modified)
instance of the comments plugin v0.6. I also made it symlink-safe
for use with multcat.
Tagged as: Blacklist, Blogging, Blosxom, Blosxom Plugin, comments_antispam, Hacks, Perl, RegExp, Spam
// show without comments // write a comment
Related stories
Blacklisting comment spam in blosxom //at 02:12 //by abe
Since the demand for blosxom anti-comment-spam solutions respective appropriate blosxom plugins seems to be really high, I’ve decided to polish up my apparently quite well working although still in beta state being anti-spam enhanced version of the comments plugin (ZIP) by putting the blacklist outside in an external file and writing some (still short) docs.
I use it since 11th of January this year and got only two spam comments and many more normal comments since then, so it should work. Although: I also got a question if my trackback doesn’t work. Hmmm. So no warranties, just an offer for help fighting against comment spam. ;-)
Another feature which is basically ported from the writeback notify plugin is notification of the blog owner about new comments by mail. Since on the server on which my blog runs the used Perl module Mail::Sendmail was not available, I used Mail::Send instead for my version.
For installation you first need to download the ZIP file of the original comments plugin, install it’s templates and then install my anti-spam enhanced version of the plugin itself.
Now playing: Rockapella — Come on Eileen
Tagged as: Blacklist, Blogging, Blosxom, Blosxom Plugin, comments_antispam, Hacks, Now Playing, Open Source, Other Blogs, Perl, RegExp, Spam
// show without comments // write a comment