Loading

Fix Rich Snippets Testing Tool Warnings on Blogger


Fix Rich Snippets Testing Tools "entry-title" "updated" "hCard"  Warnings on BlogSpotWhen I was implementing Google authorship for my blog I noticed some “Warning” messages in the rich snippets testing tool. After researching and debugging for a couple of hours what each field meant I found a solution to completely remove all errors from my blog.


In this post I’ve demonstrated how you can remove and fix these three type of warning messages while testing your BlogSpot blog on Webmasters rich snippets testing tool:

  1. Warning: Missing required field “entry-title”.
  2. Warning: At least one field must be set for Hcard.
  3. Warning: Missing required field "updated".

Note: These warning messages do not have any effect on your blog’s rankings.

What do these Warning Messages mean?

These warning messages appear when your blog has any of the Microformats missing.

What are Microformats?

Read the answer on Google Support about Microformats.

Microformats are simple conventions (known as entities) used on web pages to describe a specific type of information —for example, a review, an event, a product, a business, or a person. Each entity has its own properties. For example, a Person has the properties name, address, job title, company, and email address.”

What does each Warning Message Mean?

  1. Warning: Missing required field “entry-title”

    The entry-title element is used to identify/represent the Entry Title meaning Post Title of your post. If this Microformat is missing from your blog you get a warning message.

  2. Warning: At least one field must be set for Hcard

    The hCard element is used to represent people or an organization. The rich snippet testing tools throws an error if this field is missing from your blog.

    Note: The hCard field has many sub-properties in parentheses like “name” and “author”, if you’re receiving such warning messages kindly leave a comment below.

  3. Warning: Missing required field "updated"

    The updated field notifies search engines when a particular post/page was last updated. If this field is missing from your blogs post you get a warning message.

 

Fix for Warning Messages


Take a backup of your template before you make any of the changes mentioned below.

 

Fix for Warning: Missing required field “entry-title”.

-Open your blog’s template and search for the post-title or similar looking code line in your template:

<h3 class='post-title.........' </h3>

-Depending on your blogs template, your blog may be configured to use the H1/H2 tag, if you are having problems finding which tag is used for post-title, leave a comment below.

Now replace all instances of the above code with the code below:

<h3 class='post-title entry-title'>

-Save your template and check for warning messages in the rich snippets testing tool.

 

Fix for At least one field must be set for Hcard

We will add the “author name” hCard here:

-Add the following piece of code wherever you want your Name to be displayed.

<span class='post-author vcard'>
<b:if cond='data:top.showAuthor'>
<data:top.authorLabel/>
<span class='fn'><data:post.author/></span>
</b:if>
</span>

-Save your template.

-You may place the author card below the post title or at the bottom of the post.

-Now check your blog in the rich snippets testing tool and see if you’re receiving any warning message.

 

Fix for Warning: Missing required field "updated"

-Open your blogs template and add the following piece of code in your template wherever you want the post Timestamp to appear.

<a class='updated' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='updated' expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr></a>

-You may place the timestamp below the post title or at the bottom of the post.

You can also hide the timestamp from your blog if you do not want to display it by wrapping it in hidden div tags. Use the following code if you want to hide the post timestamp.

Warning: Search engines may penalize your blog for hiding text and other elements from your blog; hence you must avoid such practices.

<div style='display:none’><a class='updated' expr:href='data:post.url' rel='bookmark' title='permanent link'><abbr class='updated' expr:title='data:post.timestampISO8601'><data:post.timestamp/></abbr></a></div>

-Now save your template and check if the warning on the rich snippets testing tool has disappeared.

I know these hacks are a bit tricky to implement but feel free to leave a comment below if you're having problems applying any of these hacks on your BlogSpot blog and I would be happy to help you.


Labels : Blogger, Blogging Tips   |   | 17:10

23 comments:

  1. hello sir, thanks for the useful post, i eliminated two errors with ur useful post, but still had these errors, kindly help me :)

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

    ReplyDelete
    Replies
    1. Apply the 2nd fix i.e. Fix for At least one field must be set for Hcard.

      Delete
  2. Fix for Warning: Missing required field "updated"
    Fix for At least one field must be set for Hcard
    no effect :((

    ReplyDelete
  3. Fix for At least one field must be set for Hcard

    the fixing code where I put it in my blogger?

    ReplyDelete
  4. Thank you so much, this is exactly what I was looking for. Although rich snippet still showing 'Hcard' error.

    ReplyDelete
  5. yes! no error any more! thanks

    ReplyDelete
  6. thank you man !! this is so helpful !!

    ReplyDelete
  7. So... would you mind showing me how you would edit my single.php to overcome the entry-title error? My attempt did not remove the error. (class="container fix entry-title") Or is single.php only for posts and not pages? Thank you.

    id="page-title-inner" class="container fix"
    div id="page-title-inner" class="container fix entry-title"

    ReplyDelete
  8. Yes, your suggestion fixed my entry-title error in a post, but not in a page. My "front" page is what I'm dealing with right now. I tried various combinations in page.php with no effect:

    div id="page-title" class="fix entry-title">
    div id="page-title-inner" class="container entry-title"

    ReplyDelete
  9. One more on my subject, please - My page source shows the following, yet I still have the Google error: Warning: Missing required field "entry-title". Any comment?

    div id="page-title" class="front fix entry-title">
    div id="page-title-inner" class="container">

    ReplyDelete
  10. Thanks for this.. the errors are gone now.

    ReplyDelete
  11. Showing this error on top of all post "EMPLATE ERROR: Invalid data reference top.showAuthor: No dictionary named: 'top' in: ['blog', 'skin', 'view'] TEMPLATE ERROR: Invalid data reference post.url: No dictionary named: 'post' in: ['blog', 'skin', 'view']

    "

    ReplyDelete
  12. I do not have the code references you mentioned in your tutorials. Would you please be willing to help me get rid of the errors. You can view a screenshot of the errors at http://www.willwatsondesign.com/ebizstartup/, and get the HTML source code (Notepad ".txt" format for easy download) to look at it, make the necessary corrections, and send it back to me at topicseo[at]gmail[dot]com. Thanks in advance; I greatly appreciate your assistance!

    ReplyDelete
  13. i have add that skrip n still error

    ReplyDelete
  14. Hi, I follow your guide and only solve update problem, author name still has warning. http://www.ebook-addict.com/

    ReplyDelete
  15. i have a custom template and Im having problems finding the code to implement these fixes
    http://www.janaleemiller.com

    ReplyDelete
  16. I'm trying to fix snippet errors a few days. I searched everywhere but i couldn't fix my error. I'm using blogger / blogspot please help me. What sould i do?

    Click to check my errors.

    ReplyDelete
  17. It does not work on my blogger http://iknowonethingthatiknownothing.blogspot.com
    Could you help me?

    ReplyDelete
  18. Ya you wrote as per requirement but i checked it for your blog it shows all error as you mentioned below

    ReplyDelete
  19. Hello Sir I want to add Author code below this line
    div class='post-header
    is it right for my post body???

    ReplyDelete
  20. This is not working in my blog..please suggest me any another solution....

    ReplyDelete

 

Back to Top