Freitag, 11. April 2008
reCaptcha plugin for Blosxom
After looking for some appropiate way to deal with comment spam I found reCaptcha. They provide a nice form presenting a capture image. Their service is provided for free, all you need is to register. They even have an API that has all you need. It gets even better: there's already a Perl module for using this API. Having almost all pieces in place I decided to write a little Blosom plugin for using reCaptcha. The plugin was tested with the writeback module, though I'm sure it works with others as well.
All you need to do is to
- drop the plugin in your plugin directory, make it executable.
- add your recaptcha keys to the module, add the form to your writeback module by placing
$recaptcha::formand$recaptcha::msgin your writeback form - check the recaptcha result in the writeback module using
recaptcha::validate()
Details can be found in the module's perldoc. You can download the module here. Leave a comment if you have any questions...
Zur Tastatur gebracht um 20:28
Pfad: /computer | 0 Kommentare - einen schreiben | link |
Drehwurm im Parkhaus
Heute das Parkhaus im Hansa in Malmö benutzt. Nach gefühlten 13 Umdrehungen in der Auffahrt zum ersten Parkdeck erhält man diesen Hinweis: Noch zwei Runden bis zum ersten Parkdeck. Leute bei Laune halten ist alles.
Zur Tastatur gebracht um 19:24
Pfad: /schwedisches | 0 Kommentare - einen schreiben | link |