gpt4 book ai didi

asp.net - JSON+ld结构化数据的站长工具验证

转载 作者:行者123 更新时间:2023-12-03 02:30:15 25 4
gpt4 key购买 nike

我正在为产品页面使用结构化数据标记。并使用 json + ld 并将脚本标签放入标题部分。

enter image description here

脚本部分由两行标记。当我验证 http://json-ld.org/playground/index.html 中的 JSON 段时它给出了正确的输出。但是当我使用 Google 网站管理员工具验证它时,它没有向我显示内容。 http://www.google.com/webmasters/tools/richsnippets

请帮助我确定与此相关的任何问题。我想我的做法是正确的。

有关更多信息,我将发布 JSON 片段。

<script type="application/ld+json"> {
"@context": "http://schema.org",
"@type": "Product",
"productID": "mpn:20AV002YMB",
"description": "Whether you re an overachiever or an up-and-comer, ThinkPad laptops are the tools you need. From the thin-and-light wonder to the heavy-duty mobile workstation, they re built, tested and enhanced for reliability, durability and speed. Enjoy superior web conferencing on your L540, which includes a low-light sensitive 720p HD webcam with wide-angle viewing.",
"url": "http://www.abc.lk/lenovo/business-notebook/thinkpad-l540-core-i5-4200m-4gb-500gb-15-6in-1080p-dvdrw-win7-pro-win8-pro-azb/20av002ymb/product-details/m852r253.aspx",
"name": "ThinkPad L540 Core i5-4200m / 4GB 500GB 15.6in 1080p Dvdrw Win7 Pro / Win8 Pro Azb",
"image": "https://www.abc.lk/ProductImages/images/M852R253.jpg",
"model": "ThinkPad L540",
"manufacturer": {
"name": "Lenovo",
"url": "http://www.abc.lk/en/lenovo"
},
"offers": {
"@type": "Offer",
"availability": "http://schema.org/OutOfStock",
"price": "706.97",
"priceCurrency": "EUR"
}
}
</script>

谢谢

最佳答案

Google 网站站长工具不支持 JSON-LD(在撰写本文时),但 Google 搜索支持。

您可以查看此线程以获取更多信息:

https://productforums.google.com/forum/#!topic/webmasters/9lzzOw2W-dk

并使用 Google 的电子邮件测试版标记测试器:

https://www.google.com/webmasters/markup-tester/ (这也适用于 Web HTML)- 您的 JSON 在此处验证

我知道这是一个旧线程,但我认为这对于任何登陆此处寻找此问题答案的人来说可能会有用。

关于asp.net - JSON+ld结构化数据的站长工具验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24261099/

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