Procedural File: _blogger.api.php
Source Location: /qp_inc/xmlrpc/apis/_blogger.api.php
Functions
blogger_deletepost [line 237]
blogger.deletePost deletes a given post.
This API call is not documented on http://www.blogger.com/developers/api/1_docs/
Parameters:
|
xmlrpcmsg |
$m: |
XML-RPC Message - appkey (string): Unique identifier/passcode of the application sending the post.
(See access info http://www.blogger.com/developers/api/1_docs/#access .)
- postid (string): Unique identifier of the post to be deleted.
- username (string): Login for a Blogger user who has permission to edit the given
post (either the user who originally created it or an admin of the blog).
- password (string): Password for said username.
|
API Tags:
blogger_editpost [line 146]
blogger.editPost changes the contents of a given post.
Optionally, will publish the blog the post belongs to after changing the post. (In QP, this means the changed post will be moved to published state). On success, it returns a boolean true value. On error, it will return a fault with an error message.
Parameters:
|
xmlrpcmsg |
$m: |
XML-RPC Message - appkey (string): Unique identifier/passcode of the application sending the post.
(See access info http://www.blogger.com/developers/api/1_docs/#access .)
- postid (string): Unique identifier of the post to be changed.
- username (string): Login for a Blogger user who has permission to edit the given
post (either the user who originally created it or an admin of the blog).
- password (string): Password for said username.
- content (string): New content of the post.
- publish (boolean): If true, the blog will be published immediately after the
post is made. (In QP, this means, the new post will be in 'published' state,
otherwise it would be in draft state).
|
API Tags:
Information Tags:
| Todo: | check current status and permission on it |
blogger_getpost [line 407]
blogger.getPost retieves a given post.
This API call is not documented on http://www.blogger.com/developers/api/1_docs/
Parameters:
|
xmlrpcmsg |
$m: |
XML-RPC Message - appkey (string): Unique identifier/passcode of the application sending the post.
(See access info http://www.blogger.com/developers/api/1_docs/#access .)
- postid (string): Unique identifier of the post to be deleted.
- username (string): Login for a Blogger user who has permission to edit the given
post (either the user who originally created it or an admin of the blog).
- password (string): Password for said username.
|
API Tags:
blogger_getrecentposts [line 475]
blogger.getRecentPosts retieves X most recent posts.
This API call is not documented on http://www.blogger.com/developers/api/1_docs/
Parameters:
|
xmlrpcmsg |
$m: |
XML-RPC Message - appkey (string): Unique identifier/passcode of the application sending the post.
(See access info http://www.blogger.com/developers/api/1_docs/#access .)
- blogid (string): Unique identifier of the blog the post will be added to.
Currently ignored in QP, in favor of the category.
- username (string): Login for a Blogger user who has permission to edit the given
post (either the user who originally created it or an admin of the blog).
- password (string): Password for said username.
- numposts (integer): number of posts to retrieve.
|
API Tags:
blogger_getuserinfo [line 364]
blogger_getusersblogs [line 302]
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 the blog templates (isAdmin). see http://www.blogger.com/developers/api/1_docs/xmlrpc_getUsersBlogs.html
Parameters:
|
xmlrpcmsg |
$m: |
XML-RPC Message - appkey (string): Unique identifier/passcode of the application sending the post.
(See access info http://www.blogger.com/developers/api/1_docs/#access .)
- username (string): Login for the Blogger user who's blogs will be retrieved.
- password (string): Password for said username.
(currently not required by QP)
|
API Tags:
blogger_newpost [line 46]
blogger.newPost makes a new post to a designated blog.
Optionally, will publish the blog after making the post. (In QP, this means the new post will be in 'published' state). On success, it returns the unique ID of the new post (usually a seven-digit number at this time). On error, it will return some error message.
Parameters:
|
xmlrpcmsg |
$m: |
XML-RPC Message - appkey (string): Unique identifier/passcode of the application sending the post.
(See access info http://www.blogger.com/developers/api/1_docs/#access .)
- blogid (string): Unique identifier of the blog the post will be added to.
Currently ignored in QP, in favor of the category.
- username (string): Login for a Blogger user who has permission to post to the blog.
- password (string): Password for said username.
- content (string): Contents of the post.
- publish (boolean): If true, the blog will be published immediately after the
post is made. (In QP, this means, the new post will be in 'published' state,
otherwise it would be in draft state).
|
API Tags:
|
|