--> Fix Structured Data hatom Errors in Blogger | Experience Lab - Online business creation and development guide for bloggers and startups

Fix Structured Data hatom Errors in Blogger

Last year we wrote a comprehensive post on understanding what Structured Data is and how it is used to better display your site on major ...

structured data errors

Last year we wrote a comprehensive post on understanding what Structured Data is and how it is used to better display your site on major search engine result pages. Today you will find the first tutorial of its kind for Blogger blogs where you will learn how to fix Structured Data errors in BlogSpot templates. In your webmaster tools' Search Appearance tab or while using Google rich snippets tool, you must have come across two or all of these famous microformat markup errors:

  1. Warning: Missing required field “entry-title
  2. Warning: Missing required field “updated
  3. Warning: Missing required hCard “author


Both wordpress and Blogger users are facing this trouble. We will be covering blogger troubleshoot guide today and will cover wordpress Genesis platform as soon as possible.

UPDATE: This method fixed all errors on our network sites and those of our clients. Dropping errors by 100%. Check the prove here: Remove all Structured Data Errors!

Structured Data errors before and after

What is Schema.org?

Schemas are simply html tags, that webmasters can use to markup their pages in ways recognized by Bing, Google, Yahoo! and Yandex. All these search engines rely on this markup to improve the display of search results, making it easier for people to find the right web pages.

In Blogger the errors of missing fields are a result of inaccurately placing the schema tags or absence of these tags causing two famous errors in hAtom which are a missing Author and Updated fields.

What are Rich Snippets?

In 2009, Google decided to reshape the way search results are displayed. This was a good step and search pages got a whole new look to help users find more information on a large variety of subjects including people(Authorship Markup), food recipes, events and Product reviews. See some examples below:

Rich Snippets for Author

rich snippets for author

Rich Snippets for Product Reviews 

Rich Snippets for Product Reviews

Rich Snippets for Video

Rich Snippets for Video

 

Fixing Missing Fields in Blogger

In order to fix the missing entry-title, updated and author errors, we will introduce some schema tags inside your blogger template that will tell search engines how to pick the correct title, Author name and published date of the post.The hatom items with errors that you see in webmasters tool compose of author and updated fields which we will fix here.

Lets now add some well defined schema classes that will clean up all errors that you see in your webmaster Structured Data tab.

Fixing hCard error

  1. Go To Blogger > Template
  2. Backup your template
  3. Click "Edit HTML"
  4. Search for this code

<span class='post-author vcard' >
                <b:if cond='data:top.showAuthor'>
                  <b:if cond='data:post.authorProfileUrl'>
                    <span class='fn'>
                      <a expr:href='data:post.authorProfileUrl' rel='author' title='author profile'>
                        <data:post.author/>
                      </a>
                    </span>
                  <b:else/>
                    <span class='fn'><data:post.author/></span>
                  </b:if>
                </b:if>
              </span>

The above HTML DOM could look different in custom blogger templates. In that case only make sure to locate the yellow highlighted codes. You just need to find a similar code as shown above. It does not need to be exactly the same.

        5. Replace the above chunk of similar code that you found with this one:

<span class='post-author vcard' itemscope='itemscope'  itemtype='http://schema.org/Person'>
                <b:if cond='data:top.showAuthor'>
                  <b:if cond='data:post.authorProfileUrl'>
                    <span class='fn author'>
                      <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 author'><span itemprop='name'><data:post.author/></span></span>
                  </b:if>
                </b:if>
              </span>

If you observe clearly, we simply introduced an itemtype, a class of author and a name. All these three important classes do the magic of fixing the missing hcard error!

    6. Save your template

    7. Visit the Rich Snippets testing tool, insert your URL and you will find that the hCard error is all gone!

author field

The author field is blank because fn inside a Vcard stands for full name and provides much better information about the author. See an example below for our co-author, Qasim Zaib.

author field

Isn't that cool?

Fixing updated error

Lets now fix the problem of Missing:updated error. Google must know about the publish date of your post. For that we will enclose the post timestamp inside a new class of updated. Follow this:

  1. Inside your template search for this code:

<data:post.timestamp/>

    2.  You will find the above code twice.  Replace it twice for both occurrences with the code given below:

<span class='updated'><data:post.timestamp/></span>

 

    3. Save your template and you are almost done!

Visit again the rich snippets tool and amazingly you will see that updated filed just works fine now:

updated field in structured data

Fixing entry-title error

PS: Ignore this step if you are not getting entry-title errors

This error only occurs with custom blogger templates which are designed carelessly and are not well optimized. If you are facing this problem, then here is the solution.

  1. Inside blogger search for this code:

<b:if cond='data:post.title'>
      <h3 class='post-title'>

It could be h2 in your case.

   2. Replace the above code with this one twice:

<b:if cond='data:post.title'>
<h3 class='post-title entry-title'>

    3. Save your template and you are all done!

Rich snippets tool will now surely show your entry title correctly:

entry-title field in structured data

Items with errors

Within next 24 hours, webmaster will update your Structured Data and will show zero for items with errors. The number of these items actually indicate your post count. This number would be as large as the total number of posts and pages on your blog. Since we have cleaned up the schema errors inside your template, therefore within next 24 hours or more Google will start showing a green signal for your structured data!

items with errors

Need Help?

I am sure this tutorial would be helpful to all our readers and potentially productive in helping Google better index and crawl your sites. Please feel comfortable to ask us anything where you may need help. Peace and blessings buddies :)

Troubleshoot Guide

These errors will surely not fix if you are doing one of the followings:

Author info and Timestamp

  1. Not displaying author info in Post section causes Missing:author error. i.e. "Not mentioning the author name with class Fn"
  2. Not displaying date or time in Post section causes Missing:Updated error. i.e. "Not mentioning the published time of the post"
  3. You are displaying author info and published time on Homepage but not on subpages
  4. Not adding the class Updated to timestamp.
Disclaimer:

This solution is first time introduced by MBT blog. Replication of this tutorial in any way without attribution would be a serious Copyright infringement.

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Fix Structured Data hatom Errors in Blogger
Fix Structured Data hatom Errors in Blogger
http://lh4.ggpht.com/-EqTufwsGgQc/Uzwyj8XICII/AAAAAAAANTM/Aar9NQV6Vdo/image%25255B7%25255D.png?imgmax=800
http://lh4.ggpht.com/-EqTufwsGgQc/Uzwyj8XICII/AAAAAAAANTM/Aar9NQV6Vdo/s72-c/image%25255B7%25255D.png?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2017/09/fix-structured-data-hatom-errors-in.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2017/09/fix-structured-data-hatom-errors-in.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy