{"id":391,"date":"2010-03-12T07:07:00","date_gmt":"2010-03-12T07:07:00","guid":{"rendered":"http:\/\/mccltd.net\/blog\/?p=391"},"modified":"2010-03-12T07:07:00","modified_gmt":"2010-03-12T07:07:00","slug":"html5-rich-snippets","status":"publish","type":"post","link":"http:\/\/darenmatthews.com\/blog\/?p=391","title":{"rendered":"HTML5 &#8211; Rich Snippets"},"content":{"rendered":"<p>HTML5 is the fifth major revision of HTML, the core language of the World Wide Web. The HTML5 specification includes a description of <strong>microdata<\/strong>, a new markup standard for specifying structured information within web pages.<!--more-->Google have announced support for microdata for use in <a href=\"http:\/\/www.google.com\/support\/webmasters\/bin\/answer.py?answer=99170\">rich snippets<\/a> in addition to our existing support for microformats and RDFa. By using microdata markup in your web pages, you can specify <a href=\"http:\/\/www.google.com\/support\/webmasters\/bin\/answer.py?answer=146645\">reviews<\/a>, <a href=\"http:\/\/www.google.com\/support\/webmasters\/bin\/answer.py?answer=146646\">people profiles<\/a>, or <a href=\"http:\/\/www.google.com\/support\/webmasters\/bin\/answer.py?answer=164506\">events<\/a> information on your web pages that Google may use to improve the presentation of your pages in Google search results.<\/p>\n<p>Here is a simple HTML block showing a section of a review of \u201cL\u2019Amourita Pizza\u201d:<br \/>\n<span style=\"font-family: courier new;\"><br \/>\n&lt;div&gt;<br \/>\n&lt;h1&gt;Review: L\u2019Amourita Pizza&lt;\/h1&gt;<br \/>\nWritten by Bob Smith<br \/>\nJan 15, 2010<br \/>\nRated &lt;b&gt;4.5&lt;\/b&gt; &#8211; Excellent<br \/>\n&lt;\/div&gt;<\/span><\/p>\n<p>Here is the same HTML with microdata added to specify the restaurant being reviewed, the author and date of the review, and the rating:<\/p>\n<div style=\"font-size: 0.94em;\">\n&lt;div <span style=\"color: #ff0000;\"><strong>itemscope itemtype=\u201dhttp:\/\/data-vocabulary.org\/Review\u201d<\/strong><\/span>&gt;<br \/>\n&lt;h1&gt;Review: &lt;span <span style=\"color: #ff0000;\"><strong>itemprop=\u201ditemreviewed\u201d<\/strong><\/span>&gt;L\u2019Amourita Pizza&lt;\/span&gt;&lt;\/h1&gt;<br \/>\nWritten by &lt;span <span style=\"color: #ff0000;\"><strong>itemprop=\u201dreviewer\u201d<\/strong><\/span>&gt;Bob Smith&lt;\/span&gt;<br \/>\n<span style=\"color: #ff0000;\"><strong>&lt;time itemprop=\u201ddtreviewed\u201d datetime=\u201d2010-01-15\u201d&gt;<\/strong><\/span>Jan 15, 2010<span style=\"color: #ff0000;\"><strong>&lt;\/time&gt;<\/strong><\/span><br \/>\nRated &lt;b <span style=\"color: #ff0000;\"><strong>itemprop=\u201drating\u201d<\/strong><\/span>&gt;4.5&lt;\/b&gt; &#8211; Excellent<br \/>\n&lt;\/div&gt;<\/div>\n<p>Microdata has the nice property of balancing richness with simplicity. As you can see, it\u2019s easy to add markup to your pages using a few HTML attributes like itemscope (to define a new item), itemtype (to specify the type of item being described), and itemprop (to specify a property of that item). Once you\u2019ve added markup to a page, you can test it using the <a href=\"http:\/\/www.google.com\/webmasters\/tools\/richsnippets\">rich snippets testing tool<\/a> to make sure that Google can parse the data on your page.<\/p>\n<p>As with microformats and RDFa, the vocabulary that we support &#8212; including which item types and item properties are understood by Google &#8212; is specified in our rich snippets documentation as well as on data-vocabulary.org. Marking up your content does not guarantee that rich snippets will show for your site; Google will expand the use of microdata markup gradually to ensure a great user experience.<\/p>\n<p>To get started, here are some helpful links:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.google.com\/support\/webmasters\/bin\/answer.py?answer=99170\">Rich snippets documentation<\/a><\/li>\n<li><a href=\"http:\/\/www.google.com\/support\/webmasters\/bin\/answer.py?answer=176035\">Overview of microdata<\/a><\/li>\n<li><a href=\"http:\/\/www.whatwg.org\/specs\/web-apps\/current-work\/multipage\/microdata.html\">Official microdata specification<\/a><\/li>\n<li><a href=\"http:\/\/www.google.com\/webmasters\/tools\/richsnippets\">Rich snippets testing tool<\/a><\/li>\n<\/ul>\n<p><span>Written by Siddhartha Chattopadhyay, Kavi Goel, Ramanathan V. Guha, Pravir Gupta, Othar Hansson<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTML5 is the fifth major revision of HTML, the core language of the World Wide Web. The HTML5 specification includes a description of microdata, a new markup standard for specifying structured information within web pages.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[16],"tags":[25],"_links":{"self":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/391"}],"collection":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=391"}],"version-history":[{"count":1,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/391\/revisions"}],"predecessor-version":[{"id":392,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/391\/revisions\/392"}],"wp:attachment":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=391"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=391"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}