RDFa 1.1 with a rich snippet example - W3C Blog. With RDFa 1.1 making its way out of last call, I looked at the examples from Google’s Webmaster Central to see what RDFa 1.1 brings to those. A typical example is the one on reviews; here s where it starts out in RDF 1.0: <div xmlns:v=" typeof="v:Review"><span property="v:itemreviewed">L’Amourita Pizza</span> Reviewed by <span property="v:reviewer">Ulysses Grant</span> on <span property="v:dtreviewed" content="2009-01-06">Jan 6</span>. <span property="v:summary">Delicious, tasty pizza on Eastlake! </span><span property="v:description">L'Amourita serves up traditional wood-fired Neapolitan-style pizza, brought to your table promptly and without fuss. An ideal neighborhood pizza joint. The most important change is that RDFa 1.1 has moved away from using XML namespaces as a syntax for identifying vocabularies.
The change looks small, but it means that the author has less complexity to worry about. Actually… the vcard case, specifically, may be even easier. Microdata. Microdata is part of WHATWG's HTML living specification that provides another way to embed microformats and poshformats vocabularies, and has been superseded by microformats2. microdata was explicitly dropped by the W3C (and therefore not part of W3C HTML5) due to a lack of interest by anyone to edit the spec and keep it up to date.[1] summary microdata consists of a set of attribute extensions to HTML: itemprop attribute is a more specific version of class, for field names subject attribute allows semantically linking within the page.
Conceptually similar to the include-pattern. itemref attribute allows including properties elsewhere on the page that are not descendants of itemscope. For common semantics on the web (e.g. people+organizations, events, reviews, syndicated content), microformats are still simpler and easier than microdata, and are already well implemented across numerous tools and services. For uncommon, rare, experimental, or one-off semantics: history parsers and tools Note: <!
RDFa Primer. We begin the introduction to RDFa by using a subset of all the possibilities called RDFa Lite 1.1 [rdfa-lite]. The goal, when defining that subset, was to define a set of possibilities that can be applied to most simple to moderate structured data markup tasks, without burdening the authors with additional complexities.
Many Web authors will not need to use more than this minimal subset. 2.1.1 The First Steps: Adding Machine-Readable Hints to Web Pages Consider Alice, a blogger who publishes a mix of professional and personal articles at 2.1.1.1 Hints on Social Networking Sites Alice publishes a blog and would like to provide extra structural information on her pages like the publication date or the title. Example 1 <html><head> ... This information is, however, aimed at humans only; computers need some sophisticated methods to extract it. Example 2 <html><head> ... (Notice the markup colored in red: these are the RDFa "hints".)
Example 3 Example 4 Example 5 Example 6. The Open Graph Protocol.