Overview
I'm developing an antispam event handler that checks questions, answers and comments for spam by submitting them to Akismet's API. Akismet was created by the same people who make Wordpress and it keeps their comments pretty clean.
Logic
When a comment is posted or edited, an event will trigger and send the information to Akismet. If it comes back as clean, nothing is done. If it comes back as spam, the message will be flagged as spam and marked hidden.
Each comment will have a spam button to give admins the ability to mark anything that wasn't flagged by Akismet as spam.
There'll be a page listing all messages that've been marked as spam so you can review them and unmark a message as spam if needed.
Database
I'm trying to figure out a good way to mark a message as spam without adding a field or table. The only way I can come up with is to increase the flag count by a set number. For example, when something is marked as spam by Akismet, I can incrase the flag count by 20. Then, in the page that shows the spam, I show all messages that have a flag count of over 20.
Otherwise, I can just add a table and add the postid of spam messages.
Other thoughts
I'm not sure how well this will work regarding anonymous users.
I'll need someone to test this with an external user plug-in since I'm personally using the integrated accounts.
Are there any considerations I should take into account with 1.5?
Any other features and suggestions?