hakismet-0.1: Akismet spam protection library

Portabilitynon-portable
Stabilityexperimental
Maintainermail@n-sch.de

Network.Akismet

Contents

Description

Network.Akismet offers an easy way to interact with the stop spam service Akismet. For more information about Akismet and what each value means check http://www.akismet.com .

Synopsis

Akismet API

verifyKeySource

Arguments

:: String

Akismet API key

-> String

Blog url

-> IO Bool 

Try to verify your API key, it should be called before every other akismet related operation.

checkCommentSource

Arguments

:: String

Akismet API key

-> Comment

Comment

-> IO Bool 

Check a comment, in case of spam it returns True else False

submitSpamSource

Arguments

:: String

Akismet API key

-> Comment

Spam comment

-> IO () 

Submit a spam comment

submitHamSource

Arguments

:: String

Akismet API key

-> Comment

Ham comment

-> IO () 

Submit a false positive spam comment aka ham

Data types

data Comment Source

Comment represents the Content you want to check using Akismet. For the exact meaning of each record selector check http:akismet.comdevelopmentapi/

defaultCommentSource

Arguments

:: String

Blog

-> String

UserIp

-> String

UserAgent

-> String

Content

-> Comment 

Create a Comment with all required fields