This is a simple MODX snippet that estimates the time a reader will need to go through the article. Similar to what is used is used by Medium.com to let their users know what time investment is required for each article.An average English reader reads 250 - 300 words for minute, so you can change the default settings any way you like, the default here is 275 words per minute.What this snippet offers: Show the time in minutes or minutes and seconds Lexicons for rounding "Less than a minute" (ES, DE, EN, FR, NL, RU) Customize the words per minute number Placeholder for word count Output filter supportTEMPLATE USEReading time: [[readingTime? &round=`1` &input=`[[*content]]` &tpl=`tpl.readingtime`]]Reading time: 2 min | 466 wordsFILTER USEReading time: [[+content:readingTime]]Reading time: 1m 42s
Install via Package Management.
- First seen
- Supported databases
- Minimum MODX Requirement
Reading Time Releases
|MODX.com||1.0-pl||2016-07-03 (7 years ago)|