2016-11-07 68 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