添加 schema.org 文章 - LOGO 问题

Add schema.org article - problem with LOGO

我试图在页面上添加 schema.org article,但未通过 Google 验证,也许问题出在徽标上?

<script type="application/ld+json">
    {
     "@context": "https://schema.org",
     "@type": "Article",
     "author": "Organization",
     "name": "mywebsite",
     "headline": "Pericolosità - DEFINIZIONE",
     "image": [
         "https://www.example.com/a.jpg"
     ],
     "datePublished": "2021-04-09T04:00:00+00:00",
     "dateModified": "2021-04-09T04:00:00+00:00",
     "mainEntityOfPage": "https://www.example.com/article",
     "publisher":{
         "@type": "Organization",
         "name":"mywebsite",
         "url": "https://www.example.com/logo.jpg",
         "logo": {
             "@type": "imageObject",
             "url": "https://www.example.com/logo.jpg"
         }
      }
    }
</script>

对于发布者,您为徽标指定了 URL 属性:

"publisher":{
     "@type": "Organization",
     "name":"mywebsite",
     "url": "https://www.example.com/logo.jpg",
     "logo": {
         "@type": "imageObject",
         "url": "https://www.example.com/logo.jpg"
     }
  }

但是,它需要发布者网站的 URL 而不是徽标。

此外,特定徽标的问题可能是由于错误的尺寸或格式引起的,您没有报告。因此,请检查您的徽标与 Google's Guidelines for Logo.

的匹配程度