metaPost3
The following methods are supported:
Deletes a post.
Parameters
string | appKey |
string | postid |
string | username |
string | password |
boolean | publish - Where applicable, this specifies whether the blog should be republished after the post has been deleted. |
Return Value
boolean | Always returns true. |
Returns information on all the blogs a given user is a member.
Parameters
string | appKey |
string | username |
string | password |
Return Value
Updates and existing post to a designated blog using the metaWeblog API. Returns true if completed.
Parameters
string | postid |
string | username |
string | password |
struct Post | post |
boolean | publish |
Return Value
Retrieves a list of valid Categories for a post using the metaWeblog API. Returns the metaWeblog Categories struct collection.
Parameters
string | blogid |
string | username |
string | password |
Return Value
Retrieves an existing post using the metaWeblog API. Returns the metaWeblog struct.
Parameters
string | postid |
string | username |
string | password |
Return Value
Retrieves a list of the most recent existing post using the metaWeblog API. Returns the metaWeblog struct collection.
Parameters
string | blogid |
string | username |
string | password |
integer | numberOfPosts |
Return Value
Uploads an image, movie, song, or other media using the metaWeblog API. Returns the metaObject struct.
Parameters
any | blogid |
string | username |
string | password |
struct mediaObject | mediaobject |
Return Value
Makes a new post to a designated blog using the metaWeblog API. Returns postid as a string.
Parameters
string | blogid |
string | username |
string | password |
struct Post | post |
boolean | publish |
Return Value
Get post categories. Implemented only to workaround an issue in the June 2008 CTP of WLW.
Parameters
string | postid |
string | username |
string | password |
Return Value
Set post categories. Implemented only to workaround an issue in the June 2008 CTP of WLW.
Parameters
string | postid |
string | username |
string | password |
array of struct PostedCategory | categories |
Return Value
Deletes an existing page using the WordPress API Returns a bool indicating the success or failure of the delete operation.
Parameters
string | blog_id |
string | username |
string | password |
string | page_id |
Return Value
Edits an existing page using the WordPress API. This API is useful for applications which support multiple pages associated with a single entity. Returns a boolean indicating success of edit.
Parameters
string | blog_id |
string | page_id |
string | username |
string | password |
struct Post | content |
boolean | publish |
Return Value
Retrieves a list of valid Categories for a post using the WordPress API. The advantage of using the WordPress API is support for hierarchical Categories.
Parameters
string | blog_id |
string | username |
string | password |
Return Value
Retrieves an existing page using the WordPress API. This API is useful for applications which support multiple pages associated with a single entity. Returns a Post struct.
Parameters
string | blog_id |
string | page_id |
string | username |
string | password |
Return Value
Retrieves an array of existing pages using the WordPress API retrieving just the minimum details. Returns an array of the Post struct with only the following fields set: page_id, page_title, page_parent_id, DateCreated
Parameters
string | blog_id |
string | username |
string | password |
Return Value
Retrieves an array of existing pages using the WordPress API. This API is useful for applications which support multiple pages associated with a single entity. Returns an array of the Post struct.
Parameters
string | blog_id |
string | username |
string | password |
integer | numberOfItems |
Return Value
Adds a new category using the WordPress API. The advantage of using the WordPress API is support for hierarchical Categories. Should return the new cateogry ID.
Parameters
string | blog_id |
string | username |
string | password |
struct NewCategory | category |
Return Value
Adds a new page using the WordPress API. This API is useful for applications which support multiple pages associated with a single entity. Returns the new page ID.
Parameters
string | blog_id |
string | username |
string | password |
struct Post | content |
boolean | publish |
Return Value
Members
string | blogid |
string | url |
string | blogName |
Members
dateTime | pubDate (optional) |
dateTime | date_created_gmt (optional) |
dateTime | dateCreated - Required when posting. |
string | description - Required when posting. |
string | title - Required when posting. |
array of string | categories (optional) |
string | mt_keywords (optional) |
integer | mt_allow_comments (optional) |
integer | mt_allow_pings (optional) |
struct Enclosure | enclosure (optional) |
string | link (optional) |
string | permalink (optional) |
any | postid (optional) |
string | wp_slug (optional) |
string | wp_password (optional) |
string | wp_page_parent_id (optional) |
string | wp_page_order (optional) |
string | wp_author_id (optional) |
string | mt_excerpt (optional) |
string | mt_text_more (optional) |
array of string | mt_tb_ping_urls (optional) |
string | page_status (optional) |
Members
string | description |
string | htmlUrl |
string | rssUrl |
Members
string | name |
string | type |
base64 | bits |
Members
Members
string | categoryId (optional) |
string | categoryName (optional) |
boolean | isPrimary (optional) |
Members
string | categoryId |
string | parentId |
string | description |
string | categoryName |
string | htmlUrl |
string | rssUrl |
Members
any | page_id |
string | page_title |
string | page_parent_id |
dateTime | dateCreated |
Members
string | name |
string | slug |
integer | parent_id |
string | description |
Members
integer | length (optional) |
string | type (optional) |
string | url (optional) |