Метод | Описание | |
---|---|---|
CreateBlogPost ( BlogMLBlog blog, |
Creates a blog post and returns the id.
|
|
CreateCategories ( BlogMLBlog blog ) : string>.IDictionary |
Creates categories from the blog ml. At this time, we only support PostCollection link categories. |
|
CreatePostComment ( |
Creates a comment in the system.
|
|
CreatePostTrackback ( |
Creates a trackback for the post.
|
|
GetAllCategories ( string blogId ) : IList |
Returns every blog category in the blog.
|
|
GetAttachmentDirectoryPath ( |
The physical path to the attachment directory. The attachment is passed in to give the blog engine the opportunity to use attachment specific directories (ex. based on mime type) should it choose. |
|
GetAttachmentDirectoryUrl ( |
The url to the attachment directory The attachment is passed in to give the blog engine the opportunity to use attachment specific directories (ex. based on mime type) should it choose. |
|
GetBlog ( string blogId ) : BlogMLBlog |
Returns the information about the specified blog
|
|
GetBlogMlContext ( ) : IBlogMLContext |
Returns the context under which blogml import or export is running under.
|
|
GetBlogPosts ( string blogId, int pageIndex, int pageSize ) : IPagedCollection |
Returns a page of fully hydrated blog posts. The blog posts allow the user of this method to navigate blog post categories, comments, etc...
|
|
ImportComplete ( ) : void | ||
Initialize ( string name, System configValue ) : void | ||
LogError ( string message, |
Lets the provider decide how to log errors.
|
|
PreImport ( ) : void |
Method called before an import begins. Allows the provider to initialize any state in the current blog.
|
|
SetBlogMlExtendedProperties ( BlogMLBlog extendedProperties ) : void |
Метод | Описание | |
---|---|---|
GetPostAttachments ( |
||
GetPostsAndArticlesReader ( string blogId, int pageIndex, int pageSize ) : IDataReader | ||
GetReader ( string sql, |
||
PopulateAuthors ( IPagedCollection |
||
PopulateCategories ( IPagedCollection |
||
PopulateComments ( IPagedCollection |
||
PopulateTrackbacks ( IPagedCollection |
||
ReadAndPopulatePostChildren ( IPagedCollection |
public CreateBlogPost ( BlogMLBlog blog, |
||
blog | BlogMLBlog | |
post | ||
content | string | |
categoryIdMap | string>.IDictionary | A dictionary used to map the blogml category id to the internal category id. |
Результат | string |
public CreateCategories ( BlogMLBlog blog ) : string>.IDictionary |
||
blog | BlogMLBlog | |
Результат | string>.IDictionary |
public CreatePostComment ( |
||
bmlComment | ||
newPostId | string | |
Результат | void |
public CreatePostTrackback ( |
||
trackback | ||
newPostId | string | |
Результат | void |
public GetAllCategories ( string blogId ) : IList |
||
blogId | string | |
Результат | IList |
public GetAttachmentDirectoryPath ( |
||
attachment | ||
Результат | string |
public GetAttachmentDirectoryUrl ( |
||
attachment | ||
Результат | string |
public GetBlog ( string blogId ) : BlogMLBlog | ||
blogId | string | |
Результат | BlogMLBlog |
public GetBlogMlContext ( ) : IBlogMLContext | ||
Результат | IBlogMLContext |
public GetBlogPosts ( string blogId, int pageIndex, int pageSize ) : IPagedCollection |
||
blogId | string | |
pageIndex | int | |
pageSize | int | |
Результат | IPagedCollection |
public Initialize ( string name, System configValue ) : void | ||
name | string | |
configValue | System | |
Результат | void |
public LogError ( string message, |
||
message | string | |
e | ||
Результат | void |
public SetBlogMlExtendedProperties ( BlogMLBlog extendedProperties ) : void | ||
extendedProperties | BlogMLBlog | |
Результат | void |