Yoast / Yoast/wordpress-seo

Include est reading time as 'timeRequired' schema property on articles

Open
#20,161 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
2k
Forks
975
Avg merge
3d 13h
Merged PRs (30d)
36

Description

Moved from: https://yoast.atlassian.net/browse/PC-624
Reporter: @jonoalderson

Description

We calculate the estimated reading time on posts, and output this in a meta tag.

We should also populate the equivalent schema property (see https://schema.org/timeRequired ) on the Article (or the WebPage, when there is no valid Article).

Specifically

When there is a valid Article and a valid estimated reading time, we should add a timeRequired property to the Article.
The value should always be in https://en.wikipedia.org/wiki/ISO_8601 format (e.g., PT1H25M).

This should apply to Yoast SEO for WP, and Yoast SEO for Shopify.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the estimated reading-time output and Article/WebPage schema generation in Yoast SEO for WordPress and Yoast SEO for Shopify. Confirm how valid Articles and reading-time values are identified, then verify that the resulting timeRequired value uses ISO 8601 duration format in both products.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
content
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.