微博数组blogPosting

时间:2014-11-03 07:53:05

标签: blogs schema.org microdata

我将Microdata添加到我的博客列表中,并且我不确定每个BlogPosting之间的良好关系(项目为红色):

enter image description here

这是我的代码:

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

我犯了错误吗?

1 个答案:

答案 0 :(得分:1)

您的Microdata标记是正确的,您也正确使用Schema.org词汇。

您正在使用的解析器(Microdata.reveal)似乎有问题:Blog项应该有BlogPosting属性的两个blogPost值:“Item 1”和“Item” 2" 。

Google’s Structured Data Testing Tool正在正确解析您的代码:

  

The blogPost property references two items: Item 1 and Item 2