Problem/Motivation

The current schema_article module does not include the articleSection property: https://schema.org/articleSection or the url property inherited from Thing: https://schema.org/url

Proposed resolution

Add a tag plugin classes for articleSection and url

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jastraat created an issue. See original summary.

jastraat’s picture

Assigned: jastraat » Unassigned
Status: Active » Needs review
jastraat’s picture

Component: Code » Existing structures
jastraat’s picture

Title: Add articleSection property to Article » Add articleSection and url properties to Article
Assigned: Unassigned » jastraat
Status: Needs review » Active

Per https://momenticmarketing.com/blog/id-schema-for-seo-llms-knowledge-grap... (and from a few other issues in the queue) Article should really have a top-level url property. I'm going to add this to the MR.

jastraat’s picture

Issue summary: View changes
jastraat’s picture

Status: Active » Needs review

jasongose changed the visibility of the branch 3578031-add-articlesection-property to hidden.

jasongose changed the visibility of the branch 3578031-add-articlesection-property to active.

jasongose’s picture

Status: Needs review » Reviewed & tested by the community

This looks good to me (tested on Drupal 10; checked the json-ld output from a handful of existing pages using the validator.schema.org web app and didn't find any issues.)