Reputation: 13931
I need to write application in PHP that supports Wordpress XML-RPC and allows to add posts from that PHP application (other website) using XML-RPC.
Where I can find some tutorial or examples of XML-RPC in PHP for newbies?
Shall I use XMLRPCPHP from http://phpxmlrpc.sourceforge.net/?
Upvotes: 0
Views: 722
Reputation: 1602
In brief, xmlrpc is the method of remote procedure call, where call info is xml encoded.
xmlrpc server exposes a set of remote methods with input arguments and return type.
xmlrpc supports following argument types:
Description of Wordpress methods exposed through xmlrpc
To add a post, you need to call wp.newPost with arguments: blog id, username, password and structure, representing post content.
XMLRPCPHP is a good choice.
Upvotes: 2