如何指定接受项目类型服务的组织类型的属性?

问题描述 投票:0回答:1

Google结构化数据测试工具无法将提供者识别为组织类型的对象。这是示例:

<body itemscope itemtype="https://schema.org/Organization">
  <div itemprop="provider" itemscope itemtype="https://schema.org/Service">
    <meta itemprop="serviceType" content="Front end" />
      <div class="row" itemprop="hasOfferCatalog" itemscope itemtype="https://schema.org/OfferCatalog">
        //The service itemlists' offered
      </div>
  </div>
</body>

还有其他方法可以指定服务。

html schema microdata
1个回答
0
投票

提供者是Service中的属性,可以将其设置为组织。你所拥有的是相反的。

您可以交换周围的东西:

<body itemscope itemtype="https://schema.org/Service">
  <meta itemprop="serviceType" content="Front end" />
  <div itemprop="provider" itemscope itemtype="https://schema.org/Organization"></div>
  <div class="row" itemprop="hasOfferCatalog" itemscope itemtype="https://schema.org/OfferCatalog">
      //The service itemlistsoffered' 
  </div>
</body>
最新问题
© www.soinside.com 2019 - 2025. All rights reserved.