Google结构化数据

时间:2016-11-07 16:06:05

标签: structured-data

在我问之前我想提一下我已经找到了解决方案......

我正在尝试构建Goggle的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

1 个答案:

答案 0 :(得分:3)

图像需要是“图像对象”。

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

I answered a similar question here.