Catalyst::Model::Akismet - Catalyst model for the Akismet anti-spam protocol
# Use the helper to add an Akismet model to your application... script/myapp_create.pl model Akismet Akismet # lib/MyApp/Model/Akismet.pm package MyApp::Model::Akismet; use base qw/ Catalyst::Model::Akismet /; __PACKAGE__->config( url => 'http://yourblog.com', key => 'SECRET', host => 'rest.akismet.com' ); 1; # In a controller... my $akismet = $c->model('Akismet'); print ref($akismet); # Net::Amazon::Akismet
This is a Catalyst model class that interfaces with the Akismet anti- spam protocol. By default it will connect to typepad's antispam service.
Instantiate a new Net::Amazon::Akismet Model. See Net::Akismet::Protocols's new method for the options available.
Check if a comment is spam. Sets user_ip, user_agent and referer and proxies to Net::Akismet::Protocol's check method. See that method for more info about parameters.
Access the Net::Akismet::Protocol object directly.
Gets info about user. Called by Catalyst automatically.
Catalyst, Catalyst::Helper::Model::Akismet, Net::Akismet::Protocol
Please report any bugs or feature requests to bug-catalyst-model-akismet at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Model-Akismet.
bug-catalyst-model-akismet at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Catalyst::Model::Akismet
You may also look for information at:
Catalyst::Model::Akismet
http://perlprogrammer.co.uk/modules/Catalyst::Model::S3/
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Catalyst-Model-Akismet/
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Model-Akismet
Search CPAN
http://search.cpan.org/dist/Catalyst-Model-Akismet/
Marcus Ramberg <mramberg@cpan.org
Copyright (c) 2008 Marcus Ramberg.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
To install Catalyst::Model::Akismet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::Akismet
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::Akismet
For more information on module installation, please visit the detailed CPAN module installation guide.