1 Sep 2000 Uruk   » (Apprentice)

Just for fun last night, I hacked together a small system to deal with questionnaires over the web. I'm partly doing it to help out the psychology dept. at my university, that does some research in a limited way over the web using questionnaires, and also because I'm considering setting up a portion of my site with a few questionnaires to poll whoever wants to be polled on different things.

It's kind of neat - I finally got around to using Perl's XML::Parser module which now allows me to use XML files as configurations for questionnaires rather than inventing yet another messy file format. So a questionnaire would be specified as something like:

<questionnaire> <question name="howareyou" text="How are you doing today?"> <option value="good">Great</option> <option value="bad">Not so great</option> </question> </questionnaire>

it's bit more complicated than that to allow for more flexibility, but that's the basic jist of it.

It is rather annoying to not have access to any validating parsers for XML in perl. I've heard that Apache is going to be releasing something called Xerces for perl, but so far, it's only available for Visual C++ kits under windows. (?)

Other than that, I'm up to about 24 credit hours this semester in an attempt to graduate in december so I can move overseas, maintaining gtkeyboard when I get the time, and hacking on side projects like a java program I'm working on that takes number sequences from number theory and maps them onto certain tones, writing the resulting "song" out in MIDI format. There's a snapshot of that software on my page but it is far from finished. So basically I've got my hands in about 8 different cookie jars right now. :) When is it ever not like that?

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!