下面的代码显示的链接,最近的职位上的实验博客网站我摆弄列表。 问题是,这种失败谷歌的结构化数据测试工具,因为它缺少必需的物品,如author
和publisher
。
但我不希望显示这些近期的帖子,我不想让他们为每个博客文章无论是。 我该怎么办? 摆脱了结构化数据的? 把需要的东西,在与CSS隐藏呢? 还是保留原样?
<section>
<header>
<h4 class="h4-padding">Recent Posts</h4>
</header>
<ul>
<li>
<article itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<header itemprop="name headline">
<h5><a href="http://myblog.com/post/5/1/2016/a-very-interesting-thing">A very interesting thing</a></h5>
</header>
</article>
</li>
<li>
<article itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<header itemprop="name headline">
<h5><a href="http://myblog.com/post/30/7/2015/something-even-more-interesting">Something event more interesting</a></h5>
</header>
</article>
</li>
<li>
<article itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting">
<header itemprop="name headline">
<h5><a href="http://myblog.com/something-very-dull">Something very dull</a></h5>
</header>
</article>
</li>
</ul>