结构化数据中包含的信息是否需要在网页上可见?

huangapple go评论44阅读模式
英文:

Does information contained in schema (structured data) need to be visible on webpage?

问题

I want to add "Organization" schema to the home page of my company. There are many properties I want to include into the schema, such as "founder", "contact", "found date", etc. I wonder if I also need to list out these information on my webpage? What penalty will be if I don't?

Google structured data guideline about this part is quite vague: "Don't mark up content that is not visible to readers of the page. For example, if the JSON-LD markup describes a performer, the HTML body must describe that same performer." I'm not sure if this means you can add any schema as long as the content referred to is visible or it means the schema information itself needs to be visible.

I tried researching Google structured data guideline, search on google, ask questions in Google Search Community.

英文:

I want to add "Organization" schema to the home page of my company. There are many properties I want to include into the schema, such as "founder", "contact", "found date", etc. I wonder if I also need to list out these information on my webpage? What penalty will be if I don't?

Google structured data guideline about this part is quite vague: "Don't mark up content that is not visible to readers of the page. For example, if the JSON-LD markup describes a performer, the HTML body must describe that same performer." I'm not sure if this means you can add any schema as long as the content referred to is visible or it means the schema information itself needs to be visible

I tried researching Google structured data guideline, search on google, ask questions in Google Search Community.

答案1

得分: 1

结构化数据并不是独立的东西,而是数据代表了被引用的内容。其中之一的含义是,数据标记必须与可见内容相匹配。例如,founder 属性的值必须在内容中有适当的可见表示。如果您认为此内容对用户不重要,那么您可以选择不在直接下载流中显示它,使用允许的方法,例如手风琴或 HTML 元素 details

SD标记与可见内容之间的不一致是谷歌进行手动操作的信号,例如**在隐藏内容上找到的结构化数据**。不要这样做。

英文:

Structured data is not a thing in itself, but the data represents the content that is being referenced. Among other things, this means that the data markup MUST match the visible content.E.g., the value for the property founder must have an appropriate visible representation in the content. If you believe that this content is not important to users, then you can choose not to show it in the direct download stream using allowed methods, e.g., an accordion or the HTML element details.

The lack of correspondence between the SD markup and the visible content is a signal for manual actions by Google such as Structured data found on hidden content. Do not do it.

huangapple
  • 本文由 发表于 2023年3月21日 02:09:14
  • 转载请务必保留本文链接:https://go.coder-hub.com/75793862.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定