namespaceApp;
useSahusoftCom\ArticleBuilderService;
useSahusoftCom\XMLRPClientWordpress;
classNewService{
// Example to use ArticleBuilder ServicepublicfunctionfirstMethod(){
$object = new ArticleBuilderService($username, $password);
$object->authenticate();
}
// Example to use XMLRPClientWordpress ServicepublicfunctionsecondMethod(){
$object = new XMLRPClientWordpress($xmlrpccurl, $username, $password);
$blogId = $object->createPost($title, $body, $category, $keywords, $encoding);
}
Returns:
[Key] [Value]
success true
output (the category list--PHP arrayor XML table)
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.