Of recent days; Blog version 0.2

In the last few days, I have spent little time working on this code -- have otherwise been occupied with work at bytebenders, and other non-related issues; I'll separate today's comments into two sections thus: one for blog software update, and the other for a personal update.

Here follows a blog update:

  1. Added Comments support with the following features:
    • Entries at the blog have an optional Add/View Comments link at the bottom
    • Clicking on the link brings you to a page which has that entry at the top (displayed normally) followed by a list of comments already on the system in cronological order (although hooks are there for threading and reverse-sort and will eventually be completed).
    • At the bottom of that page, there's a form to add a comment.
    • It allows posting name (or alias), a URL link that will optionally make your name clickable. Uses some smart checking when making the link... if it contains an @ symbol, and doesn't find mailto: at the front, it'll prepend it. also, for urls, it'll prepend http:// if required. And, it has a post title field. All in all, quite simple.
    • It'll convert HTML tags (and related) into ascii codes, and converts newlines into tags.
    • Admin Page:
    • All comment posts are logged (in an abreviated format) into the log viewer with ip.
    • There is a comment Moderation page which allows you to view and remove comments on an article by article basis.
    • Hooks are in for ip blocking, but an admin form hasn't been written yet, and the filtering code isn't active
  2. Fixed a few bugs, namely some formatting issues
  3. Allowed blog administrators to outright disable comments, but as of yet you can't set that on an article by article basis.
  4. MAXCOMMENTS is defined in index.py and can be set by the site-admin -- this will later get moved to the Misc Config menu on the site-admin page. Set here globally for bandwidth issues.

VERSION NUMBER NOW 0.2 Made a tarball with default options set and such. New important TODO items include the install script.

Anyway, More above in next entry, unrelated.