英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论