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

Returns information about the given user.

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

Add a media object to a post using the metaWeblog API. Returns media url as a string.

Parameters

stringblogid
stringusername
stringpassword
struct MediaObjectmediaObject

Return Value

struct MediaObjectUrl 

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 pb.getNewComments

Returns number of new comments

Parameters

stringappKey
stringblogid
stringusername
stringpassword

Return Value

integer 

method pb.resetNewComments

Resets new comments

Parameters

stringappKey
stringblogid
stringusername
stringpassword

Return Value

boolean 

struct UserInfo

Members

stringuserid (optional)
stringfirstname (optional)
stringlastname (optional)
stringnickname (optional)
stringemail (optional)
stringurl (optional)

struct BlogInfo

Members

stringadminid (optional)
stringblogid (optional)
stringurl (optional)
stringblogName (optional)
stringtitle (optional)

struct Post

Members

dateTimedateCreated (optional)
stringdateCreatedFormatted (optional)
stringdescription (optional)
stringtitle (optional)
stringlink (optional)
stringpermalink (optional)
anypostid (optional)
stringuserid (optional)
array of stringcategories (optional)

struct CategoryInfo

Members

stringdescription
stringhtmlUrl
stringrssUrl
stringtitle
stringcategoryid

struct MediaObject

Members

stringname (optional)
stringtype (optional)
base64bits (optional)

struct MediaObjectUrl

Members

stringurl (optional)

 

PersianBlog.Blogs 1.0.0   CookComputing.XmlRpcV2 2.1.0   .NET CLR 4.0.30319