The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WWW::Modbot - Tools to automoderate Web-based spam

VERSION

Version 0.01

SYNOPSIS

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();
    ...

FUNCTIONS

new

servers

servers lists the servers configured for the present bot.

connect

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

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

load_test loads a test module and caches it to avoid duplication of effort.

test test calls a specific test by name on a Post object provided.

get_user

get_user retrieves a user record from the userbase associated with a given server.

ruleset

ruleset retrieves the ruleset object for the server named.

judge

judge takes a Post object, retrieves the ruleset appropriate to its server, and runs that ruleset against the post.

archive

archive takes a post and a score, and archives the post to the archive configured for the bot.

AUTHOR

Michael Roberts, <michael at despammed.com>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc WWW::Modbot

You can also look for information at:

COPYRIGHT & LICENSE

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.