AntiSpam (tm)

October 7, 2007 at 6:44 AMJoshua Harley

Ha, it's freakin 5:41 in the morning, and here I am coding... about to fall asleep! Guess what! Part 1 of my AntiSpam (tm) project went well. Keyword matching is up and working! With weights! This means that you can specify certain words to be weighed more than others. Take the word viagra for example, its a favorite amongst spam people but there is a tiny possibility that an actual person would want to use it in a comment. By applying a weight to the words, it will actually allow a post if the weight does not go above 100. If viagra had a weight of 10, that means it will take at least 10 uses of the word to trigger the keyword filter. You can also specify a weight of 100 for a word too - meaning no matter what, it is instant blocking of the post.

I feel quite accomplished... good night!

Posted in: Programming | Site Information

Tags:

Comments are closed