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.