I need to migrate non-WP data from an SQL database to posts in WP, and thought that using XML-RPC in a closed environment before deploying was a smart solution.
This is my first WP project, so I'm still quite new to WP.
I've managed to upload the images XML-RPC. Unfortunately, I can't see that neither metaWeblog.newMediaObject nor wp.uploadFile supports caption, alt or description fields.
I tried uploading the image and then edit the post with the ID returned from the upload. The wp.editPost returns a boolean set to true, which makes me believe the changes were set. But when I check the media library, the image caption fields are still empty.
Does anyone have any suggestions what I should do?
wp.uploadFile
? I'm stuck in this same boat too and fear that I may have to make a separate call to update the image post after the image has been uploaded.