CGI::Wiki::Plugin::SpamMonkey - CGI::Wiki plugin for SpamMonkey


CGI-Wiki-Plugin-SpamMonkey documentation  | view source Contained in the CGI-Wiki-Plugin-SpamMonkey distribution.

Index


NAME

Top

CGI::Wiki::Plugin::SpamMonkey - CGI::Wiki plugin for SpamMonkey

SYNOPSIS

Top

  use CGI::Wiki::Plugin::SpamMonkey;
  my $plugin = CGI::Wiki::Plugin::SpamMonkey->new;
  $wiki->register_plugin( plugin => $plugin );
  ...
  if ($plugin->is_spam( content => $content, metadata => \%metadata)) {
      $wiki->redirect( '/spamerror.html' );
  }
  else {
      $wiki->commit(...);
  }

DESCRIPTION

Top

This module is a plugin for CGI::Wiki sites to interface with the SpamMonkey module.

USAGE

Top

  $plugin->is_spam( content => $content, metadata => \%metadata)

Returns a true value if the content or metadata is spam.

BUGS

Top

Please report any bugs to rt.cpan.org or post to bugs-cgi-wiki-plugin-spammonkey at rt.cpan.org

SUPPORT

Top

This module, and other related modules are discussed on the mailing list: http://www.earth.li/cgi-bin/mailman/listinfo/cgi-wiki-dev

AUTHOR

Top

	Ivor Williams
	CPAN ID: IVORW

	ivorw-openguides at xemaps.com
	http://openguides.org/

COPYRIGHT

Top

SEE ALSO

Top

perl(1).


CGI-Wiki-Plugin-SpamMonkey documentation  | view source Contained in the CGI-Wiki-Plugin-SpamMonkey distribution.