MetaWeblog


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.getRecentPosts

Workaround for w.bloggar errors. Exists just to throw an exception explaining issue.

Parameters

stringappKey
stringblogid
stringusername
stringpassword
integernumberOfPosts

Return Value

array of struct BloggerPost 

method blogger.getUsersBlogs

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

Parameters

stringappKey
stringusername
stringpassword

Return Value

array of struct BlogInfo 

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 CategoryInfo 

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.getCategoryList

Gets a list of active categories for a given blog as an array of MT category struct.

Parameters

stringblogid
stringusername
stringpassword

Return Value

array of struct MtCategory 

method mt.getPostCategories

Sets the categories for a given post.

Parameters

stringpostid
stringusername
stringpassword

Return Value

array of struct MtCategory 

method mt.setPostCategories

Sets the categories for a given post.

Parameters

stringpostid
stringusername
stringpassword
array of struct MtCategorycategories

Return Value

boolean 

method mt.supportedTextFilters

Retrieve information about the text formatting plugins supported by the server.

Parameters

none 

Return Value

array of struct MtTextFilter 

method wp.deletePage

Removes a page from the blog.

Parameters

stringblog_id
stringusername
stringpassword
stringpage_id

Return Value

boolean 

method wp.editPage

Adds a new page/article to the blog engine.

Parameters

stringblog_id
stringpage_id
stringusername
stringpassword
struct Postcontent
booleanpublish

Return Value

integer 

method wp.getPage

Get the page identified by the page id.

Parameters

stringblog_id
stringpage_id
stringusername
stringpassword

Return Value

struct Post 

method wp.getPages

Get an array of all the pages on a blog.

Parameters

stringblog_id
stringusername
stringpassword
integernumberOfPosts

Return Value

array of struct Post 

method wp.newCategory

Adds a new category to the blog engine.

Parameters

stringblogid
stringusername
stringpassword
struct WordpressCategorycategory

Return Value

integer 

method wp.newPage

Adds a new page/article to the blog engine.

Parameters

stringblog_id
stringusername
stringpassword
struct Postcontent
booleanpublish

Return Value

integer 

struct BloggerPost

Members

stringcontent
dateTimedateCreated
stringpostid
stringuserid

struct BlogInfo

Members

stringblogid
stringurl
stringblogName

struct Post

Members

dateTimedateCreated - Required when posting.
stringdescription - Required when posting.
stringtitle - Required when posting.
array of stringcategories (optional)
struct Enclosureenclosure (optional)
stringlink (optional)
stringpermalink (optional)
stringwp_slug (optional)
anypostid (optional)
struct Sourcesource (optional)
stringuserid (optional)

struct CategoryInfo

Members

stringdescription
stringhtmlUrl
stringrssUrl
stringtitle
stringcategoryid

struct mediaObject

Members

stringname
stringtype
base64bits

struct mediaObjectInfo

Members

stringurl

struct MtCategory

Members

stringcategoryId
stringcategoryName (optional)
booleanisPrimary (optional)

struct MtTextFilter

Members

stringkey (optional)
stringlabel (optional)

struct WordpressCategory

Members

stringname

struct Enclosure

Members

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

struct Source

Members

stringname (optional)
stringurl (optional)

 

Subtext.Framework 2.0.0   CookComputing.XmlRpcV2 0.0.0   .NET CLR 2.0.50727