First XML-RPC blog test
So I have started looking into uploading blog content via XML-RPC. This is being done with a custom module with my own functions for authorisation and upload. The upload is currently a combination of blog.newPost and metaweblog.newMediaObject as I need to ensure an image is uploaded to every blog entry (see the test blog here).
I now need to try and create a ShoZu integration module that also utilises the module, so I can try and upload from my mobile device (Nokia N73). If I get the time and I get far enough I will publish the module code so that it is available to others, but it not in a state where that is possible at the moment.
are you using node.save to
are you using node.save to upload your image with xmlrpc? if so, how are you formatting it. i have tried a whole bunch of stuff to get that to work and i can't figure out where to put the image.
if you have it, could you post a bit of the xml from the xmlrpc call you are using?
Hi, I created a custom
Hi,
I created a custom xmlrpc command to do the upload, basically a call to shozu_xmls_upload which will contain the file (encoded). This then calls shozu_uploadblogfile which decodes the file and copies it the a sub dir in the files directory. I then create an <img> tag and add it to the blog entry to display the image. You are welcome to look at the code for the module it is a zip attachement that can be found on http://www.sbrogers.co.uk/node/26.
Steve Rogers
Post new comment