我将Microdata添加到我的博客列表中,并且我不确定每个BlogPosting之间的良好关系(项目为红色):
这是我的代码:
<ul itemscope itemtype="http://schema.org/Blog">
<li itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<!-- first post with my title, image, content .. -->
</li>
<li itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<!-- second post with my title, image, content .. -->
</li>
</ul>
我犯了错误吗?
答案 0 :(得分:1)
您的Microdata标记是正确的,您也正确使用Schema.org词汇。
您正在使用的解析器(Microdata.reveal)似乎有问题:Blog
项应该有BlogPosting
属性的两个blogPost
值:“Item 1”和“Item” 2" 。
Google’s Structured Data Testing Tool正在正确解析您的代码: