← Issues index

34. DH structured data and social tags on articles — Medium (DH)

Added 16 Nov 2026. Source audit (tpml-dh upstream/main 47a7e85e, @quintype/seo 1.42.2) + live checks 16 Nov 2026 on a text story (…-4162872), a live blog (brics-summit-2026-live-updates-…-4142598) and a no-hero story (…-4139758).

Fix: 🛠️ enable live-blog schema (library enableLiveBlog: true or fix schema-type.js); drop the generic Article as PV does; set stripHtmlFromArticleBody; og:type=article + og:url on stories; a 1200×630 JPG fallback image; honour canonical-url. Verify: Rich Results Test on a live blog shows LiveBlogPosting; one article block per story.

17 Nov 2026 (AMP): the AMP copies of DH live blogs have no LiveBlogPosting either (live: 4 of 4 sampled live blogs, checks/amp_check/amp_check_dh_2026-11-17.json; AMP JSON-LD is NewsArticle + BreadcrumbList only). Cause: enableLiveBlog: false (app/server/app.js:683-687 @ 22f4c0f0) and the custom builder in schema-type.js is used only by the non-AMP render-layout.js:93. PV's AMP live blogs do have it (PV builds it in seo-hard-gate.js:25-133 for both page types). Fix as above, and check it on the AMP copy too.

Checklist run (18 Nov 2026; checks/ssr_compare/checklist_www.deccanherald.com_2026-11-18.md): still on live DH: og:type=website and no og:url (3 of 3 stories); NewsArticle publisher is {"@type":"Organization","id":""}: no name, no logo (same gap as PV #35, different cause: an empty object rather than an unresolved @id); two <meta name="robots"> tags (#13); breadcrumb only in JSON-LD, no visible breadcrumb links. On the training site with the #1 fix, og:type is article; og:url, publisher and robots are unchanged.