Truncates the string to the specified length
Created: March 3, 2013 Author: Agel_Nash [email protected] License: GNU GPL
[[summary? &text=[*content*]
]]
Delete all html tags from [[*content]] tag
[[*content:summary=len=300&tags=1
]]
Shorten the text up to 100 characters +/- 50 floating and save html tags
[[+content:summary=len=50&noparser=0
]]
Shorten the text up to 100 characters +/- 50 floating and delete all html tags and convert special characters to HTML and MODX entities
[[summary? &text=[+content+]
&len=100
]]
Shorten the text up to 100 characters +/- 50 floating and delete all html tags
[[summary? &input=[*content*]
&options=len=150&tags=0&cut=<!--cut!-->&dotted=1
]]
Get content before text and delete html tags. If not exists , then get 150 charachetes +/- 50 floating. If summary text != original text, then addit 3 dot.
Russian Documentation: http://blog.agel-nash.ru/addon/summary.html GitHub: https://github.com/AgelxNash/summary
if in text, then you give text before this tag
*I'm sorry for my english and thanks for using summary!
Borisov Evgeniy aka Agel_Nash [email protected]