Friday, 2 July 2004

blojsom/OS X Tiger Server Day 5

No post about day 4? No. I was busy. But it still feels good. Happy July.

Who's commenting on blojsom? There have been quite a few trackbacks posted to the blojsom site. I thoroughly enjoyed the end of "Ok, Well, Blojsom Then?".
I guess my point here is that Apple seems to be doing just about the simplest thing that could possibly work, and I'm impressed by their judgement. And Blojsom jumps way up the list of weblogging apps to keep an eye on.

Has anyone converted from WordPress to blojsom? Yes. And it's phunky-licious. But, all because we supported the MetaWeblog API's newMediaObject? /images/emoticons/mozilla_laughing.gif Hey, we each evaluate technologies differently.

What are you working on now? I took a look at XML-backed entries and that was fun since it was simple and straightforward. Maybe this will be added to the codebase in the future.

And then there's blojsom 2.17 stuff. Except it's a holiday weekend here in the US, so I won't be working on it much this weekend.
Posted by david at 3:28 PM in blojsom ... all blojsom

Experimenting with XML-backed entries in blojsom

As a placeholder for things I want to look at in the future or simply to experiment with for various purposes, I created "The Lab" on our wiki. The first experiment is pretty much a success. I give you XStream testing.

I wanted to demonstrate an implementation for the BlojsomFetcher interface that did not use the blosxom-style format. The code you'll find on that page uses XStream. XStream is "a simple library to serialize objects to XML and back again." It couldn't be easier.

All in all, what did this tell me?

  • I can re-use code! I believe there were less than 30 lines of code added to create the XStreamBlogEntry and XStreamFetcher with changes to the comment and trackback plugins.
  • I did not convert the edit blog entires plugin which is used in web administration to allow you to delete comments and/or trackbacks for entries. That still deletes individual comments and trackbacks in the comments/trackback directories. Simple change.
  • XStream is a hell of a lot easier than manipulating a DOM tree. If you look at the code, the actual reading and writing of the object from/to XML is 3 lines of code. That's 6 lines of code. Are you kidding me?
  • Although not a deviation from using the filesystem as the content database, it's another format for the entries themselves ... and it worked.
Well, thanks for reading. Kudos to the XStream guys for a simple library that works as advertised.
Posted by david at 2:42 PM in blojsom ... all blojsom
« First  « Prev   1 2 3 4 5   Next »  Last »
« July »
SunMonTueWedThuFriSat
    123
45678910
11121314151617
18192021222324
25262728293031