This plugin provides a simple twig function, that calculates the estimated reading time for a given content.
Add the readingtime function somewhere to your template:
{{ readingtime(record.body) }} Min.
Will print something like 14 Min..
Or store the readingtiime-object in a variable and access more data:
{% set readingtime = readingtime(record.body) %}
{{ readingtime.wordcount }}
{{ readingtime.wordsPerMinute }}
{{ readingtime.wordsPerSecond }}
{{ readingtime.readingTimeMinutes }}
{{ readingtime.readingTimeSeconds }}
wordsPerMinute(default: 270): Average read words per minuteround(default: true, possible: true, 'up', 'down'): Define the used method to round the minutes
„We build it“ — ANIMAL