1

Why does Google Structured Data Testing Tool show RDFa node data for Schema.org microdata? For example, see this example generated for the Drupal Schema.org module; this is an example of how to insert Schema.org microdata into your page, but the Drupal testing tool reports the microdata as rdfa-node. I thought Schema.org was a subset of microdata, which is different from RDFa? Has the testing tool just gotten confused?

4

1 回答 1

5

正如Drupal 页面的 schema.org 模块所解释的,该模块将输出 RDFa,它是 Drupal 7 核心中存在的语法。RDFa 是 Google 解析器可以理解的一种 schema.org 语法,当您解析该页面 (rdfa-node) 时会显示该语法。微数据是 schema.org 的另一种语法,如果您更喜欢在 Drupal 中使用微数据,您可以使用https://drupal.org/project/microdata

于 2013-09-05T14:23:59.357 回答