Tuesday, 25 February 2003

Posting via XML-RPC

If this works, I am going to be so impressed!
Posted by at 11:09 PM in blojsom ... all blojsom

blojsom's plugin API and XML-RPC support ... it's here!

Wow ... just wow. In less than 24 hours and after a flurry of e-mails back and forth between Mark and myself, we've made significant progress on two fronts for the upcoming blojsom 1.4 release. They are:

1) blojsom plugin API
2) blojsom XML-RPC support (includes a handler for the Blogger API)

The plugin API was just so damn simple as to be comical. Basically, you define your named plugins like:

hello-world=org.ignition.blojsom.plugin.HelloWorldPlugin
macro-expand=org.ignition.blojsom.plugin.MacroExpansionPlugin
blojsom-plugin-chain=hello-world, macro-expand
On startup, blojsom will load the various plugins defined in the plugin.properties file and parse the blojsom-plugin-chain to determine how the plugins should be executed. As blojsom processes requests, after the blog entries have been retrieved, the plugins are processed in the order defined in blojsom-plugin-chain by calling their process() method. And that's it! WHAM, BAM, THANK YOU MAAM!

The XML-RPC support warrants a much longer discussion and I just have to get back to some real work. But damn, it works!

And all of this has been committed to CVS and it's all documented.

Posted by at 8:43 PM in blojsom ... all blojsom
« First  « Prev   1 2 3 4 5   Next »  Last »
« February »
SunMonTueWedThuFriSat
      1
2345678
9101112131415
16171819202122
232425262728