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
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to