2016-11-07 131 views
1

之前我問我想提一下,我已經尋找解決方案...谷歌結構化數據

我想建立護目鏡的AMP頁面。我使用了他們的模板並使用Chrome的開發工具對其進行了測試,但是,在Google自己的結構化數據測試工具中,我收到了一個錯誤和兩個警告。我被困在試圖弄清楚這件事。這是我的代碼,下面是我看到的錯誤的屏幕截圖。

<script type="application/ld+json"> 
    { 
    "@context": "http://schema.org", 
    "@type": "NewsArticle", 
    "headline": "Remote Card Sorting and Prioritization Matrix Tools for usability testing and information architecture.", 
    "datePublished": "2016-10-08T12:02:41Z", 
    "dateModified": "2016-11-05T12:02:41Z", 
    "author": "usabiliTEST", 
    "image": [ 
     "/i/usabilitestLogo.png" 
    ], 
    "publisher": "usabiliTEST" 
    } 
</script> 

這怎麼解決?我還缺少什麼?

enter image description here

回答

2

圖像需要被 '圖像對象'。

"image": { 
    "@type": "ImageObject", 
    "url": "https://google.com/thumbnail1.jpg", 
    "height": 800, 
    "width": 800 
}, 

I answered a similar question here.

+0

我認爲谷歌測試工具壞了。網站管理員工具說沒有錯誤,但該工具遍佈全球。 – santa