添加 Schema.org 标记时,Google 需要某些类型的某些属性吗? [英] Google requiring certain properties for certain types when adding Schema.org markup?

查看:23
本文介绍了添加 Schema.org 标记时,Google 需要某些类型的某些属性吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在我的网站上添加 Schema.org 标记,类型为 Article,然后在其上添加一些属性,当在 Google 结构化数据测试工具上检查时,它说需要某些属性,例如dataPublishedauthor

I tried to add Schema.org markup on my site, with the type Article, then adding some properties on it, when checked on Google Structured Data Testing Tool, it said required certain properties, like dataPublished, author etc.

我可以添加一些属性来满足要求,但不是全部.这个要求是真的吗?我的意思是规则真的要求?还是只是谷歌规则?我遇到了这个页面 https://developers.google.com/search/docs/data-types/articles 它说对于非 AMP,这些要求只是可选的(忽略或推荐,非 AMP 中没有一个说是必需的).

I can add some properties to meet the requirement, but not all of them. Is this requirement real? I mean really required by the rule? Or just Google rule? I came across this page https://developers.google.com/search/docs/data-types/articles It said for non-AMP, those requirements are only optional (ignored or recommended, non of them said required for non-AMP).

这让我很困惑,有人知道这一点,你有什么看法?Google 结构化数据测试工具是否已包含 AMP 要求?

This get me confused, anyone knows about this, what's your opinion? Do Google Structured Data Testing Tool already include AMP requirement?

推荐答案

这些是获取 Google 的搜索功能之一所必需的/推荐的.

These are required/recommended for getting one of Google’s search features.

如果您不想要该 Google 搜索功能,或者您无法提供所有必要的属性,您可以保留所有内容并忽略错误和警告.

If you don’t want that Google search feature, or if you can’t provide all necessary properties, you can keep everything like it is and ignore the errors and warnings.

在网站管理员 SE 上:

On Webmasters SE:

这篇关于添加 Schema.org 标记时,Google 需要某些类型的某些属性吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆