Content created on the site must implement this interface for the social services to support it.
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
Application | Application | |||
Author | User | |||
BlogId | int? | |||
CommentCount | int? | |||
ContentId | Guid | A Guid uniquely identifying the content. | ||
EnableCrossPosting | bool? | Cross posting is obsolete. | ||
Errors | IList<Error> | |||
Excerpt | string | |||
ExcerptSize | int? | |||
ExtendedAttributes | ApiList<ExtendedAttribute> | |||
FeaturedImage | string | |||
File | MediaFile | |||
GeneratePostSummary | bool? | |||
GroupId | int? | |||
Id | int? | |||
IsApproved | bool? | |||
IsExternal | bool? | |||
IsFeatured | bool? | |||
IsLocked | bool? | |||
IsPostEnabled | bool? | |||
MetaDescription | string | |||
MetaKeywords | string | |||
MetaTitle | string | |||
OpenGraphDescription | string | |||
OpenGraphImage | MediaFile | |||
OpenGraphTitle | 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? | |||
Warnings | IList<Warning> |
Methods
Body
Usage
#set($stringResponse = $blogPost.Body())
Return Type
string
Body
Usage
#set($stringResponse = $blogPost.Body($postTarget))
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
postTarget | string | Post Target | Required |
Return Type
string
HasErrors
Usage
#set($booleanResponse = $blogPost.HasErrors())
Return Type
bool
HasWarnings
Usage
#set($booleanResponse = $blogPost.HasWarnings())
Return Type
bool
HasWarningsOrErrors
Usage
#set($booleanResponse = $blogPost.HasWarningsOrErrors())
Return Type
bool
ThrowErrors
Usage
$blogPost.ThrowErrors()