Archived topic
Schema markup - Microdata vs JSON-LD
4 replies · Started by forgemedia on December 5, 2017
Hey Tom!
I see that GeneratePress has some basic blog schema markup built in, which is really all I expect, because you can't add everything... however, I'm really curious why you are using Microdata (hatom) markup vs JSON-LD.
1. JSON-LD is actually the recommended method by Google. (https://developers.google.com/search/docs/guides/intro-structured-data)
2. Google can read JSON-LD data that is dynamically injected from Javascript code and embedded widgets.
Both Google and Bing support JSON-LD and it seems to be where all the schema markup is going. Perhaps for basic sites, JSON-LD doesn't really differ that much over microdata (other than the language). But was just curious if you had looked into this at all :)
Hey Brian,
I've been wanting to look into this for a while now - thanks for the resource!
From what I can see, instead of adding the microdata to the elements, we add any applicable page information into a script in the footer. Very interesting indeed.
Thank you!
Brian / Tom
JSON-LD makes schema markup a real joy - I often create a custom options panel with custom fields to simplify the creation of the JSON-LD script and attach it directly to the page.
Unless it has recently changed I am not aware that Bing supports JSON-LD - hopefully, I am wrong on this point
https://www.bing.com/webmaster/help/marking-up-your-site-with-structured-data-3a93e731
Ya I think Bing does, although I haven't tested this... I've seen SEOs mention they've seen JSON-LD working on Bing. https://plus.google.com/106943062990152739506/posts/fEV3TyBhAr4 Perhaps they just didn't update their docs yet?
Well this is good news
Looks like it is at least a partial support - I see a site that has some reviews with only JSON-LD ( as the microdata is commented out ).
Definitely does look like is supporting recipes. Back only a few years ago, adding the schema/microdata mark up was the single simplest task to dramatically increase your CTR - Now, it seems so hit and miss and I am not sure if it really worth the time to go full out - beyond the basics - for most sites.
Thanks for the update