User:Dominik Moritz/schema.org

Schema.org is an initative by Google, Bing and Yahoo, to create and support a common set of schemas for structured data markup on web pages. It was announced on June 2, 2011 by Google, Bing and Yahoo! at nearly the same time [1][2][3].

The shared markup vocabulary on Schema.org should provide a common way to provide structured information for web content in a way that it can be understood by search engines. The vocabulary can be used along with the micro data format. For now the range of formats is small but the long term goal is to support a wider range of schemas[4].

Example

The following is an example of how to embed information about a movie and the structure of the information into a website. In order to markup the data the attribute itemtype along with the url of the schema is used. The attribute itemscope defines the scope of the itemtype. The kind of the current item can be defined by using the attribute itemprop. Within the schema for a movie is an schema for a person.

<div itemscope itemtype="http://schema.org/Movie">
  <h1 itemprop="name">Avatar</h1>
  <div itemprop="director" itemscope itemtype="http://schema.org/Person">
  Director: <span itemprop="name">James Cameron</span> (born <span itemprop="birthDate">August 16, 1954)</span>
  </div>
  <span itemprop="genre">Science fiction</span>
  <a href="../movies/avatar-theatrical-trailer.html" itemprop="trailer">Trailer</a>
</div>


References

  1. ^ Googles blog post
  2. ^ Bings blog post
  3. ^ Yahoo!s blog posts
  4. ^ Getting started guide

External links

  • schema.org


Retrieved from "https://en.wikipedia.org/w/index.php?title=User:Dominik_Moritz/schema.org&oldid=1086818984"