- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在为产品页面使用结构化数据标记。并使用 json + ld 并将脚本标签放入标题部分。
脚本部分由两行标记。当我验证 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/
如何强制在 ajax 加载的页面上显示广告?因为,如您所知,document.write(); AdSense 使用的异步请求会被跳过。 我需要强制显示该广告。我也在谷歌帮助论坛上搜索过,但没有成功。
我是一名优秀的程序员,十分优秀!