Select Page

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”.
Hatom-Feed Warning
If Google Rich Snippet Tool is able to extract information from one or two fields it shows warning for only missing fields.
 

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.


Page Title

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”.


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.

Date

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.

Or

Fixing Warning: Missing required hCard “author”:

To fix the missing hCard “author” warning add enclose the author name into following span tags.


Author Name

For WordPress users:

In single.php find the_author(); or the_author_posts_link(); and replace it with anyone of following lines.



Or



Hatom-Feed Warning Fixed

Hatom-Feed Warning Fixed

If the problem persist or you have any question please post them into comments.