Publisher and Name Microdata

后端 未结 1 1893
臣服心动
臣服心动 2021-01-13 14:16

In a BlogPosting or an Article if the publisher is a person how to use Schema.org and Microdata?

I could find that answer: Proper way to use 'publisher' in

相关标签:
1条回答
  • 2021-01-13 14:47

    That is the correct way to provide the publisher in case it’s a person.

    Unfortunately, most of the time Google’s SDTT reports something as error which isn’t an error with Schema.org/Microdata, but with Google’s requirements for getting one of their rich results.

    This seems to be the case here, too: it’s likely an error for the AMP version of the Articles rich result, for which Google only considers organizations (and not persons) as publishers:

    publisher

    Organization; required (AMP), ignored (non-AMP)

    The publisher of the article.

    So if the publisher is a person, simply ignore this error.

    If the publisher is the same as the author, you can use both properties in the same itemprop attribute:

    <div itemprop="author publisher" itemscope itemtype="http://schema.org/Person">
    
    0 讨论(0)
提交回复
热议问题