PyBlosxom After-Comment Moderation Script/Class
I hacked a very, very rough script together just a few minutes
ago to walk through all your comments newer than X days old, print
them and then ask “keep?” and delete the comment if you say “n”.
It’s a java class (.java included) and a BASH script; you’ll need to modify the path in the bash script. Trivial.
download it here. I’ll have to write a plug-in for PyBlosxom in the future to do a security image like I’ve done at Katie’s blog to stop spammers.
5 Comments so far
Leave a reply
Oh, and as for “Why Java?” — Because Eclispe was already open due to class assignment.
Think it would work with normal blosxom?
As long as it stores comments as individual text files, yes.
Each blog entry has a writeback text file that contains all the comments for the blog entry…
Then no, this script won’t do it as-is. It’s just a “print text file’s head, ask if we should delete it, delete it.”
I could write a quick one for you though if you would email me a comment file.