Schema.org NewsArticle: invalid value for logo property

I am trying to split a small section of my code as NewsArticle, but I cannot verify it.

If i do it

<div itemscope itemprop="publisher" itemtype="https://schema.org/Organization">
  <span itemprop="name">My Company</span>
</div>

validator complains no logo.

And if I add logo, like this

<div itemscope itemprop="publisher" itemtype="https://schema.org/Organization">
  <img itemprop="logo" src="https://www.mysite.de/resources/assets/71/small/my_logo_web.png" />
  <span itemprop="name">My Company</span>
</div>

The validator complains that the attribute contains an invalid value. What am I doing wrong here?

+4
source share
1 answer

Your markup is valid HTML5 + Microdata, and you use the Schema.org dictionary accordingly.

"" , , " Google" . , , , ; , Google, .

Google (, Article Rich Snippet), ImageObject ( URL) logo.

<div itemscope itemprop="publisher" itemtype="http://schema.org/Organization">

  <div itemprop="logo" itemscope itemtype="http://schema.org/ImageObject">
    <img itemprop="url" src="https://www.mysite.de/resources/assets/71/small/my_logo_web.png" />
    <!-- and Google probably requires some more properties here, e.g. "height" and "width" -->
  </div>

  <span itemprop="name">My Company</span>

</div>
+6

All Articles