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:
BloggerManila
Blog IDManila site base URL
Blogger.com user IDManila user ID (appears to be e-mail address)
Blogger.com passwordManila password
post textpost text
“publish immediately” flagManila “approval” flag

More information about the Manila-Blogger interface is available on Dave Winer’s Emulating Blogger in Manila page.

§

Respond privately

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.)



§

firehosecodeplanet

© 2001–9 Mark Pilgrim