开发者

Building a wiki application?

I'm building this app in Python with Django.

I would like to give parts of the site wiki like functionality, but I don't know how to go on about reliability and security.

  • Make sure that good content is not ruined
  • Check for quality
  • Prevent spam from invading the site

The items requiring wiki like functionality are just a few: a couple of text field开发者_JAVA百科s.


Can anyone help on this one?

Would be very much appreciated. :)


You could try using Django Wikiapp, which gives you most of the features you want in a wiki, including history and the ability to revert to older versions of an article. I have personally used this app and it's pretty self-explanatory; they also have a bit of documentation at http://code.google.com/p/django-wikiapp/source/browse/trunk/docs.

In terms of spam protection you can to one of two things or both: password protect the pages that have to do with editing the wiki, and use Akismet to filter for spam. I'm working on something similar and this is probably what we'll end up doing.


Assuming that there will be a community of users you can provide good tools for them to spot problems and easily undo damage. The most important of these is to provide a Recent Changes page that summarizes recent edits. Then each page that can be edited should retain prior versions of the page that can be used to replace any damaging edit. This makes it easier to undo damage than it is to damage things.

Then think about how you are going to handle either locking resources or handling simultaneous edits.

If you can tie edits to users you can provide some administrative functions for undoing all edits by a particular user, and banning that user.

Checking for quality would be tied to the particular data that your application is using.


  • Make sure that good content is not ruined = version each edit and allow roll-backs.
  • Check for quality = get people to help with that
  • Prevent spam from invading the site = get people to help with that, require login, add a captcha if need be, use nofollow for all links
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜