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/ ?
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.