我有一种情况,我可以将 99% 的结构化数据放入产品页面的 JSON-LD 中。但我获得 UPC 的唯一方法是将其作为微数据内联。
Google 会汇总来自 JSON-LD 和内联微数据的产品数据吗?
最佳答案
很可能是的。
The data may be embedded in your webpage using any of three supported formats: JSON-LD, RDFa, and microdata.
[…] Google recommends the use of JSON-LD for those features. For the remaining Rich Snippets types and breadcrumbs, Google recommends the use of microdata or RDFa.
谷歌限制作者是没有意义的,这样就不能使用同一文档中的所有功能(使用不同的语法)。
也就是说,您永远无法确定(他们的文档并不总是最新的,而且他们的规则可能每天都在变化。)
关于schema.org - Google 会接受组合的 JSON-LD 和 HTML 元/微数据吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31017712/