views:

70

answers:

2

How can I remotely make a post to a user's blog after he/she gives me his login info using the wordpress api? What method do i need to use, what paremeters should it have, etc? Sample code will be great.

I'd prefer to use the XML-RPC api but others will also be acceptable.

+1  A: 

yeah you can use metaWeblog.newPost or blogger.newPost, an example of the first:

http://www.wprecipes.com/post-on-your-wordpress-blog-using-php

uses curl and xmlrpc_encode_request

an example of the second:

http://www.nickycakes.com/post-to-wordpress-remotely-with-xmlrpc-in-php/

yeah and @Francis is correct

jspcal