Click or drag to resize
IMetaWeblogAPIAddPost Method
Inserts the new blog post within specified blog.

Namespace: CMS.MetaWeblogProvider
Assembly: CMS.MetaWeblogProvider (in CMS.MetaWeblogProvider.dll) Version: 8.2.23
Syntax
C#
string AddPost(
	string blogid,
	string username,
	string password,
	MetaWeblogAPIObjectsPost post,
	bool publish
)

Parameters

blogid
Type: SystemString
ID of the blog post is added to
username
Type: SystemString
Name of the user performing action
password
Type: SystemString
Password to access user's account
post
Type: CMS.MetaWeblogProviderMetaWeblogAPIObjectsPost
Blog post info
publish
Type: SystemBoolean
Indicates whether the blog post should be published. If false it is a draft post

Return Value

Type: String
See Also