Javascript XMLRPC client

Posted on Dezember 16th, 2009 in Computer,Programmiersprachen by muhgatus

Nahmd,

ich habe mir einen Javascript XMLRPC Client geschrieben, da alle anderen unter WebOS nicht funktioniert haben.

Die Ergebnisse werden als Objektbaum zurückgegeben.

Benötigt werden folgende Bibliotheken:

Beispiel:

  1. var func = function (data) {
  2.     $(‘result’).innerHTML="Result:"+Object.toJSON(data);
  3. }
  4.  
  5. var request = new XMLRPC("http://blog.myhomepage.org/xmlrpc.php", "wp.getUsersBlogs", ["username","password"], func);
  6.  
QR Code for Javascript XMLRPC client

Post a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word