gpt4 book ai didi

schema.org - Schema.org 中的产品列表

转载 作者:行者123 更新时间:2023-12-04 02:07:26 29 4
gpt4 key购买 nike

我读了这个Google doc .它说我们不使用列表中的产品。

那么对于产品列表(具有多页的类似产品的类别,如“鞋子”),推荐使用哪种模式?

我用这个:

<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage","name": "page name",
"url": "http://www.example.com/shoes"
"mainEntity":{
"@type": "ItemList",
"itemListElement":[{
"@type": "BlogPosting"...
}]
}
.
.
.

但是 BlogPosting 产品似乎是错误的。

最佳答案

链接的文档适用于 Google 的 Products rich result .它说这个特定的富媒体搜索结果不支持包含不同产品的列表。但这不应该阻止您标记此类列表。

反对Google’s guidelines仅标记列表中选定的产品:

A category page listing several different products (or recipes, videos, or any other type). Each entity should be marked up using the relevant schema.org type, such as schema.org/Product for product category pages. Marking up just one category entity from all listed on the page is against our guidelines.

您的 JSON-LD 示例是标记产品列表的合适方式(当然,将 BlogPosting 替换为 Product)。但是您可能想使用 CollectionPage 而不是 WebPage .

关于schema.org - Schema.org 中的产品列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42051841/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com