- COPYRIGHT & LICENSE
WWW::Modbot - Tools to automoderate Web-based spam
The modbot project is (yet another) attempt to collect heuristics for judging the spamminess of posts made through the Web, and to provide an easy-to-use metric and reporting tool for posts.
The WWW::Modbot module packages this into a generally accessible point of call to allow new code to judge posts for spamminess, while the
modbot script can be scheduled from the command line to perform periodic scans of post lists which have not been written with the modbot in mind.
use WWW::Modbot; my $foo = WWW::Modbot->new(); ...
servers lists the servers configured for the present bot.
connect connects to a server configured for the bot. If you supply an unknown name, it's an error.
connect only connects once, and stores the connection. If you ask for the connection again, you get the stored connection.
list_tests returns a list of test names from the Test directory. It just fronts for the same function in the Test module.
load_test loads a test module and caches it to avoid duplication of effort.
get_user retrieves a user record from the userbase associated with a given server.
ruleset retrieves the ruleset object for the server named.
judge takes a Post object, retrieves the ruleset appropriate to its server, and runs that ruleset against the post.
archive takes a post and a score, and archives the post to the archive configured for the bot.
<michael at despammed.com>
Please report any bugs or feature requests to
bug-www-modbot at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Modbot. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
Copyright 2008 Vivtek, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.