Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Within Google Webmasters Search Appearance->Structured data I'm getting a series of errors:

Error: Missing required hCard "author".

And most of my 44 errors have:

Missing: Author
Missing: entry-title
Missing: updated

There seems to be no CLEAR explanation of these errors. It is either because these classes exist without their nested classes, or they are expected to exist because of something else, possibly itemscope or itemtype=''

The Question: How do you specify with richsnippets that the page is about a location and there is no human author?

share|improve this question

1 Answer 1

This issue is rather common and found in mostly poorly edited or made WordPress themes. entry-title, updated and author are all related to the Hatom markup which requires hentry to included above the fold and ideally in the body.

It's likely that your website is missing author, updated and entry-title leaving hentry still within your code. View source and check if you can see 'hentry'.

Removing Hentry

If using WordPress removing hentry is rather simple, just login as administrator and edit your functions.php, you can remove Hentry from all blog pages using the below code.

add_filter( 'post_class', 'remove_hentry_function', 20 );
function remove_hentry_function( $classes ) {
    if( ( $key = array_search( 'hentry', $classes ) ) !== false )
        unset( $classes[$key] );
    return $classes;
}

Using Hatom Markup

You shouldn't really need to remove Hatom markup as its compatible along side other markups, schema uses itemprop while Hatom uses classes. If you wish to make use of Hatom microdata then your need a page that looks something like:

<article class="hentry">
  <h1 class="entry-title">Blog Title</h1>
  <p>Published by <span class="author vcard"><span class="fn">Author Name</span></span>
     on <time class="published" datetime="2013-06-13 12:00:00">13<sup>th</sup> June 2013</time>

  <p class="entry-summary">This is just an example</p>

  <div class="entry-content">
    <p>Blah blah blah</p>
  </div>
</article>
share|improve this answer
    
thanks for replying! I see that Google seems to like schema? Will they recognize both schema & Hatom? Also, do you have insight on my question? –  Ben Racicot Jul 17 at 13:17
    
Yes, its common to use more than one form of microdata should it be RDFa, Hatom, Microdata or Schema. In terms of what Google prefers, no idea since Google doesn't reward rankings for microdata and most if not all can display additional information in the results. Schema is just more popular, newer and continuing to be improved. There's no right or wrong to use one or more. –  bybe Jul 17 at 16:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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