article - Schema.org 文章页面上的文章微数据和文章的所有链接

标签 article microdata schema.org

我的文章页面标有 schema.org 微数据,如下所示(简化版):

<div itemscope itemtype="http://schema.org/Article">
    <div itemprop="name">My Article Title</div>
    <div>by <span itemprop="author">John Doe</span></div>
    <meta itemprop="url" content="/link/to/my-article" />
    <div itemprop="articleBody">Article body goes here.</div>
</div>

我有各种页面链接到这些文章页面,例如按年和月分段的存档页面、标签页、搜索结果等。在所有这些链接到文章的页面上,我是否还应该添加 schema.org 标记,例如这个:
<div itemscope itemtype="http://schema.org/Article">
    <a itemprop="url" href="/link/to/my-article"><span itemprop="name">My Article Title</span></a>
</div>

或者这是否被搜索引擎拒绝和/或惩罚?

最佳答案

这是 schema.org 中的推荐做法,您应该在指向包含特定架构项目的另一个页面的每个链接中添加一个 url 属性,而没有将包含在特定架构项目页面上的任何额外信息。例如对于文章列表中的每个链接:

<div itemscope itemtype="http://schema.org/Article">
    <a itemprop="url" href="/link/to/my-article">My Article Title</a>
</div>
<div itemscope itemtype="http://schema.org/Article">
    <a itemprop="url" href="/link/to/another-article">Another Article Title</a>
</div>

关于article - Schema.org 文章页面上的文章微数据和文章的所有链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12904619/

相关文章:

permissions - 如何更改多个liferay文章的权限

html - schema.org 产品可用性标签标记

html - schema.org 微数据 - 文章所需的图像

公寓列表的 HTML5 标签和微数据

schema.org - 当作者是发布者时,修复 “The attribute publisher.itemtype has an invalid value”

python - 在 python 中导入样板管道时遇到问题

php - Joomla 2.5 最新文章来自类别链接

wordpress - 帖子有多种语言吗?

schema.org - Google SDTT错误: “The review has no reviewed item specified.”

schema.org - Google 结构化数据评论的 priceRange 参数是什么?