« ALL BLOG ENTRIES

SimpleComment: a light-weight and easy commenting system for Django

When I first started building my blog's commenting system, I wasn't content with Drupal's default commenting system. Since this seemed like another great learning experience, I opted to develope my own light-weight system instead, and here are the results.

Early alpha release

Currently this is a rough alpha release, and there are probably lots of glitches that will need to be fixed. I'm tossing it out in this state in hopes of feedback and maybe a little guidance from more seasoned django developers.

Download: Django SimpleComment on Google Code

The Goal

Blog-style commenting with with basic spam protection, and an easy instalation that shouldn't take more than 5-10 minutes

Features

SimpleComment offers the following functionality:

  • Required fields: Name, Comment
  • Optional fields: Website, Email
  • Automatic fields: Ip Address, Timestamp
  • Moderate Anti-Spam measures

Spam Blocking

There's still quite a bit which can be done here, but currently here's how the comment's anti-spam system works:

  1. Each comment submission form is signed with a hashed key which ensures that none of the data was tampered with.
  2. If a comment is submitted within 10 seconds or more than 1 hour from the comment form being displayed, the "possibly spam" flag is tripped
  3. If the spam flag is tripped the user is asked to fill out a quick captcha to ensure they aren't a spambot

2 Comments

  • Jason said:
    2008-12-15 20:36:25

    like light-weight .

  • Greg said:
    2008-10-28 22:12:37

    Nice work...

Submit a Comment