Excerpt
Developer
3rd Party (Free)
413 downloads (last 90 days)

EE Version Support
- ExpressionEngine 2
Compatibility
If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.
- Updater
- Multi Site Manager
- Stand Alone Entry Form
- Low Variables
- Content Elements
- Better Workflow
- Matrix
- Grid
- Webservice
- Publisher
Requirements
- jQuery for the Control Panel
Add-On Type(s)
Plugin
Tags
Display a text summary based on a given number of words or a given number of characters.
Excerpt - ExpressionEngine Plugin
Version: 1.1.0
Jean-Francois Paradis - http://github.com/skaimauve
Copyright (c) 2012 Jean-Francois Paradis
MIT License - please see LICENSE file included with this distribution
http://github.com/skaimauve/excerpt
Introduction
This plugin provides a similar functionality to the function the_excerpt() in Wordpress which allows developers to display a post summary based on the number of words. This implementation can also display a post summary based on a minimum number of characters (in that case, the cut will be done at the next word boundary), which works better with languages like Chinese for which the concept of words is different. An ellipsis ([...] by default) is added at the end of the excerpt.
If both measures are provided, the algorithm will try to use words, but will switch to character mode if the words are tool long (10 characters per word on average). This will prevent extra long excerpts and efficiently detect east-asian languages.
Setup
Download the “sk_excerpt” folder and upload it to the third party directory of your ExpressionEngine folder.
Usage
- {exp:sk_excerpt chars=‘true’}{content}{/exp:sk_excerpt} Use the default 200 characters
- {exp:sk_excerpt chars=‘500’}{content}{/exp:sk_excerpt} Use 500 characters
- {exp:sk_excerpt words=‘true’}{content}{/exp:sk_excerpt} Use the default 50 words
- {exp:sk_excerpt words=‘55’}{content}{/exp:sk_excerpt} Use 55 words
- {exp:sk_excerpt words=‘55’ more=’...’}{content}{/exp:sk_excerpt} Also change the ellipsis to ‘...’
- {exp:sk_excerpt chars=‘500’ words=‘55’}{content}{/exp:sk_excerpt} Use character mode when words are too long
Changelog
- 1.1.0 - Added detection of East Asian language
- 1.0.0 - Initial plugin
Download Excerpt
EE Support | Downloads | Add-On Version | Release Date |
---|---|---|---|
Not Specified | Download | 1.1.0 | Sep 7, 2012 |
This entry was created September 6, 2012, 8:49 am.
This entry was last updated September 11, 2012, 2:09 pm.
Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!
Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.
1 Review:
dkkma 06.25.13
Great Plugin. Works as advertised.
The download link appears to be outdated… You can find the latest version here: https://github.com/thinkclay/ExpressionEngine-Excerpt-Plugin