This is XML-RPC for Textpattern v1.0
- Full MarsEdit support – no more errors when trying to get the most recent posts! No more errors at all! (That I’ve found)
- Fixed metaWeblog implementation – you can now use it rather than the MovableType API if you want
- Improved category handling on both APIs – by that, I mean they (should) work!
Obviously, I might have missed some bugs, so if you find any, please let me know in the comments below.
To install XRT, download the 10Kb ZIP file (link below). Extract the contents of the zip file into your Textpattern directory then upload to your server.
Simply point your chosen blog client towards http://[yoursite]/textpattern/xmlrpcs.php to use XRT. MarsEdit users will have to enter the name of the section you want to post to as the Blog ID, i.e. “blog”, “articles”, etc.
A small bug sneaked its way into v1.0, that affects the MetaWeblog API. To fix, change lines 326 and 430 to the following:
$incoming['Annotate'] = ($entry['mt_allow_comments']) ? $entry['mt_allow_comments'] : 1;
Version 1.1 will be out in a few days and will contain this fix, amongst others.