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).
- Live blogs have no
LiveBlogPosting(live: none on the BRICS live blog).app.js:684setsenableLiveBlog: false, and the hand-built schema (app/server/amp/schema-type.js) did not appear. Without it live blogs can't get the "LIVE" label in Top Stories. The builder also has invalid fields if switched on (eventStatus: "Live", relative card image URLs, plain-string author, no publisher). - Two article blocks on every story (library
Article+NewsArticle,enableNewsArticle: true; PV's hard-gate dropsArticle, DH's doesn't), each witharticleBodyas escaped HTML (<p>Hyderabad: …). Live: confirmed on all three pages. og:type=websiteand noog:urlon stories (utils/custom-collection-tags.js:153, which replaces the libraryTextTags). Live: confirmed.- SVG fallback social image (
DHcover.svg) for stories without a hero; Discover and social platforms don't use SVG. Live: confirmed on…-4139758. Rare (1 of 12,262 recent stories). - Canonical ignores
story["canonical-url"](custom-collection-tags.js:192, condition always true). Matters only if editors set canonical-url on syndicated copies. 🔍 check how often it is set.
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.