12/27/2018

SDTT Testing best practice

In this post we are using schema markup  for testing stage. Hope you get it well otherwise ask question. We you want to make up a page you must be careful to avoid stack errors . Just follow this page as it has all the elements os schema markup.

Table Of Contents

Publisher Value
How to Fix
HTML Code markup
Schema Problem

Publisher Value

How to remove publisher A value for  publisher field is required during structured data blog post testing. When you're writing to compete for google first page, always bear in mind of post errors. This blog post errors (blog posting) can only be detected through structured data test.
The best way is to test your URL is by using Google Structure Data Tool. If your bog pass this test tool without errors like mine, then your post is rich to google snippet, first page, good for crawling

How to Fix

How to fix publisher A value for  publisher field is required.
1. Login to blogger.
2. Go to blog Theme.
3. BackUp or download your blog Theme.
4. Click or select Edit HTML.
5. Press on your PC Crtl + F
6. Paste the following code in the search box that will appear and hit enter to find it.                                                    <data:post.body/>

Just below the code found in the above step paste following code:


HTML Code markup

<div itemprop='publisher' itemscope='itemscope' Error! Hyperlink reference not valid.>
<div itemprop='logo' itemscope='itemscope' Error! Hyperlink reference not valid.>
<img style='display:none;' Error! Hyperlink reference not valid.>
<meta itemprop='url' Error! Hyperlink reference not valid.>
<meta itemprop='width' content='600'/>
<meta itemprop='height' content='60'/>
</div>
<meta itemprop='name' expr:content='data:blog.title'/>
</div>

Note: <data:post.body/>  may appear twice make sure the paste the above code in both of them.
Save and go to Google Structure Data Tool test and see that  publisher A value for  publisher field is required is gone.
Change www.url.com to your domain or blogspot name.


Schema Problem

10 Common Schema Problems and How to Fix Them
We recently talked about rich snippets, aka structured data or schema.org, and how implementing them can benefit your website by attracting more visits.
Google’s documentation on how it uses schema has significantly improved over the years, but it still leaves many searching in the murky waters of micro-data for solid answers to some very common questions.
 -->

No comments:

Post a Comment