%VOSWARNING%
---++ODS Weblog Meta Weblog (XML-RPC) API
Notes: The "content" is a struct (unlike in bloggerAPI), so it can contain the following standard keys:
{
string title - for the title of the entry;
string description - for the body of the entry;
string dateCreated - to set the created-on date of the entry.
* string userid - user made the post
* string "postid" - post ID
* string link - link to the document
* string permaLink - archive link
int mt_allow_comments - the value for the "allow_comments" field.
int mt_allow_pings - the value for the "allow_pings" field.
string mt_convert_breaks - the value for the "convert_breaks" field.
string mt_text_more - the value for the additional entry text.
string mt_excerpt - the value for the excerpt field;
string mt_keywords - the value for the keywords field;
array mt_tb_ping_urls - the list of TrackBack ping URLs for this entry.
}
- If specified, 'dateCreated' should be in ISO.8601 format.
- The members denoted with asterisk are available only upon retrieval operations (like getPost and getrecentPosts)
* metaWeblog.newPost
Description: Creates a new post, and optionally publishes it.
Parameters:
string "blogid"
string "username"
string "password"
struct "content"
boolean "publish"
Return value: on success, String /"postid"/ of new post; on failure, fault
* metaWeblog.editPost
Description: Updates information about an existing post.
Parameters:
string "postid"
string "username"
string "password"
struct "content"
boolean "publish"
Return value: on success, boolean true value; on failure, fault
* metaWeblog.getPost
Description: Returns information about a specific post.
Parameters:
string "postid"
string "username"
string "password"
Return value: on success, struct on failure, fault
* metaWeblog.getRecentPosts
Description: Returns a list of the most recent posts in the system.
Parameters:
string "blogid"
string "username"
string "password"
int "numberOfPosts"
Return value: on success, array of structs on failure, fault
---+++ODS Weblog Meta Weblog (XML-RPC) API Services UI Endpoint
ODS Weblog Meta Weblog (XML-RPC) API Services UI endpoint:
http://host:port/mt-tb/services.vsmx
ODS Weblog Meta Weblog (XML-RPC) API Services wsdl Endpoint:
http://host:port/mt-tb/services.wsdl
---+++References
* [[http://www.xmlrpc.com/metaWeblogApi][MetawebLog API (extension of blogger API with rss2 elements)]]