Reading Time icon
Module Id
reading-time
Group Id
org.jahia.modules
Updated
Requires Jahia
7.2.3.0
Author
pvollenweider
Category
Templating and extensions
Status
COMMUNITY

Reading Time group_work

A DX implementation of the Michael Lynch jQuery plugin used to display an estimated time to read some text.

Dependencies & Dependants

Dependencies
  • NONE
Dependants
  • NONE

FAQ

Can I use this component many times on the same page
Yes, you can; it use a filter that creates unique div ID.

Is there a way to personalize the output?
The estimated time is located in a DIV with "eta" CSS class name. Feel free to create your own stylesheet!

Who is maintaining this code
The JS cames from https://github.com/michael-lynch/reading-time

 

 

How To Install

Download the jar and deploy it on your instance, then activate the module on the site you wish to use. Once it's done, drag the component "Reading Time" to your page. By default, the estimated reading time is based on all content of the page (BODY) but you can link the component with any part of the page.

 

Images

License

The MIT License

Copyright (c) 2014 Michael Lynch, Philippe Vollenweider

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.