Google does not correctly merge microdata and json+ld in the same page using same URI id

后端 未结 2 1818
广开言路
广开言路 2020-12-06 22:29

I have a product page with \"microdata\" and \"json+ld\" codes. Both of the codes refers to the same @id URI object (http://www.example.org/product#this) so I would expect t

2条回答
  •  囚心锁ツ
    2020-12-06 23:15

    While technically it is feasible to merge data coming from two different syntaxes (read microdata and json-ld) and the Structured Data Linter confirms so, Google does not support it, which means properties won't be merged (and won't satisfy Rich Snippets' requirements).

    We have a final confirmation by several actors in the SEO World, including Dan Brickley and Jarno van Driel.

    in general you can use both syntaxes side by side, but you won't get the fine-grained merging of triples by ID that a pure RDF application might expect (Dan Brickley on Twitter, Jan 14th, 2020, bold mine)

    --

    I think @danbri already was pretty clear. Highly doubt you'll get a different answer from other Googlers. (Jarno van Driel on Twitter, Jan 14th, 2020)

    The proposed solution so far is to parse the microdata and publish it as JSON-LD.

提交回复
热议问题