Monday, March 27, 2006

Minor update (pyguest 2.05 released)

Well I forgot to mention that I use Python Imaging Library (PIL) for the captcha functionality. I added that to the documentation of the plug-in.

pyguest 2.0 released

Finally! Here is the current functionality:

  • The guest book has a anti bot spam feature (captcha = completely automated public Turing test to tell computers and humans apart)
  • To post to the guestbook, the user must enter a name and a message or else the guestbook entry will not be saved. The other fields are not mandatory and don't need to be entered.
  • The guestbook have protection against double posts due to reloading of browsers etc.
  • There are two ways to reach the guestbook: 1).../guestbook/index 2).../guestbook/all (for example http://www.codeape.org/cgi-bin/pyblosxom.cgi/guestbook/index or http://www.codeape.org/blog/guestbook/index). The index link shows the number of entires that is given in the config.py (ex. py['num_entries'] = 5) for the blog. The all link shows all entries.
  • The message part is striped from all HTML.
  • The message part do not allow the @ character (less spam).
  • The guestbook give feedback about user faults
Good night friends.

Saturday, March 25, 2006

Updated to pyblosxom version 1.3.2

Today I updated the page to the latest version of pyblosxom. I did that after testing pyguest.py with the new version. Found some bugs! Fixed that! Well it looks like I will release pyguest.py tomorrow after looking over the documentation again and adding some installation verification stuff. After this update of pyguest.py I must find a new project to alter with (pyguest.py starts to get a bit boring). I'm thinking of building a gallery script for the simple reason that I need one.

Monday, March 20, 2006

pyguest with captcha

Well the anti bot spam thingy I have built is evidently called captcha (completely automated public Turing test to tell computers and humans apart). I did not know that until a friend told me a couple minutes ago. Well I have been fideling around with my captcha function the last couple of days (fun!). I have found a couple of bugs, but now it starts to look promising. I hope I will be able to release it this or next week.

Sunday, March 12, 2006

Hiper clavier keyboard

Ooo I got a new keyboard (for only 299 skr). The manufacturer of this aluminium keyboard called Clavier is Hiper. Ok, it look good (well look at the shiny object in the picture) but is it worth the money? The keys has very short punch length which I like because I write faster and when I play games I act faster. The key layout is very compact which make the keyboard smaller. Well it takes less space on my crowded desk. The new layout took around one day to get friendly with but that was no biggy. Conclusion: I like it a lot and will stick to it for a long time!

Tuesday, March 7, 2006

pyguest and spam spam spam

It looks like the anti guestbook spam thingy needs some tweaking before release. Still get stupid bot spam on my guestbook. Hmmm back to the drawing board!