Comments: on this page. Click to read or post your own.
The Akismet PHP5 Class
This class takes the functionality from the Akismet WordPress plugin written by Matt Mullenweg and allows it to be integrated into any PHP5 application or website.
The original plugin is available on the Akismet website.
Usage:
Located in /cms/code/sitefeatures/Akismet.php (line 53)
| Class | Description |
|---|---|
| SSAkismet |
Tests for spam.
Uses the web service provided by Akismet to see whether or not the submitted comment is spam. Returns a boolean value.
Defaults to rest.akismet.com
Defaults to '1.1'
Defaults to 80
The name that the author submitted with the comment.
The email address that the author submitted with the comment.
The address is assumed to be valid.
The URL that the author submitted with the comment.
The comment's body text.
The type of comment being submitted.
May be blank, comment, trackback, pingback, or a made up value like "registration" or "wiki".
A permanent URL referencing the blog post the comment was submitted to.
To override the referring page when submitting spam/ham later on
To override the user IP address when submitting spam/ham later on
Submit ham that is incorrectly tagged as spam.
Using this function will make you a good citizen as it helps Akismet to learn from its mistakes. This will improve the service for everybody.
Submit spam that is incorrectly tagged as ham.
Using this function will make you a good citizen as it helps Akismet to learn from its mistakes. This will improve the service for everybody.
Documentation generated on Tue, 07 Oct 2008 15:54:31 +1300 by phpDocumentor 1.3.2