DasBlog Blogger Access Point



Implementation of Blogger XML-RPC Api

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

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

Upload a new file to the binary content. Returns url as a string

Parameters

stringblogid
stringusername
stringpassword
struct MediaTypeenc

Return Value

struct UrlInfo 

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

Returns a list of all categories defined in the weblog.

Parameters

stringblogid
stringusername
stringpassword

Return Value

array of struct CategoryThe isPrimary member of each Category structs is not used.

method mt.getPostCategories

Returns a list of all categories to which the post is assigned.

Parameters

stringpostid
stringusername
stringpassword

Return Value

array of struct Category 

method mt.getRecentPostTitles

Returns a bandwidth-friendly list of the most recent posts in the system.

Parameters

stringblogid
stringusername
stringpassword
integernumberOfPosts

Return Value

array of struct PostTitle 

method mt.getTrackbackPings

Retrieve the list of TrackBack pings posted to a particular entry. This could be used to programmatically retrieve the list of pings for a particular entry, then iterate through each of those pings doing the same, until one has built up a graph of the web of entries referencing one another on a particular topic.

Parameters

stringpostid

Return Value

array of struct TrackbackPing 

method mt.publishPost

Publish (rebuild) all of the static files related to an entry from your weblog. Equivalent to saving an entry in the system (but without the ping).

Parameters

stringpostid
stringusername
stringpassword

Return Value

booleanAlways returns true.

method mt.setPostCategories

Sets the categories for a post.

Parameters

stringpostid
stringusername
stringpassword
array of struct Categorycategories - categoryName not required in Category struct.

Return Value

booleanAlways returns true.

method mt.supportedMethods

The method names supported by the server.

Parameters

none 

Return Value

array of stringThe method names supported by the server.

method mt.supportedTextFilters

The text filters names supported by the server.

Parameters

none 

Return Value

array of struct TextFilterThe text filters names supported by the server.

struct Category

Members

stringcategoryid
stringtitle
stringdescription
stringhtmlUrl
stringrssUrl

struct Post

Members

dateTimedateCreated
anyuserid
stringpostid
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)
stringlink (optional)
stringpermalink (optional)
stringpostid (optional) - Not required when posting. Depending on server may be either string or integer. Use Convert.ToInt32(postid) to treat as integer or Convert.ToString(postid) to treat as string

struct CategoryInfo

Members

stringdescription
stringhtmlUrl
stringrssUrl
stringtitle
stringcategoryid

struct MediaType

Members

stringname
stringtype
base64bits

struct UrlInfo

Members

stringurl

struct Category

Members

stringcategoryId
stringcategoryName (optional)
booleanisPrimary (optional)

struct PostTitle

Members

dateTimecreated
stringpostid
stringuserid
stringtitle

struct TrackbackPing

Members

stringpingTitle
stringpingURL
stringpingIP

struct TextFilter

Members

stringkey
stringvalue

 

newtelligence.DasBlog.Web.Services 1.9.6264   CookComputing.XmlRpc.NoSN 1.0.0   .NET CLR 1.1.4322