Updates to commenting system

Tuesday 28 December 2004

While I was trying to debug the problem with my old host, I got back into my commenting code, and while I was in there, I made a few upgrades. Now URLs are auto-linked, and the problem with fancy HTML entities losing their specialness during preview was fixed. There's also some simple-minded spam prevention that's been in there for a few weeks (it's just a blacklist of words, but it works for me so far).

Actually, I'm a little flattered that my system is getting any comment spam. I would have thought the spammers would rely on details of widely-used blogging and commenting systems to write their bots. Since my blog and comment system is entirely home-grown, some filthy spammer must have specially coded for this site. Sweet of them to have thought of me.

In any case, I don't get much, and it is formulaic enough (and verbose enough!) that a small blacklist prevents it. Someday, maybe I'll need a fancier technique, like Elliot Back's Spam Stopgap Extreme which relies on client-side MD5 hashing in JavaScript to ensure no bots can get through.

Comments

Add a comment:

name
email
Ignore this:
not displayed and no spam.
Leave this empty:
www
not searched.
 
Name and either email or www are required.
Don't put anything here:
Leave this empty:
URLs auto-link and some tags are allowed: <a><b><i><p><br><pre>.