Google Webmaster Tools error: Fix for Blogger Blogspot
For information on newer requirements, visit this Wiki.
Extracted structured data: blogId and postId
Error:
- Error: Page contains property "blogid" which is not part of the schema.
- Error: Page contains property "postid" which is not part of the schema.
Since these itemprop (s) do not exist, it seems like a reasonable thing to try.
Backup your template first!
In my template there were two instances of the following two lines of code....
<meta expr:content='data:blog.blogId' itemprop='blogId'/>
<meta expr:content='data:post.id' itemprop='postId'/>
Since I'm never in a hurry to delete anything, I commented (<!-- span lines --> ) the offending meta tags in both occurrences.
<!--
<meta expr:content='data:blog.blogId' itemprop='blogId'/>
<meta expr:content='data:post.id' itemprop='postId'/>
-->
A check back with Google Webmaster Tools Rich Snippets, Structured Data Testing Tool and my errors are now gone.
Note: It is not a good idea to leave HTML comments in your template because they cannot be nested. So, the final step is to delete the comments and the meta tags. (Since I know you have a backup)
Source:
(and hat tip to)
Brain of Computer blogspot
Thanks for this post. I have used this hack to my product review blog: http://www.whatbestbuy.com/2014/06/iphone-3gs-classic.html
ReplyDeletewhat you think is this right to delete OR comment original code? for my blog
ReplyDeletethanks for this sharing
ReplyDeleteThanks for the data. It has worked well so far.
ReplyDeleteI appreciated your work very thanks
ReplyDeleteWebmaster Forum