【发布时间】:2021-11-09 13:28:37
【问题描述】:
我正在研究 Google 富文本搜索结果,但我不知道如何制作此部分。
Google test of rich result 仅显示评级和价格部分,这是其架构
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Product",
"name" : "Samsung Galaxy Note 10",
"productID":"2121",
"url" : "https://priceoye.pk/mobiles/samsung/samsung-galaxy-note-10",
"image": "https://images.priceoye.pk/samsung-galaxy-note-10-pakistan-priceoye-cg7be.jpg",
"category" : "Mobiles",
"gtin" : "",
"gtin13" : "",
"brand" : "Samsung","offers": {
"@type": "Offer",
"price" : "169999",
"priceCurrency": "PKR",
"itemCondition":"https://schema.org/NewCondition",
"availability": "http://schema.org/InStock",
"url": "https://priceoye.pk/mobiles/samsung/samsung-galaxy-note-10"
},"aggregateRating": {
"@type": "AggregateRating",
"bestRating": "5",
"ratingValue": "5",
"ratingCount": "1"
},"review": [],"description" : "The Samsung Galaxy Note 10 has a 6.3 inches screen and 256GB 8GB RAM RAM. It comes with 3500 Mah battery and yes back camera.",
"sku": "samsung-galaxy-note-10"
}
</script>
【问题讨论】:
-
测试结果在截图中显示的不是同一个URL,是不是一样的`?
-
@empiric 是的,两个网站在 google 上显示的结果相同。我更新了我的问题并添加了 JSON。
标签: html json schema meta-tags meta