1 [[!template id=plugin name=blogspam author="[[Joey]]"]]
4 This plugin adds antispam support to ikiwiki, using the
5 [blogspam.net](http://blogspam.net/) API. Both page edits and
6 [[comment|comments]] postings can be checked for spam. Page edits that
7 appear to contain spam will be rejected; comments that look spammy will be
8 stored in a queue for moderation by an admin.
10 To check for and moderate comments, log in to the wiki as an admin,
11 go to your Preferences page, and click the "Comment Moderation" button.
13 The plugin requires the [[!cpan RPC::XML]] perl module.
15 You can control how content is tested via the `blogspam_options` setting.
16 The list of options is [here](http://blogspam.net/api/testComment.html#options).
17 By default, the options are configured in a way that is appropriate for
18 wiki content. This includes turning off some of the more problimatic tests.
20 The `blogspam_pagespec` setting is a [[ikiwiki/PageSpec]] that can be
21 used to configure which pages are checked for spam. The default is to check
22 all edits. If you only want to check [[comments]] (not wiki page edits),
23 set it to "postcomment(*)".
25 By default, the blogspam.net server is used to do the spam checking. To
26 change this, the `blogspam_server` option can be set to the url for a
27 different server implementing the same API. Note that content is sent
28 unencrypted over the internet to the server, and the server sees
29 the full text of the content.