<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>blogspam</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../plugins.html">plugins</a>/ </span> <span class="title"> blogspam </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><span class="infobox"> Plugin: blogspam<br /> Author: <span class="createlink">Joey</span><br /> Included in ikiwiki: yes<br /> Enabled by default: no<br /> Included in <a href="./goodstuff.html">goodstuff</a>: no<br /> Currently enabled: no<br /> </span></p> <p>This plugin adds antispam support to ikiwiki, using the <a href="http://blogspam.net/">blogspam.net</a> API. Both page edits and <a href="./comments.html">comment</a> postings can be checked for spam. Page edits that appear to contain spam will be rejected; comments that look spammy will be stored in a queue for moderation by an admin.</p> <p>To check for and moderate comments, log in to the wiki as an admin, go to your Preferences page, and click the "Comment Moderation" button.</p> <p>The plugin requires the <a href="http://search.cpan.org/search?mode=dist&query=JSON">JSON</a> perl module. The <a href="http://search.cpan.org/search?mode=dist&query=LWPx%3A%3AParanoidAgent">LWPx::ParanoidAgent</a> Perl module is recommended, although this plugin can also fall back to <a href="http://search.cpan.org/search?mode=dist&query=LWP">LWP</a>.</p> <p>You can control how content is tested via the <code>blogspam_options</code> setting. The list of options is <a href="http://blogspam.net/api/2.0/testComment.html#options">here</a>. By default, the options are configured in a way that is appropriate for wiki content. This includes turning off some of the more problematic tests. An interesting option for testing is <code>fail</code>, by setting it (e.g., <code>blogspam_options => 'fail'</code>), <em>all</em> comments will be marked as SPAM, so that you can check whether the interaction with blogspam.net works.</p> <p>The <code>blogspam_pagespec</code> setting is a <a href="../ikiwiki/pagespec.html">PageSpec</a> that can be used to configure which pages are checked for spam. The default is to check all edits. If you only want to check <a href="./comments.html">comments</a> (not wiki page edits), set it to "postcomment(*)". Posts by admins are never checked for spam.</p> <p>By default, the blogspam.net server is used to do the spam checking. To change this, the <code>blogspam_server</code> option can be set to the url for a different server implementing the same API. Note that content is sent unencrypted over the internet to the server, and the server sees the full text of the content.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="tags"> Tags: <a href="./type/auth.html" rel="tag">type/auth</a> <a href="./type/comments.html" rel="tag">type/comments</a> </div> <div id="backlinks"> Links: <a href="./comments.html">comments</a> <a href="./opendiscussion.html">opendiscussion</a> <a href="../security.html">security</a> <a href="../tips/spam_and_softwaresites.html">tips/spam and softwaresites</a> <a href="../tips/using_a_proxy.html">tips/using a proxy</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>