My XWiki has recently been hit by spam. I found a discussion of this issue on: http://markmail.org/message/yq6kbwyxznk7nezd However, since my XWiki is on the farm, I don't have programming rights. Luckily, the spam was localized to specific pages, so I edited those, added the code below, ran in and deleted to code: #set($comments = $doc.getComments()) #foreach($comment in $comments) $doc.removeObject($comment) #end $doc.save() But I was thinking, would it be worth adding some generic spam control? Or at least bulk comment control? e.g.: * integrate http://sourceforge.net/projects/akismet-java/ * support captcha for user registration / anonymous comments * provide an interface in the admin area for selecting multiple comments & deleting them with one button ___________________________ Yishay Mor, Researcher, London Knowledge Lab http://www.lkl.ac.uk/people/mor.html http://www.google.com/calendar/embed?src=yishaym%40gmail.com +44-20-78378888 x5737
Hi Yishay, On Jan 6, 2009, at 12:14 PM, Yishay Mor wrote:
My XWiki has recently been hit by spam. I found a discussion of this issue on: http://markmail.org/message/yq6kbwyxznk7nezd
However, since my XWiki is on the farm, I don't have programming rights. Luckily, the spam was localized to specific pages, so I edited those, added the code below, ran in and deleted to code: #set($comments = $doc.getComments()) #foreach($comment in $comments) $doc.removeObject($comment) #end $doc.save()
But I was thinking, would it be worth adding some generic spam control? Or at least bulk comment control? e.g.: * integrate http://sourceforge.net/projects/akismet-java/ * support captcha for user registration / anonymous comments * provide an interface in the admin area for selecting multiple comments & deleting them with one button
Yes I have been thinking about this too. Several solutions: * Integrate typepad antispam rather than Akismet: http://antispam.typepad.com/ (it has a more friendly license) * Use the system I've used on my blog at http://massol.net to allow guest users to enter comments * Implement a captcha (we have it but make it work) Is someone interested in working on this? The typepad antispam sounds the most promising to me. Thanks -Vincent http://xwiki.com http://massol.net http://xwiki.org
participants (2)
-
Vincent Massol -
Yishay Mor