Demo to preview the settings
Introduction
Inspired by Medium, Reading Time is a plugin used to display an estimated time to read some text.
It can calculate reading time instantly when page loads or you can control it from workflow and calc it when for example, an article is opened.
It uses default 270 words per minute read speed to calculate the estimated reading time, you can change default speed in plugin settings.
Plugin Elements Properties
This plugin has one visual element which can be used on the page: ReadingTime.
ReadingTime
Calculate the time for reading.
Element Fields
Title | Description | Type |
When to Run | Calculate reading time from this element settings instantly when the page loads or do it from workflow if you need time only when the article is opened for example. | Dropdown |
Element ID | Element ID that contains text to be calculated. For the entire page write main-page, it is the default bubble class name for entire page. Make sure that the selected element is visible on the page when the plugin should run. | text |
Words per Minute | An integer that defines the words per minute at which to calculate the estimated reading time (default: 270) | number |
Element Actions
- Calc Reading Time - Calculate the reading time from the workflow.
Fields:
Title | Description | Type |
Element ID | Element ID that contains text to be calculated. For the entire page write main-page, it is the default bubble class name for entire page. Make sure that the selected element is visible on the page when the plugin should run. | text |
Words per Minute | An integer that defines the words per minute at which to calculate the estimated reading time (default: 270) | number |
Element States
Title | Description | Type |
Total Minutes | The total reading time in minutes. | number |
Total Seconds | The total reading time in seconds. | number |
Total Time | The formatted reading time as text. e.g. 10:37 | text |
Words Count | The count of words from the provided text. | number |
Error | The error message if an error occurred. | text |
Workflow example
How to calculate reading time with element action
This example presents how to calculate the reading time with action in the workflow.
- On the page, it is placed a ReadingTime element with the following settings.
- A MultilineInput element is used for content insertion. And, a Button element for action calls.
- On the page, it is placed a Text element with the following settings.
- In the workflow, when the Calc Reading Time button is clicked the is called the Calc Reading Time action with the following settings.