metaPost3



The following methods are supported:

method blogger.deletePost

Deletes a post.

Parameters

stringappKey
stringpostid
stringusername
stringpassword
booleanpublish - Where applicable, this specifies whether the blog should be republished after the post has been deleted.

Return Value

booleanAlways returns true.

method blogger.getUsersBlogs

Returns information on all the blogs a given user is a member.

Parameters

stringappKey
stringusername
stringpassword

Return Value

array of struct BlogInfoStruct 

method metaWeblog.editPost

Updates and existing post to a designated blog using the metaWeblog API. Returns true if completed.

Parameters

stringpostid
stringusername
stringpassword
struct Postpost
booleanpublish

Return Value

boolean 

method metaWeblog.getCategories

Retrieves a list of valid Categories for a post using the metaWeblog API. Returns the metaWeblog Categories struct collection.

Parameters

stringblogid
stringusername
stringpassword

Return Value

array of struct MetaWebLogCategoryInfo 

method metaWeblog.getPost

Retrieves an existing post using the metaWeblog API. Returns the metaWeblog struct.

Parameters

stringpostid
stringusername
stringpassword

Return Value

struct Post 

method metaWeblog.getRecentPosts

Retrieves a list of the most recent existing post using the metaWeblog API. Returns the metaWeblog struct collection.

Parameters

stringblogid
stringusername
stringpassword
integernumberOfPosts

Return Value

array of struct Post 

method metaWeblog.newMediaObject

Uploads an image, movie, song, or other media using the metaWeblog API. Returns the metaObject struct.

Parameters

anyblogid
stringusername
stringpassword
struct mediaObjectmediaobject

Return Value

struct mediaObjectInfo 

method metaWeblog.newPost

Makes a new post to a designated blog using the metaWeblog API. Returns postid as a string.

Parameters

stringblogid
stringusername
stringpassword
struct Postpost
booleanpublish

Return Value

string 

method mt.getPostCategories

Get post categories. Implemented only to workaround an issue in the June 2008 CTP of WLW.

Parameters

stringpostid
stringusername
stringpassword

Return Value

array of struct PostedCategory 

method mt.setPostCategories

Set post categories. Implemented only to workaround an issue in the June 2008 CTP of WLW.

Parameters

stringpostid
stringusername
stringpassword
array of struct PostedCategorycategories

Return Value

boolean 

method wp.deletePage

Deletes an existing page using the WordPress API Returns a bool indicating the success or failure of the delete operation.

Parameters

stringblog_id
stringusername
stringpassword
stringpage_id

Return Value

boolean 

method wp.editPage

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

stringblog_id
stringpage_id
stringusername
stringpassword
struct Postcontent
booleanpublish

Return Value

boolean 

method wp.getCategories

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

stringblog_id
stringusername
stringpassword

Return Value

array of struct CategoryInfo 

method wp.getPage

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

stringblog_id
stringpage_id
stringusername
stringpassword

Return Value

struct Post 

method wp.getPageList

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

stringblog_id
stringusername
stringpassword

Return Value

array of struct Page 

method wp.getPages

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

stringblog_id
stringusername
stringpassword
integernumberOfItems

Return Value

array of struct Post 

method wp.newCategory

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

stringblog_id
stringusername
stringpassword
struct NewCategorycategory

Return Value

integer 

method wp.newPage

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

stringblog_id
stringusername
stringpassword
struct Postcontent
booleanpublish

Return Value

integer 

struct BlogInfoStruct

Members

stringblogid
stringurl
stringblogName

struct Post

Members

dateTimepubDate (optional)
dateTimedate_created_gmt (optional)
dateTimedateCreated - Required when posting.
stringdescription - Required when posting.
stringtitle - Required when posting.
array of stringcategories (optional)
stringmt_keywords (optional)
integermt_allow_comments (optional)
integermt_allow_pings (optional)
struct Enclosureenclosure (optional)
stringlink (optional)
stringpermalink (optional)
anypostid (optional)
stringwp_slug (optional)
stringwp_password (optional)
stringwp_page_parent_id (optional)
stringwp_page_order (optional)
stringwp_author_id (optional)
stringmt_excerpt (optional)
stringmt_text_more (optional)
array of stringmt_tb_ping_urls (optional)
stringpage_status (optional)

struct MetaWebLogCategoryInfo

Members

stringdescription
stringhtmlUrl
stringrssUrl

struct mediaObject

Members

stringname
stringtype
base64bits

struct mediaObjectInfo

Members

stringurl

struct PostedCategory

Members

stringcategoryId (optional)
stringcategoryName (optional)
booleanisPrimary (optional)

struct CategoryInfo

Members

stringcategoryId
stringparentId
stringdescription
stringcategoryName
stringhtmlUrl
stringrssUrl

struct Page

Members

anypage_id
stringpage_title
stringpage_parent_id
dateTimedateCreated

struct NewCategory

Members

stringname
stringslug
integerparent_id
stringdescription

struct Enclosure

Members

integerlength (optional)
stringtype (optional)
stringurl (optional)

 

itcMetaPost 1.3.6   CookComputing.XmlRpcV2 2.4.0   .NET CLR 4.0.30319