BlogPost



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

boolean 

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

stringblogid
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

Retrieves the categories for an existing post using the MoveableType API. Returns the metaWeblog struct.

Parameters

stringpostid
stringusername
stringpassword

Return Value

array of struct Category 

method mt.setPostCategories

Sets the categories for an existing post using the MoveableType API. Returns the metaWeblog struct.

Parameters

stringpostid
stringusername
stringpassword
array of struct Categorycategories

Return Value

boolean 

method wp.getCategories

Retrieves the categories for a blog using the Wordpress API. Returns an array of category Infos.

Parameters

stringblogid
stringusername
stringpassword

Return Value

array of struct CategoryInfo 

struct BlogInfoStruct

Members

stringurl
stringblogName
stringblogid

struct Post

Members

dateTimepubDate (optional)
dateTimedate_created_gmt (optional)
dateTimedateCreated
stringdescription
stringtitle
array of stringcategories (optional)
stringmt_keywords (optional)
integermt_allow_comments (optional)
integermt_allow_pings (optional)
stringlink (optional)
stringpermalink (optional)
stringpostid (optional)
booleanpublish (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 Category

Members

stringcategoryId
stringcategoryName (optional)
booleanisPrimary (optional)

struct CategoryInfo

Members

integercategoryId
integerparentId
stringdescription
stringcategoryName
stringhtmlUrl
stringrssUrl

 

DotNetNuke.Modules.Blog 6.4.1   CookComputing.XmlRpcV2 2.5.0   .NET CLR 4.0.30319