Comments Working...
And you ask what kind of news is that? Comments have been working on asisaid since November 2002, months before it was even asisaid, right? Yes. But they weren't working in my next generation blogging software. Now the software properly retrieves comments from its database — the only thing left to do concerning commenting is setup a way to add new comments.
After I complete that, I may try to write a script to pull the data out of the encoded text files that the blog is in now and move it into the new script's SQL database. Of course, some things are still missing in the new code base — trackback support being the biggest of those features. On the other hand, it supports searching previous posts, which is nice.
At the point that I get the code operational, it will be the first significant modification to my blog's code since the aforementioned addition of comments and a more traditional layout and navigation system two years ago next week. I really need to do this — with the plain text file that stores the actual entries growing to over a megabyte in size, it is no longer efficient by any means. To draw the front page, the script must work through that whole megabyte of entries plus read the complete text of the last 15 posts' comments and trackback files so that it can generate the numbers of comments and trackbacks that go under the title. SQL can do all this much more efficiently.
More importantly, asisaid is going to become a test bed of this software for OfB. In the end I'd like to nuke PHP-Nuke and switch OfB over to this new system as well (for security reasons).
Join the Conversation
RE: Comments Working...
Sounds cool.
You do remember that the journal system is on SourceForge, right? I can give you CVS access. And yes, I’m fully aware that the flat file system is very inefficient. That’s what happens when it’s one of your first real Perl projects.
RE: Comments Working...
Oops, forgot the link - http://www.sourceforge.net/projects/blobjournal/
RE: Comments Working...
Hmm, the preview isn’t quite a full preview, heh.
RE: Comments Working...
Your journal script is great — I’ve just pushed it beyond the reasonable limits. The new preview mechanism uses the same filtering code that real comments get, btw.
Thanks for the offer of CVS access too! The new script is actually a derivative of SAFARI (of which I made a never released SQL port in 2003) rather than blobjournal, but maybe I can reintegrate some of the commenting code to blobjournal. Ideally, my present project will take what I learned from SAFARI plus what I learned expanding on your script and make a nice hybrid. My goal is to keep SAFARI able to work in its present issue-based format and a blog based format as well.
Once I get done adding new features, I want to revamp some of the old code, which is a bit crude — when I first started writing SAFARI in ‘99, it really stretched the limits of my coding abilities… these days, I see where it needs to be redone. I’m doing the new parts with that in mind, so that I’ll only (hopefully) need to fix some of the older stuff.
Working on any more scripts these days?
RE: Comments Working...
This is one of those entries where I nod my head and agree. “Yeah I like that.”
RE: Comments Working...
Sorry about that Christopher.
RE: Comments Working...
That’s alright. It sounds like things are getting accomplished which is good!
RE: Comments Working...
Yup, it is!