The Estimated Read Time module adds a new field type that calculates the time it takes to read that entity's content. The read time is calculated based on the content displayed in a selected view mode.

There are other modules that exist with similar functionality. However, most of them are using psuedo-fields and global settings where fields are selected to be included in the read time estimate. This module's usage of a field and view mode has some advantages that includes:

  1. Calculating the read time based on a selected view mode allows this module to be more accurate when using layout builder. Only using fields on the entity will leave out any inline blocks that could meaningfully contribute to the read time.
  2. The settings can be modified on a per field basis. This makes it possible to choose what content is included in the read time calculation for each entity.
  3. The calculated read time will be saved to the database. Any time it takes to calculate the read time will be performed when the content is saved.
  4. Using a field instead of a psuedo-field allows for standard hooks and views usage.

Other Modules

Project link

https://www.drupal.org/project/estimated_read_time

Git instructions

git clone --branch '1.0.x' https://git.drupalcode.org/project/estimated_read_time.git

Comments

mtalt created an issue. See original summary.

mtalt’s picture

Status: Active » Needs review
avpaderno’s picture

Issue summary: View changes

Thank you for applying! Reviewers will review the project files, describing what needs to be changed.

Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smother review.

To reviewers: Please read How to review security advisory coverage applications, What to cover in an application review, and Drupal.org security advisory coverage application workflow.

Since the project is being used for this application, for the time this application is open, only the user who created the application can commit code.

avpaderno’s picture

Status: Needs review » Reviewed & tested by the community
avpaderno’s picture

Assigned: Unassigned » avpaderno
Status: Reviewed & tested by the community » Fixed

Thank you for your contribution! I am going to update your account.

These are some recommended readings to help with excellent maintainership:

You can find more contributors chatting on the Slack #contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

avpaderno’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.