1

我正在使用產品頁面的結構化數據標記。並使用json + ld並將腳本標籤放在標題部分。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> 

謝謝

回答

3

谷歌網站管理員工具不支持JSON-LD(在寫作時),但谷歌搜索一樣。

你可以看到這個線程的詳細信息:

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

,並使用谷歌的beta標記測試電子郵件:

https://www.google.com/webmasters/markup-tester/(這也將爲網絡HTML工作) - 你的JSON驗證這裏

我知道這是一個古老的線索,但我認爲它可能對任何尋找答案的人都有用,因爲這個人在這裏登陸。

+0

感謝丹。做過這個 – JCTLK