Blogger Operator: snippet()

Displays blog post snippet/excerpts according to the amount of characters defined. Use blogger b:eval expression to evaluate the snippet operations and display the new output.

Operator Syntax


snippet( data, { options })

Syntax Details


snippet
Blogger snippet operator

data
Blogger data to examine.

options
snippet operator options

links: boolean 
linebreaks: boolean 
ellipsis: boolean
length: integer

Example Usages:


<!-- ie: displays post body excerpt at 100 chars -->
<b:eval expr='snippet(data:post.body, { links: true, linebreaks:true, ellipsis:true, length: 100 })' /> 

1 comment:

  1. Bloggers always want to keep their works on top of the line for that purpose use of different tips is very helpful solution. But selection of best one solution is also very important factor that decide about the moment of progress.

    ReplyDelete

Insert search keyword(s) & press enter...

Subscribe & Get Latest Stories via Mail...

 
Our website development is made possible by displaying online advertisements.
Please consider supporting us & our projects by disabling your Ad Blocker. Thank You.
Our website requires javascripts turned on for best user experience.
Please consider to turn on your web browser javascript. Thank You.
GDPR: Data submitted at our site is managed by 3rd party processors. Read more on how data is collected, managed & processed at our site. Learn More