techAPJ
(Arpit Jalan)
January 1, 2024, 8:25am
19
Yes, we’re doing that now per the recent commit but even after adding that we’re missing some required fields (author, datePublished, text) for subsequent pages (?page=2).
Ayke:
This whole link-tag should only be defined for post.is_first_post - no need to repeat it with the identical url for each Comment-item.
On meta.discourse.org the quotation marks are mangled right now:
<link itemprop='mainEntityOfPage' href="…">
See Schema Markup Validator
Great catch! Fixed in this PR:
https://github.com/discourse/discourse/pull/25082
Ayke:
Unlike our general structured data preference, we recommend providing the DiscussionForumPosting markup in Microdata (or RDFa) if possible. This prevents you from needing to duplicate large text blocks inside markup. However, this is just a recommendation, and JSON-LD is still fully supported.
Oh yeah. This was also confirmed by @rrlevering here:
So I guess we’ll have to improve microdata schema while making sure we do not end up duplicating content on subsequent pages.