[Helma-user] implementing metaweblogapi using "new-style" xmlrpc
Stefan Rinner
rist at mac.com
Thu Sep 28 13:53:18 CEST 2006
Hi
I'm trying to implement the metaWeblogAPI for an app and tried to use
the "new-style" of xmlrpc in helma (using _action_xmlrpc instead of
mappings in app.properties).
For the metaWeblogAPI I have to define an xmlrpc endpoint - so I
created a mountpoint called "metaweblog" and placed my scripts there
- e.g. getPost_action_xmlrpc() and getRecentPosts_action_xmlrpc().
But when I try to access my app using MarsEdit[0] none of my actions
get called. If I add "main_action_xmlrpc" in my metaweblog-api
scripts this action get's called, and when checking the "methodname"
argument I see MarsEdit is calling several of the API's function.
So, is it not possible to implement something like the metaWeblogAPI
with a single endpoint and several methods in the new-style?
Currently I added a switch statement to main_action_xmlrpc to route
my calls, but this isn't that nice.
- stefan
[0] http://ranchero.com/marsedit/
More information about the Helma-user
mailing list