]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
add blogspam to auto-blog
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 17 Jan 2009 03:42:30 +0000 (22:42 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 17 Jan 2009 03:42:30 +0000 (22:42 -0500)
configure it to only check comment posts for spam

auto-blog.setup

index fde7f17f8ca4ec7527e540acb9de96e0f9ecc5e3..3ef734b39a41a9213cccd4ec5e5f71f2aed2b3a2 100644 (file)
@@ -35,7 +35,7 @@ IkiWiki::Setup::Automator->import(
        cgiurl => "http://$domain/~$ENV{USER}/$wikiname/ikiwiki.cgi",
        cgi_wrapper => "$ENV{HOME}/public_html/$wikiname/ikiwiki.cgi",
        adminemail => "$ENV{USER}\@$domain",
-       add_plugins => [qw{goodstuff websetup comments}],
+       add_plugins => [qw{goodstuff websetup comments blogspam}],
        disable_plugins => [qw{}],
        libdir => "$ENV{HOME}/.ikiwiki",
        rss => 1,
@@ -44,5 +44,6 @@ IkiWiki::Setup::Automator->import(
        
        example => "blog",
        comments_pagespec => "posts/* and !*/Discussion",
+       blogspam_pagespec => "postcomment(*)",
        discussion => 0,
 )