How to Fix – hfeed Warning: At least one field must be set for HatomEntry
When using the Google Rich Snippet Tool a warning of hatom-feed shows up in Extracted structured data section if the tool is unable to extract the information “entery-title”, “updated” and “author” from the webpage you are testing.
If the tool is unable to extract information of all three fields from webpage it shows following warnings;
- Warning: At least one field must be set for HatomEntry
- Warning: Missing required field “entry-title”.
- Warning: Missing required field “updated”.
- Warning: Missing required hCard “author”.

Solution:
You need to provide rich snippet tool these three fields to remove these warnings. WordPress users need to modify single.php in their theme folder to remove this warning.
Fixing Warning: Missing required field “entry-title”:
The title of your post which is mostly enclosed in header tags needs to include a class attribute. If it already has a class attribute then append “entry-title” without quotes to it.
1 <h1 class="entry-title">Page Title</h1>
For WordPress users:
Open single.php located in your theme folder and find. If it is not enclosed in header tag then wrap it into a header tag and add class attribute with value “entry-title”.
1 <h1 class="entry-title"><?php the_title(); ?></h1>
Fixing Warning: Missing required field “updated”:
To remove this warning you need to have a date of content update. The date needs to be closed in a span tag with attribute.
1 <span class="date updated">Date</span>
For WordPress users:
In your single.php file find the_time or echo get_the_date(); and enclose it into a span tag with attribute.
1 <span class="date updated"><?php echo get_the_date();?></span>
Or
1 <span class="date updated"><?php the_time(); ?></span>
Fixing Warning: Missing required hCard “author”:
To fix the missing hCard “author” warning add enclose the author name into following span tags.
1 <span class="vcard author">2 <span class="fn">Author Name</span>3 </span>
For WordPress users:
In single.php find the_author(); or the_author_posts_link(); and replace it with anyone of following lines.
1 <span class="vcard author">2 <span class="fn"><?php the_author(); ?></span>3 </span>
Or
1 <span class="vcard author">2 <span class="fn"><?php the_author_posts_link(); ?></span>3 </span>

Hatom-Feed Warning Fixed
If the problem persist or you have any question please post them into comments.
Posted on November 17, 2012 | FeaturedGoogleWebWeb Development
Saurabh
Thanks. I am getting the same error for my Authorship. I replaced "post-title" with "entry title" but can it affect my theme ? As i replaced theme's class post title ?
Kaleem Sajid
Well it depends on
class of your theme. I recommend you to use instead.MItch
I can't seem to get this working correctly. I did all the proper steps that was suggested in the tutorial. When I test the Structured Data I still get the errors. Warning: At least one field must be set for HatomEntry. Warning: Missing required field "entry-title". Warning: Missing required field "updated". Warning: Missing required hCard "author".
Kaleem Sajid
I'm sorry but the solution given here works only for "HatomEntry" error appearing in posts. I visited your wordpress website it mostly consists of pages. I also noticed you have WPSocial SEO Booster Plugin installed. Your problem can be solved if you replace this plugin with SEO Ultimate plugin and enable Open Graph Integrator module in its settings.
פורט סעיד
I tried it but I still get the error for entry title :( can you PLEASE have a look? Here: http://bit.ly/W65vfl Thanks
Kaleem Sajid
Hi I visited the page you mentioned. The problem there was that you used wrong Quotation marks to enclose attribute values. You used this (”). Replace all of them with this ("). E.g class=”vcard author”. If you replace all these (”) with this (") the problem will be solved. The problem with page title can be solved by removing the anchor tag (<a></a>) from your <h1></h1> tag. Hopefully it'll help. Post me if you have any queries.
Erin
Hi - I cant seem to find this on my single.php. It seems like the theme I am using has different ways of labeling the entry-title, etc? Any help is appreciated! I have Wordpress SEO installed and it doesnt seem to be working.
Kaleem Sajid
Your theme do have a header tag to label posts, but it is not showing author name and date. Still you can add this information in your theme's single.php file using the code(for wordpress) above. Also, your single.php do have a h1 tag. Replace h1 tag and its child tags with the code for wordpress in fixing entry-title section of this post.
Brett
Any thoughts on how to fix this problem with the WP genesis framework since it does not have a single.php and instead is based on hooks http://my.studiopress.com/docs/hook-reference/
Joko
Thanks.. now I can solve the problem in my blog.. finally hCard Author error is fixed.
Mariusz
Hi There. Great and clean guide. I do not know why but everything works ok while testing mariuszrymanowski.pl/blog but when checking home page errors still appeaser. Its 2nd month of waiting for Image in Search results :(
Himanshu
Found these errors and implemented your way, but failed to clean the errors. Please help me.
Sam
Does the authorship image still show in results if this error message comes up?? Please let me know, or i'll have a lot of editing to do in wordpress!
Kashyap Shreepathi
Thanks a lot! Worked perfectly. Google authorship is working fine now...
Ali Sh
I always get this error and I have search in my single.php but I couldn't find the (entry-title) not any (h1) or (h2) or anything so I can edit it. I have 3 posts in my homepage and my website shows those error too in Structured Data Testing Tool...What shall I do, pls help! hatom-feed hatom-entry: Warning: At least one field must be set for HatomEntry. Warning: Missing required field "entry-title". Warning: Missing required field "updated". Warning: Missing required hCard "author".
Steve
This instruction/fix seems to be for posts rather than pages. Am I wrong? I am only getting errors for a page. Warning: Missing required field "updated". Warning: Missing required hCard "author". My posts are okay. Thanks.
Ed Lamb
Hi, Thanks for posting this! Unfortunately, it's online fixing 2 out of 3 issues - I'm still seeing an error for the 'entry-title' which is frustrating. Think it may be a WP theme issue but developer is out of ideas. Site URL I'm working on is http://rmpproperty.com/ if anyone has any ideas! Thanks again, Ed
Chris
Thanks for this! I have been able to fix 2/3 of them but I cannot seem to get the 'Header Tag' created for the entry-title one.
Chris
DOH! I found it scratch that....early morning! Thanks for this post!
Walter Pinem
how to fix the errors on swift basic wordpress theme? The codes of author and date updated aren't in the list. How should I do to fix them? Thanks before