WordPress.org

Ready to get started?Download WordPress

Plugin Directory

MPQ Video Gallery XMLRPC

This plugin creates functions for Clean Video Gallery Plugin which can be XMLRPC invoked remotely.

= Exmaple to invoke the xmlrpc api in PHP= //this example demo how to query the clean video gallery posts set_time_limit(0); require_once("IXR_Library.php.inc");

$client->debug = true; // Set it to false in Production Environment

// Create the client object $client = new IXR_Client('{hostname}','/xmlrpc.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=13522981788714');

$username = "{admin login name}";

$password = "{password}";

$function_args = array(array('',$username,$password, array('post_type'=>'galleryvideo'))); $params = array($username,$password,"i_mpqvideogllrxmlrpc_metaweblog_getposts", $function_args);

// Run a query To Read Posts From WordPress $ret = $client->query('mpqvideogllrxmlrpc_extapi.callMpqVideoGllrMethod', $params); if (!$ret) { die('Something went wrong - '.$client->getErrorCode().' : '.$client->getErrorMessage()); }

$myresponse = $client->getResponse(); print_r($myresponse); die();

Requires: 3.3 or higher
Compatible up to: 3.3.2
Last Updated: 2013-5-20
Downloads: 215

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.