9.11. mollom.removeBlacklistText
mollom.RemoveBlacklistText |
|||
| Required | Name | Type | Description |
| required | public_key |
string | Site public key |
| required | time |
string | Site server time in this format: yyyy-MM-dd'T'HH:mm:ss-.SSSZ |
| required | hash |
string | HMAC-SHA1 digest |
| required | nonce |
string | One time nonce |
| required | text |
string | Up to 100 characters of text to be blacklisted on your site, in lowercase, with all leading and trailing spaces trimmed |
| required | context |
string | The information to search for the text, either "everything" for the entire post, "links" for link URLs and link titles only or "author" for all author related information |
| required | reason |
string | One of the following reasons the text is blacklisted: "spam", "profanity", "low-quality", "unwanted" |
| returns | boolean | Always returns "true" |
|
Mollom automatically maintains whitelists and blacklists based on statistical analysis, reputation models and feedback sent by users. However, as a Mollom end-user, you may provide custom text blacklists using the Mollom Blacklist API. Mollom will store the blacklisted text on the server-side, and use the lists in mollom.checkContent() calls.
The mollom.removeBlacklistText call provides a way to remove text previously added to your site's custom blacklist.