Getting Movable Type up to speed on XML-RPC

| 0 Comments
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.

Leave a comment

March 2010

Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Recent Entries

The three purposes of the federal income tax law
Businesses will spend about 3.4 billion man-hours and individuals about 1.7 billion hours figuring out their taxes this year.…
Progress of a different sort
You know we have reached a level of decadence seldom seen in the history of the West when our women…
And police wonder why the public rarely trusts them
But there is some good news to report here, too. The Maryland state law, as noted, is the first…

Subscribe

Advertisements

OpenID accepted here Learn more about OpenID