Chapter SpamLookup
Keyword Filters
When a comment or TrackBack is received, you can direct SpamLookup to scan the content for matches to certain keywords, domain names and patterns. In the case of the match, you can have SpamLookup hold the item for your approval and not publish it or contribute to the item's feedback rating.
Syntax of the keywords filter fields
Each item in your keyword filter list must be on its own line. It can be something as simple as a word, domain name or even a phrase. For the more advanced, complex Perl regular expressions can be used directly to accurately match what you're looknig for.
Words and phrases can be listed plainly. They are tested in a case-insensitive manner and match against "whole" words. That is cialis would match cialis or Cialis but not specialist.
For those who are familiar with such things, Perl regular expressions can also be used and are denoted by use of slashes (/) before and after and followed by any optional modifiers. For example:
/online-?casino/i
If you wish, you can also specify the junk score of items in the "Keywords to Junk" field by including the score (from 1 to 10 inclusive) at the end of the line, like so:
phentermine 4
This is good for making darn sure other tests don't let something through.




Comments
Some suggestions for updating this page:
- State plainly whether you need quotes around phrases.
- Link to info about Perl regular expressions
- Link to, or explain, how the scoring system works. What does putting a 4 after "phentermine" do?
Thanks for the opportunity to make suggestions...
Posted by: David Weinberger
|
January 17, 2006 05:36 AM