I'm using the RDFa on the breadcrumbs, and this is the scheme of my code in a post:
<div class="path" vocab="http://rdfa.data-vocabulary.org/#"> <span id="breadex">You are here: </span> <span typeof="v:Breadcrumb"><!--This is the home link--> <a title="Title" id="breadh" href="#" rel="v:url" property="v:title">Title</a> </span> <span typeof="v:Breadcrumb"><!--This is the category link--> <a title="Category" href="#" rel="v:url" property="v:title">Category</a> </span> <span typeof="v:Breadcrumb"><!--This is the subcategory link--> <a title="Subcategory" href="#" rel="v:url" property="v:title">Subcategory</a> </span> <span>This is the title of the post</span><!--This is the title of the post--> </div>
This scheme at the moment works, 'cause I can see the categories in the Google Search results, the snippet shows the link for each category, so Google is understanding this information.
It is really important to mention this is the way I could make it HTML5 valid. Before I used
xmlns instead of
xmlns is deprecated in HTML+RDFa 1.1. That's the reason I'm using RDFa in this way.
BUT: Google Webmaster Tools shows me an error, now, when before, using
xmlns it worked perfect without errors. This is the error Google shows for every single post URL:
So in a website where I have 26 posts, I have this triple error 26 times on GWT, specifically in the section «Structured Data». The next step I did was to check this information in the «Google Structured Data Testing Tool»: http://www.google.com/webmasters/tools/richsnippets
And it shows «Structured data extract»: hatom-feed, hatom-entry... Everything is ok and at the end, in red color:
Error: Missing required field "entry-title".
Error: Missing required field "updated".
Error: Missing required hCard "author".
Then it shows the rdfa-node with the correct information. I'm using Open Graph, so in this case it's taken from the Open Graph meta tags.
So well, my questions are:
In order to fix this error, should I add more RDFa in every post? For example, I can add the author where I print the author of the post, like here:
December 29, 2013 by admin in Category
Is the «updated» field the date of the post?
How should I indicate the «entry-title»?