Content created on the site must implement this interface for the social services to support it.
BlogPost is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace of Telligent.Evolution.Blogs.dll
Definition
class BlogPost
{
Application Application { get; }
User Author { get; set; }
int? BlogId { get; set; }
int? CommentCount { get; set; }
Guid ContentId { get; set; }
User CreatedUser { get; }
bool? EnableCrossPosting { get; }
string Excerpt { get; set; }
int? ExcerptSize { get; set; }
ApiList<ExtendedAttribute> ExtendedAttributes { get; set; }
string FeaturedImage { get; set; }
MediaFile File { get; set; }
bool? GeneratePostSummary { get; set; }
int? GroupId { get; set; }
bool? HasPendingChanges { get; set; }
int? Id { get; set; }
bool? IsApproved { get; set; }
bool? IsExternal { get; set; }
bool? IsFeatured { get; set; }
bool? IsLocked { get; set; }
bool? IsPostEnabled { get; set; }
string MetaDescription { get; set; }
string MetaKeywords { get; set; }
string MetaTitle { get; set; }
string OpenGraphDescription { get; set; }
MediaFile OpenGraphImage { get; set; }
string OpenGraphTitle { get; set; }
string PostImageAlternateText { get; set; }
MediaFile PostImageFile { get; set; }
string PostImageUrl { get; set; }
DateTime? PublishedDate { get; set; }
string SearchUniqueId { get; }
string Slug { get; set; }
IList<string> Tags { get; set; }
string Title { get; set; }
string TitleUrl { get; set; }
string Url { get; set; }
bool? UsePostSummary { get; set; }
int? Views { get; set; }
string Body();
string Body(string postTarget);
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Application | Application | |||
| Author | User | |||
| BlogId | int? | |||
| CommentCount | int? | |||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| CreatedUser | User | |||
| EnableCrossPosting | bool? | Cross posting is obsolete. | ||
| Excerpt | string | |||
| ExcerptSize | int? | |||
| ExtendedAttributes | ApiList<ExtendedAttribute> | |||
| FeaturedImage | string | |||
| File | MediaFile | |||
| GeneratePostSummary | bool? | |||
| GroupId | int? | |||
| HasPendingChanges | bool? | |||
| Id | int? | |||
| IsApproved | bool? | |||
| IsExternal | bool? | |||
| IsFeatured | bool? | |||
| IsLocked | bool? | |||
| IsPostEnabled | bool? | |||
| MetaDescription | string | |||
| MetaKeywords | string | |||
| MetaTitle | string | |||
| OpenGraphDescription | string | |||
| OpenGraphImage | MediaFile | |||
| OpenGraphTitle | string | |||
| PostImageAlternateText | string | |||
| PostImageFile | MediaFile | |||
| PostImageUrl | string | |||
| PublishedDate | DateTime? | |||
| SearchUniqueId | string | |||
| Slug | string | |||
| Tags | IList<string> | |||
| Title | string | |||
| TitleUrl | string | |||
| Url | string | A Url to the content on the site. | ||
| UsePostSummary | bool? | |||
| Views | int? |
Methods
string Body();
Return Type
string
string Body(string postTarget);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| postTarget | string | Post Target | Required |
Return Type
string