2

I started tagging all of my data with their appropriate Schema.org vocabulary. I'd like my site to display a rich snippet/enhanced listing in Google.

Is there ever a case where you would need to include code from more than one markup language (schema, RDFa, Microformats)?

2 Answers 2

1

Unless you have a reason to use more than one, such a provider of a service requiring a specific microformat to be used, you should generally stick to one format to prevent potential confusion/conflicts between formats. Since search engines seem to be the largest consumer of microdata, and as a result others follow their lead, I would stick to schema.org microformats.

1

You are confusing vocabularies with syntaxes/formats:

  • Schema.org is a vocabulary.
  • RDFa and Microdata are syntaxes/formats (no vocabularies attached)
  • Microformats is both, a syntax coupled with a specific set of vocabularies.

You may use the Schema.org vocabulary with various syntaxes, like RDFa, Microdata, JSON-LD, Turtle etc.

Different consumers (services like search engines etc.; agents like browser add-ons etc.) support different vocabularies and different syntaxes. If you are interested in only one or a few specific consumers, check their documentation and see what they support. Of course it may be the case that consumer A only supports Microdata and consumer B only supports RDFa.
If you like to support as many consumers as possible (i.e., even those consumers that you’ve never heard of or that will come up in the future), you may consider using several syntaxes in the same document.

For the consumer Google Search in particular: Google claims to support three syntaxes for Schema.org:

  • JSON-LD
  • Microdata
  • RDFa

So if you care only about Google, there should be no reason to use more than one of these.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.