February 1, 2014

Another Blogger hcard Issue From Google Webmaster Tool Richsnippet Preview

hcard Issue From Google Webmater Tool Richsnippet Preview
On my article before was tell you about three common error which find when you test your website page using webmaster tool, but not all Blogger template have the same error, I found another Blogger hcard issue from Google webmaster tool richsnippets preview.

This issue about hcard author and found when I running testing tool on my other blog, and this error can not be solved with same way like my article previously. So if you have same problem with me and have same error, you can try this way to fix webmaster tool richsnippets preview.

The error something like this below:

Error: This information will not appear as a rich snippet in search results,
 because it seems to describe an organization. Google does not currently
 display organization information in rich snippets

 Error: At least one field must be set for Hcard.
 Error: Missing required field "name (fn)".

And to fix it, do  from your Blogger Dashboard, then click Template, click Edit HTML, inside it you must search some proper code, because there is two code could make this error, first code is:

<span class='post-author vcard'>

You will find two of code above, you must deleted both or comment it, see below:
<!-- <span class='post-author vcard'> -->
.....
.....
<!-- </span> -->
If you not found above code or that way not solve your problem, search second code below:

<span class='post-author vcard'>

And after you found it, replace with this code below:

<!-- hCard"author" error fix Start -->
<span class='post-author vcard'>
<b:if cond='data:top.showAuthor'>
<b:if cond='data:post.authorProfileUrl'>
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<meta expr:content='data:post.authorProfileUrl' itemprop='url'/>
<a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
<span itemprop='name'><data:post.author/></span>
</a>
</span>
<b:else/>
<span class='fn' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<span itemprop='name'><data:post.author/></span>
</span>
</b:if>
</b:if>
</span>
<div class='author-profile' itemprop='author' itemscope='itemscope' itemtype='http://schema.org/Person'>
<b:if cond='data:post.authorPhoto.url'>
<img expr:src='data:post.authorPhoto.url' itemprop='image' width='50px'/>
</b:if>
<div>
<a class='g-profile' expr:href='data:post.authorProfileUrl' itemprop='url' rel='author' title='author profile'>
<span itemprop='name'><data:post.author/></span>
</a>
</div>
<span itemprop='description'><data:post.authorAboutMe/></span>
</div>
<!-- hCard"author" error fix End-->

I think the problem is only found in the old templates, or templates made ​​in the past, because I personally just find it on my blog which using a template that was made ​​in 2010, this only my personal opinion.

That's it, do some test with this url : Google Webmasters Tools Richsnippets

Regards,


You might want to see other posts:

5 comments:

  1. Hi Faldy, I used your code trying to solve the errors you mentioned:

    Error: At least one field must be set for Hcard.
    Error: Missing required field "name (fn)".

    I replaced my code with yours and it added another author link, this time displaying G+profile photo. So now I have author TWICE, one with photo and the other without it.

    The hcard error still shows in the couple of pages detected by Google Webmasters Tools Richsnippets.

    Can you please help me removing one of the author links at the end of the posts? If you have any suggestions regarding the Hcard, it will be welcome too - the errors appears for a couple of static pages.

    My blog is http://edificiosdepapel.blogspot.com, in case you want to have a look

    Many thanks in advance for your kind help.

    ReplyDelete
    Replies
    1. Hi Monica,

      I've test your blog in richsnippets preview and for me is okay, maybe other profle came from your link inside g+ profile (see about tab).

      But if it bother you, try to remove this code below:

      <a class='g-profile' expr:href='data:post.authorProfileUrl' itemprop='url' rel='author' title='author profile'>
      <span itemprop='name'<>data:post.author/></span>
      </a>
      </div>
      <span itemprop='description'><data:post.authorAboutMe/></span>
      </div>

      but remember to try it first after you're change, and undo if the change make some error.

      good luck.

      Delete
  2. Thanks Faldy. Prior to trying what you propose I made another try, which initially seemed to work: in Blogger configuration I unticked the "posted by" option for the posts. The first duplicated author disappeared in the blog, so great. But today I found the Hcard mistake again in red by the Webmaster Tool when testing the richsnippets. So no it seems as if the "vcard" was not found? Does this add any piece of information to you?
    Thanks for your help.

    ReplyDelete
  3. cannot fix my error http://lirikdelyrics.blogspot.com/

    ReplyDelete
  4. I gotta favorite this website it seems very helpful .
    Webmaster Forum

    ReplyDelete