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

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

问题描述

我试图在我的网站上添加类型为Article的Schema.org标记,然后在其上添加一些属性,当在Google Structured Data Testing Tool上进行检查时,它表示需要某些属性,例如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.

我可以添加一些属性来满足要求,但不是全部.这个要求是真的吗?我的意思是该规则确实需要吗?还是只是Google的规则?我偶然发现了此页面 https://developers.google.com/search/docs/data-types/articles 对于非AMP来说,这些要求只是可选的(忽略或推荐,其中的非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.

  • Should Schema.org dateModified have some default value if not available?
  • Schema.org/Microdata markup for list of recent posts without providing "author" / "publisher"?
  • Do I have to create new visible elements to abide by Google's Microdata Schema.org requirements?
  • Omitting price property for sold products?
  • Use Schema.org for Article without image property?
  • Image missing and required - Wordpress AMP Structure doesn't add Image attribute

在网站站长SE上:

  • Schema.org BlogPosting and image required
  • Is it mandatory to have rich snippets for AMP pages?

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

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