When 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:
- Warning: Missing required field “entry-title”.
- Warning: At least one field must be set for Hcard.
- 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?
- 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.
- 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.
- 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
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:
-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:
-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.
<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.
-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.
-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
hello sir, thanks for the useful post, i eliminated two errors with ur useful post, but still had these errors, kindly help me :)
ReplyDeletehcard
Warning: At least one field must be set for Hcard.
Warning: Missing required field "name (fn)".
Apply the 2nd fix i.e. Fix for At least one field must be set for Hcard.
DeleteNice info,
ReplyDeletethanks:)
Fix for Warning: Missing required field "updated"
ReplyDeleteFix for At least one field must be set for Hcard
no effect :((
Fix for At least one field must be set for Hcard
ReplyDeletethe fixing code where I put it in my blogger?
Thank you so much, this is exactly what I was looking for. Although rich snippet still showing 'Hcard' error.
ReplyDeleteyes! no error any more! thanks
ReplyDeletethank you man !! this is so helpful !!
ReplyDeleteSo... 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.
ReplyDeleteid="page-title-inner" class="container fix"
div id="page-title-inner" class="container fix entry-title"
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:
ReplyDeletediv id="page-title" class="fix entry-title">
div id="page-title-inner" class="container entry-title"
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?
ReplyDeletediv id="page-title" class="front fix entry-title">
div id="page-title-inner" class="container">
Thanks for this.. the errors are gone now.
ReplyDeleteShowing 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"
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!
ReplyDeleteThank You..i like it..
ReplyDeletei have add that skrip n still error
ReplyDeleteHi, I follow your guide and only solve update problem, author name still has warning. http://www.ebook-addict.com/
ReplyDeletei have a custom template and Im having problems finding the code to implement these fixes
ReplyDeletehttp://www.janaleemiller.com
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?
ReplyDeleteClick to check my errors.
It does not work on my blogger http://iknowonethingthatiknownothing.blogspot.com
ReplyDeleteCould you help me?
Ya you wrote as per requirement but i checked it for your blog it shows all error as you mentioned below
ReplyDeleteHello Sir I want to add Author code below this line
ReplyDeletediv class='post-header
is it right for my post body???
This is not working in my blog..please suggest me any another solution....
ReplyDelete