Git Product home page Git Product logo

summary's Introduction

Summary

Truncates the string to the specified length

Created: March 3, 2013 Author: Agel_Nash [email protected] License: GNU GPL

Usage

[[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

Note

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]

summary's People

Contributors

agelxnash avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.