【问题标题】:Rich-snippets for Offline Products and Services离线产品和服务的丰富片段
【发布时间】:2013-09-02 09:44:25
【问题描述】:

我们正在开发一个新网站,我热衷于以 Rich Snippets 的形式为我们的产品和服务页面实施丰富的 sn-ps 和更具描述性的元数据。

我的问题是我们的产品和服务不能直接从网站购买,因为它们是根据用户要求定制和定制的。因此,它们没有价格和库存水平。

我从Google guidelines 注意到他们声明:

产品应该可以直接在页面上购买

我的问题是,使用丰富的 sn-ps 描述这些产品和服务的最佳和最合适的方式是什么?我完全可以使用丰富的 sn-ps 来描述这些产品和服务吗?

【问题讨论】:

    标签: metadata microdata microformats rich-snippets google-rich-snippets


    【解决方案1】:

    考虑将schema.org/AggregateOffer 用于产品丰富片段。尽管它的主要用例是标记不同卖家提供的一种产品,但它似乎也适合您。它允许指示最低和最高价格 - 我猜您甚至对定制产品也有一些价格限制。

    如果您在您的网站上有对这些产品的评论,Review Rich Snippets 适用于您。为此使用schema.org/Reviewschema.org/AggregateRating

    两者的示例:

    <div itemscope itemtype="http://schema.org/Product">
      <img itemprop="image" src="cute_dress.jpg" />
      <span itemprop="name">Very Cute Dress</span>
    
      <div itemprop="aggregateRating"
        itemscope itemtype="http://schema.org/AggregateRating">
        <span itemprop="ratingValue">87</span>
        out of <span itemprop="bestRating">100</span>
        based on <span itemprop="ratingCount">24</span> user ratings
      </div>
    
      <div itemprop="offers" itemscope itemtype="http://schema.org/AggregateOffer">
        <span itemprop="lowPrice">$1250</span>
        to <span itemprop="highPrice">$1495</span>
      </div>
    </div>
    


    give

    Breadcrumbs 是您的另一个选择。为此请使用 data-vocabulary.org,因为 schema.org 中的面包屑杂乱且不完整。

    例子:

    <div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
      <a href="http://www.example.com/dresses" itemprop="url">
        <span itemprop="title">Dresses</span>
      </a> ›
    </div>  
    <div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
      <a href="http://www.example.com/dresses/real" itemprop="url">
        <span itemprop="title">Real Dresses</span>
      </a> ›
    </div>  
    <div itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
      <a href="http://www.example.com/clothes/dresses/real/green" itemprop="url">
        <span itemprop="title">Real Green Dresses</span>
      </a>
    </div>
    


    give

    【讨论】:

    • 我们不能公布价格范围,所以我想我会坚持使用面包屑。感谢您的反馈。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-02-04
    • 2016-01-23
    • 2014-09-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多