Question

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?

Était-ce utile?

La solution

As explained on the schema.org module for Drupal page, this module will output RDFa which is the syntax present in Drupal 7 core. RDFa is one schema.org syntax understood by Google parser, which is what it displays when you parse that page (rdfa-node). Microdata is another syntax for schema.org, if you prefer to use microdata with Drupal, you can use https://drupal.org/project/microdata

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top