添加 schema.org 文章 - 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 的匹配程度。

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...