Sitefinity CMS

Important Interfaces of Blogs Module Send comments on this topic.
See Also
Developing with Sitefinity > Modules > Modules API > Generic Content Based Modules > Blogs > Important Interfaces of Blogs Module

Glossary Item Box

The Blogs module creates and works with the following kinds of data:

  • Blog
  • Post 

Blog represents a container of post items and implements the IBlog interface. Posts are content items and have the same functionality as the content items of the Generic Content module. This is why Posts implement the IContent interface.

 

Following is a description of the IBlog interfaces and its members: 

IBlog Members

All blogs need to implement this interface:

Member name  Member type  Comments
ID  Guid  Unique identifier (Primary key) of the blog item.
Name string

Blog name.

Description string 

Blog description

Owner string

Username of the user who owns the blog.

DateCreated DateTime Date and time of creation of the blog item.
AllowComments bool If true, allows comments to be made for this blog item.
CommentsModeration bool If true, comments for this blog item need to be moderated (if comments are allowed).
Posts IList List of all posts of this blog.
PostsCount int Number of posts of this blog.
Author string Blog author. Empty if the blog is used by several authors.
BlogPage string

The page that contains the blog item.

PostPage string

The page that contains the post item.

 

See Also