Last week I submitted a small patch to Movable Type to fix one of its XML-RPC methods. There was a bug in it that caused the data received from metaWeblog.newMediaObject to not be decoded from base64 encoding, resulting in a file upload that is functionally corrupt from the perspective of the average user. On top of that, I've started working on implementing the rest of the new WordPress XML-RPC calls. So far, I have two of them that seem to be reasonably functional and well-tested: getPageList and getCategories. I'd like to get the rest of them implemented, as time permits, within the next week or so, so that hopefully I can send them in as a patch to be included in the next release of Movable Type Open Source.
Update 12/14/2008 10:41PM: I realized that getCategories was already implemented as part of another package, so I modified sub getCategories to handle getCategories from both packages. That seems to be working now. I've also added, but not tested, support for wp.newCategory, wp.deleteCategory, wp.suggestCategories and am going to start working on wp.getComment and wp.getComments early this week. Once I have tested those, and they all seem to work, I will implement wp.uploadFile--probably as a wrapper around metaWeblog.newMediaObject.
After that is done, I would like to start working on some new methods. Some that come to mind might be mt.editComment, mt.editAsset, mt.deleteAsset and mt.assignOwnership. I would also like to explore the possibility of refactoring the Movable Type XML-RPC system so that it is based around the registry, but that's for another day.
Update 12/14/2008 10:41PM: I realized that getCategories was already implemented as part of another package, so I modified sub getCategories to handle getCategories from both packages. That seems to be working now. I've also added, but not tested, support for wp.newCategory, wp.deleteCategory, wp.suggestCategories and am going to start working on wp.getComment and wp.getComments early this week. Once I have tested those, and they all seem to work, I will implement wp.uploadFile--probably as a wrapper around metaWeblog.newMediaObject.
After that is done, I would like to start working on some new methods. Some that come to mind might be mt.editComment, mt.editAsset, mt.deleteAsset and mt.assignOwnership. I would also like to explore the possibility of refactoring the Movable Type XML-RPC system so that it is based around the registry, but that's for another day.
Leave a comment