-->

Schema.org/Microdata标记为最近发表的文章列表,但不提供“作者” /“发行人”?S

2019-05-12 12:32发布

下面的代码显示的链接,最近的职位上的实验博客网站我摆弄列表。 问题是,这种失败谷歌的结构化数据测试工具,因为它缺少必需的物品,如authorpublisher

但我不希望显示这些近期的帖子,我不想让他们为每个博客文章无论是。 我该怎么办? 摆脱了结构化数据的? 把需要的东西,在与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>

Answer 1:

这是完全罚款提供这些特性。 Schema.org不需要任何财产。

如果谷歌的结构化数据测试工具说,某些属性丢失,它真正的意思是:

“如果你不提供这些特性,我们将不会显示在谷歌搜索相应的丰富网页摘要或知识图功能”

有没有必要摆脱你的结构化数据,只是因为谷歌(成为众多消费者的一个),目前并不用它做什么。 它可以为其他消费者有用的,而谷歌可能会在与你当前的属性集工作,改变未来/推出新的功能。



文章来源: Schema.org/Microdata markup for list of recent posts without providing “author” / “publisher”?