PyBlogger 0.8 is out, and it can post to Manila sites as well as Blogger sites.
Example (to post to the public test weblog on Manilasites.com):
>>> import blogger >>> url = "http://bloggerapitest.manilasites.com/" >>> blogger.constants.xmlrpcServer = url + "RPC2" >>> blogger.newPost(url, ... "publictestaccount@nowhere.com", ... "", ... "Ping", ... 1)Briefly, blogger.constants.xmlrpcServer is your Manila site’s base URL + “RPC2″. When calling blogger.newPost, use the following mapping:
| Blogger | Manila |
|---|---|
| Blog ID | Manila site base URL |
| Blogger.com user ID | Manila user ID (appears to be e-mail address) |
| Blogger.com password | Manila password |
| post text | post text |
| “publish immediately” flag | Manila “approval” flag |
More information about the Manila-Blogger interface is available on Dave Winer’s Emulating Blogger in Manila page.
§
I am no longer accepting public comments on this post, but you can use this form to contact me privately. (Your message will not be published.)
§
firehose ‧ code ‧ music ‧ planet
© 2001-8 Mark Pilgrim