![]() Good journals: (by blogrolling.com) Monthly: January 2005 (1) May 2004 (1) August 2003 (1) July 2003 (8) June 2003 (6) May 2003 (5) April 2003 (5) March 2003 (4) February 2003 (6) January 2003 (7) December 2002 (10) November 2002 (13) October 2002 (4) September 2002 (8) August 2002 (6) July 2002 (1) May 2002 (7) April 2002 (13) March 2002 (16) February 2002 (12) January 2002 (14) Stuff I found: RinkWorks Nectarine Demoscene Radio Random Blog Link The Yumb Forums |
The Blob: Ciaran's Journal
Welcome to my journal. This is where I'll be revealing my innermost thoughts and feelings to the world. Occasionally I'll talk about other stuff, but mostly about my experiences. Nov 22, 2002: It works! :D (link | trackback: 0) Time: 22:20 - Mood: Very happy - Location: Home - Now playing: Nothing Well, as you can probably see from the "trackback: 2" link on the post below (which of course may have gone up by the time you read this), my TrackBacking piece of code works. :D Since I did the rewrite of this code, the CGI file has more than doubled in size - from 5,343 bytes to 13,005 bytes. The growth is probably more to do with my restructuring than the new TrackBack feature, although obviously that would have had some effect. It'll make it easier to add stuff to this journal in the future, though, which can only be a good thing. :D Some more info for the interested: the whole blog code itself is made up of only two CGIs - this one (13,005 bytes), and the one that adds the posts ("addjournal.cgi" - 4,342 bytes). So, in all, the total code size is 17,347 bytes, or about 17KB. That's a heck of a lot smaller than Moveable Type, of which the compressed download is 397KB and, when installed, takes up about 2.5MB. :D Of course, there are disadvantages. There's no admin CGIs at all - if you want to change any settings or anything, you need to delve into the files themselves. However, with my restructuring, these settings are now clearly labelled at the top of the file, so it's quite easy to change if you know what you're doing. :) There's also no way of editing or deleting blog entries without, again, delving into the blog data files. This is quite a bit harder than editing the CGIs, because the entry is URL-escaped before going into the file, which makes it harder to get at. I had to do this though so I could put characters like carriage returns and so on in there. BTW, as I type this, the blog data files come to about 144KB - of which 143KB or so make up the actual entries, and 547 bytes make up the two TrackBack entries on the previous post. So the data files are quite small too. Basically, I wrote this blog CGI with me in mind (obviously), and so I'm not put off by the techie side of things. Besides, I don't really agree with the editing of blog posts anyway, except maybe to correct typos and stuff. Hey... there's an idea... I could integrate it with ispell so you could check your spelling before posting! :D As far as I know, there are only two other sites that use this blog code as a base - Tim's Journal, and the old OpenMoz site (now called FreeMoz). They both use the old code, but I'm hoping to let Tim know of this new code so he can upgrade if he wants. Well, ain't it a small world... just after I typed that, I looked at my email and saw that Tim had started a topic on CS-FSLUG about blogs, and whether people blog or not. I'm gonna reply to that now... I'll have another post up soon... [back to main screen] |