/** * wp.getUsersBlogs * * @see http://codex.wordpress.org/XML-RPC_wp#wp.getUsersBlogs * * Data is returned as an array of <struct>s containing the ID (blogid), name (blogName), * and URL (url) of each blog. * * Non official: Also return a boolean stating wether or not the user can edit the blog options * (isAdmin). Also return a value for xmlrpc url. * * @param xmlrpcmsg XML-RPC Message * 0 username (string): Login for the Blogger user who's blogs will be retrieved. * 1 password (string): Password for said username. * (currently not required by b2evo) * @return xmlrpcresp XML-RPC Response, an array of <struct>s containing for each blog: * - isAdmin (boolean) * - url (string) * - blogid (string) * - blogName (string) * - xmlrpc (string) */ function wp_getusersblogs($m) { return _wp_or_blogger_getusersblogs('wp', $m); }
/** * blogger.getUsersBlogs returns information about all the blogs a given user is a member of. * * Data is returned as an array of <struct>s containing the ID (blogid), name (blogName), * and URL (url) of each blog. * * Non official: Also return a boolean stating wether or not the user can edit th eblog templates * (isAdmin). * * see {@link http://www.blogger.com/developers/api/1_docs/xmlrpc_getUsersBlogs.html} * @see http://www.sixapart.com/developers/xmlrpc/blogger_api/bloggergetusersblogs.html * * @param xmlrpcmsg XML-RPC Message * 0 appkey (string): Unique identifier/passcode of the application sending the post. * (See access info {@link http://www.blogger.com/developers/api/1_docs/#access} .) * 1 username (string): Login for the Blogger user who's blogs will be retrieved. * 2 password (string): Password for said username. * (currently not required by b2evo) * @return xmlrpcresp XML-RPC Response, an array of <struct>s containing for each blog: * - ID (blogid), * - name (blogName), * - URL (url), * - bool: can user edit template? (isAdmin). */ function blogger_getusersblogs($m) { logIO('blogger_getusersblogs start'); return _wp_or_blogger_getusersblogs('blogger', $m); }
/** * metaweblog.getUsersBlogs returns information about all the blogs a given user is a member of. * * Data is returned as an array of <struct>s containing the ID (blogid), name (blogName), * and URL (url) of each blog. * * Non official: Also return a boolean stating wether or not the user can edit th eblog templates * (isAdmin). * * @see http://www.xmlrpc.com/stories/storyReader$2460 * * @param xmlrpcmsg XML-RPC Message * 0 appkey (string): Unique identifier/passcode of the application sending the post. * (See access info {@link http://www.blogger.com/developers/api/1_docs/#access} .) * 1 username (string): Login for the Blogger user who's blogs will be retrieved. * 2 password (string): Password for said username. * (currently not required by b2evo) * @return xmlrpcresp XML-RPC Response, an array of <struct>s containing for each blog: * - ID (blogid), * - name (blogName), * - URL (url), * - bool: can user edit template? (isAdmin). */ function mw_getusersblogs($m) { return _wp_or_blogger_getusersblogs('blogger', $m); }