xmlrpc



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

Edits a given post. Optionally, will publish the blog after making the edit.

Parameters

stringappKey
stringpostid
stringusername
stringpassword
stringcontent
booleanpublish

Return Value

anyAlways returns true.

method blogger.getCategories

Returns a list of the categories that you can use to log against a post.

Parameters

stringblogid
stringusername
stringpassword

Return Value

array of struct Category 

method blogger.getPost

Returns a single post.

Parameters

stringappKey
stringpostid
stringusername
stringpassword

Return Value

struct Post 

method blogger.getRecentPosts

Returns a list of the most recent posts in the system.

Parameters

stringappKey
stringblogid
stringusername
stringpassword
integernumberOfPosts

Return Value

array of struct Post 

method blogger.getTemplate

Returns the main or archive index template of a given blog.

Parameters

stringappKey
stringblogid
stringusername
stringpassword
stringtemplateType

Return Value

string 

method blogger.getUserInfo

Authenticates a user and returns basic user info (name, email, userid, etc.).

Parameters

stringappKey
stringusername
stringpassword

Return Value

struct UserInfo 

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 blogger.newPost

Makes a new post to a designated blog. Optionally, will publish the blog after making the post.

Parameters

stringappKey
stringblogid
stringusername
stringpassword
stringcontent
booleanpublish

Return Value

stringId of new post

method blogger.setTemplate

Edits the main or archive index template of a given blog.

Parameters

stringappKey
stringblogid
stringusername
stringpassword
stringtemplate
stringtemplateType

Return Value

boolean 

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

any 

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

Makes a new file to a designated blog using the metaWeblog API. Returns url as a string of a struct.

Parameters

stringblogid
stringusername
stringpassword
struct FileDatafile

Return Value

struct UrlData 

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 

struct Category

Members

stringcategoryid
stringtitle
stringdescription
stringhtmlUrl
stringrssUrl

struct Post

Members

dateTimedateCreated
anyuserid (optional) - Depending on server may be either string or integer. Use Convert.ToInt32(userid) to treat as integer or Convert.ToString(userid) to treat as string
stringpostid (optional)
stringcontent

struct UserInfo

Members

stringurl
stringemail
stringnickname
stringlastname
stringfirstname

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)
anypostid (optional)
struct Sourcesource (optional)
stringuserid (optional)
anymt_allow_comments (optional)
anymt_allow_pings (optional)
anymt_convert_breaks (optional)
stringmt_text_more (optional)
stringmt_excerpt (optional)
stringmt_keywords (optional)
stringwp_password (optional)
stringwp_slug (optional)

struct CategoryInfo

Members

stringdescription
stringhtmlUrl
stringrssUrl
stringtitle
stringcategoryid

struct FileData

Members

base64bits
stringname
stringtype

struct UrlData

Members

stringurl

struct Enclosure

Members

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

struct Source

Members

stringname (optional)
stringurl (optional)

 

RedPill.Inf2.Web 1.0.0   CookComputing.XmlRpcV2 2.4.0   .NET CLR 2.0.50727