{"id":21431,"date":"2013-05-20T15:41:25","date_gmt":"2013-05-20T15:41:25","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/mpq-video-gallery-xmlrpc\/"},"modified":"2013-05-20T15:52:11","modified_gmt":"2013-05-20T15:52:11","slug":"mpq-video-gallery-xmlrpc","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/mpq-video-gallery-xmlrpc\/","author":9519534,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.3","stable_tag":"trunk","tested":"3.3.2","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"MPQ Video Gallery XMLRPC","header_author":"Peidong Hu","header_description":"","assets_banners_color":"","last_updated":"2013-05-20 15:52:11","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=VLFPQMLSD9MJC","header_plugin_uri":"","header_author_uri":"bigtester.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1314,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[210,222,14731],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-21431","plugin","type-plugin","status-publish","hentry","plugin_tags-gallery","plugin_tags-video","plugin_tags-xmlrpc","plugin_committers-zhouyibhic"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/mpq-video-gallery-xmlrpc.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Basically this plugin creates XMLRPC interfaces for Clean Video Gallery Plugin. \n  NOTE: API functions (xmlrpc revoke functions) are all prefixed with 'i_gllrxmlrpc'.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Clean Video Gallery plugin has to be installed as the pre-requisite condition. You can find Clean Video Gallery Plugin here, http:\/\/wordpress.org\/extend\/plugins\/clean-video-gallery\/<\/li>\n<li>unzip the plugin<\/li>\n<li>Upload plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>In administrator portal, click Settings-&gt;Video Gallery Plugin XMLRPC Interface to enable\/disable the api functions.<\/li>\n<\/ol>\n <p>Warning: Debug Error log is being appended into the WP_CONTENT_DIR . '\/debug.log'; Make sure that in production environment, trun off the debug directive in wp-includes\/default-constants.php<\/p>\n\n<!--section=faq-->\n<p>= 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\");<\/p>\n <p>$client-&gt;debug = true; \/\/ Set it to false in Production Environment<\/p>\n <p>\/\/ Create the client object $client = new IXR_Client('{hostname}','\/xmlrpc.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&amp;KEY=13522981788714');<\/p>\n <p>$username = \"{admin login name}\";<\/p>\n <p>$password = \"{password}\";<\/p>\n <p>$function_args = array(array('',$username,$password, array('post_type'=&gt;'galleryvideo')));  $params = array($username,$password,\"i_mpqvideogllrxmlrpc_metaweblog_getposts\", $function_args);<\/p>\n <p>\/\/ Run a query To Read Posts From Wordpress  $ret = $client-&gt;query('mpqvideogllrxmlrpc_extapi.callMpqVideoGllrMethod', $params);  if (!$ret) {     die('Something went wrong - '.$client-&gt;getErrorCode().' : '.$client-&gt;getErrorMessage());  }<\/p>\n <p>$myresponse = $client-&gt;getResponse();  print_r($myresponse);  die();<\/p>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n <ul>\n<li>initial version<\/li>\n<\/ul>","raw_excerpt":"This plugin creates functions for Clean Video Gallery Plugin which can be XMLRPC invoked remotely.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21431"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zhouyibhic"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21431"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21431"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21431"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21431"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21431"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}