Click or drag to resize
IMetaWeblogAPI.GetRecentPosts Method
Gets a set of the most recent blog posts in descending order by publish date.

Namespace: CMS.MetaWeblogProvider
Assembly: CMS.MetaWeblogProvider (in CMS.MetaWeblogProvider.dll) Version: 8.2.23
Syntax
C#
MetaWeblogAPIObjects. Post[] GetRecentPosts(
	string blogid,
	string username,
	string password,
	int numberOfPosts
)

Parameters

blogid
Type: System.String
ID of the blog
username
Type: System.String
Name of the user performing action
password
Type: System.String
Password to access user's account
numberOfPosts
Type: System.Int32
Indicates the number of returned posts

Return Value

Type:MetaWeblogAPIObjects.Post[]
See Also