Tuesday, 25 February 2003
blojsom's plugin API and XML-RPC support ... it's here!
« What's up with javablogs? | Main | Posting via XML-RPC »
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:
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-expandOn 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
[Trackback URL for this entry]
