WWW::Modbot - Tools to automoderate Web-based spam
Version 0.01
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.
modbot
use WWW::Modbot; my $foo = WWW::Modbot->new(); ...
servers lists the servers configured for the present bot.
servers
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.
connect
list_tests returns a list of test names from the Test directory. It just fronts for the same function in the Test module.
list_tests
load_test loads a test module and caches it to avoid duplication of effort.
load_test
test
get_user retrieves a user record from the userbase associated with a given server.
get_user
ruleset retrieves the ruleset object for the server named.
ruleset
judge takes a Post object, retrieves the ruleset appropriate to its server, and runs that ruleset against the post.
judge
archive takes a post and a score, and archives the post to the archive configured for the bot.
archive
Michael Roberts, <michael at despammed.com>
<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.
bug-www-modbot at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc WWW::Modbot
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Modbot
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-Modbot
CPAN Ratings
http://cpanratings.perl.org/d/WWW-Modbot
Search CPAN
http://search.cpan.org/dist/WWW-Modbot/
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.
To install WWW::Modbot, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Modbot
CPAN shell
perl -MCPAN -e shell install WWW::Modbot
For more information on module installation, please visit the detailed CPAN module installation guide.