MetaWeblog



The following methods are supported:

method blogger.deletePost

Deletes a post.

Parameters

string appKey
string postid
string username
string password
boolean publish - Where applicable, this specifies whether the blog should be republished after the post has been deleted.

Return Value

boolean Always returns true.

method blogger.getRecentPosts

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

Parameters

string appKey
string blogid
string username
string password
integer numberOfPosts

Return Value

array of struct BloggerPost  

method blogger.getUsersBlogs

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

Parameters

string appKey
string username
string password

Return Value

array of struct  

method metaWeblog.editPost

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

Parameters

string postid
string username
string password
struct Post post
boolean publish

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

string blogid
string username
string password

Return Value

array of struct CategoryInfo  

method metaWeblog.getPost

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

Parameters

string postid
string username
string password

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

string blogid
string username
string password
integer numberOfPosts

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

string blogid
string username
string password
struct mediaObject mediaobject

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

string blogid
string username
string password
struct Post post
boolean publish

Return Value

string  

method mt.getCategoryList

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

Parameters

string blogid
string username
string password

Return Value

array of struct MtCategory  

method mt.getPostCategories

Sets the categories for a given post.

Parameters

string postid
string username
string password

Return Value

array of struct MtCategory  

method mt.setPostCategories

Sets the categories for a given post.

Parameters

string postid
string username
string password
array of struct MtCategory categories

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  

struct BloggerPost

Members

string content
dateTime dateCreated
string postid
string userid

Members

string blogid
string url
string blogName

struct Post

Members

dateTime dateCreated - Required when posting.
string description - Required when posting.
string title - Required when posting.
array of string categories (optional)
struct Enclosure enclosure (optional)
string link (optional)
string permalink (optional)
any postid (optional)
struct Source source (optional)
string userid (optional)

struct CategoryInfo

Members

string description
string htmlUrl
string rssUrl
string title
string categoryid

struct mediaObject

Members

string name
string type
base64 bits

struct mediaObjectInfo

Members

string url

struct MtCategory

Members

string categoryId
string categoryName (optional)
boolean isPrimary (optional)

struct MtTextFilter

Members

string key (optional)
string label (optional)

struct Enclosure

Members

integer length (optional)
string type (optional)
string url (optional)

struct Source

Members

string name (optional)
string url (optional)

 

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