Hacker News new | ask | show | jobs
by hobofan 923 days ago
> I don’t really get why people bother with JSON-LD—does it actually help anything?

It helps with Google SEO which makes sense, as schema.org is essentially stewarded by Google.

> In theory it’s neat, sure, but in practice does anything actually use it and wouldn’t use the traditional meta tags if it weren’t there?

Yeah, for basic things like the website metadata it's redundant with meta tags. It becomes more useful when it comes to more rich types like e.g. a recipe.

1 comments

Yeah, if you’re actually using it as an alternative to microdata, maybe there’s value. But the only times I think I ever see it it’s just WebSite or Article, at which point I’m dubious if there’s any value. In smaller providers like this they seldom include all of the fields that they reasonably should, too, e.g. datePublished.

(Oh yeah, that’s another point I missed in my comment: the <time> needs to be <time datetime="2023-12-01">. Also, 12/01/23 in the text, ugh, yucky USA middle-endian date format, and with a two-digit year at that.)