Does anybody know of a command-line XML-RPC client that works well with Drupal?

Comments

yoann’s picture

I'm trying to use tcl xmlrpc 0.3, but no success at the moment (I get a 404 error).

fallacious’s picture

I've since had more success with mtsend.py. Some basic tests like posting, retrieving, and "editing" content check out, but that's as far as I got. If categories work out, too, my current requirements are met.

yoann’s picture

I managed to make the client work, but you have to patch xmlrpc::call, xmlrpc::buildRequest to extract the path to xmlrpc.php from the URL (otherwise, tcl xmlrpc try to post at /RC2 instead of /drupal/xmlrpc.php).
The {lf lf} socket translation parameter has to be changed to crlf too.

If mtsend.py works out of the box, it is perhaps better...

Yoann

fallacious’s picture

...might be Perl's Net::Blogger module as a basis for a couple of scripts, but I suspect this one also needs a bit of patching.

Jasper Kooij’s picture

how did you make it work since I'm don't seem to be able to

Jasper