我在一个关于手表的网站上工作。目标是展示品牌,品牌的收藏,手表,新闻,评论,视频,等等。
我在问自己要在收藏/手表上使用哪种模式.手表是一种产品,但我们不卖手表。我们只展示手表的信息,品牌,官方描述,一些评论,等等.
一个集合是一个"DataCatalog“,每个人都看一个数据集吗?想在集合中添加项目类型是个好主意吗?还是只使用“产品”类型的最终手表从收集?
由于类型的限制,我认为很难理解实现schema.org的好方法。而你,你对这种问题怎么看?
谢谢您的建议
发布于 2013-07-29 20:34:47
如果您想将watch描述为产品,使用schema.org/Product是一个完美的选择。我来解释。
从schema.org/Product类结构中可以看出,它不包含任何描述、销售或购买的属性。它具有评议、品牌和其他特定于产品的特性。对于描述报价/报价,它有特殊的项目--嗯,报盘类型的Schema.org/要约。相反,这种类型就是使用属性价格、acceptedPaymentMethod等来销售/购买smth。
考虑一下schema.org/Product中的示例:
<div itemscope itemtype="http://schema.org/Product">
<span itemprop="name">Kenmore White 17" Microwave</span>
<img src="kenmore-microwave-17in.jpg" alt='Kenmore 17" Microwave' />
<div itemprop="aggregateRating"
itemscope itemtype="http://schema.org/AggregateRating">
Rated <span itemprop="ratingValue">3.5</span>/5
based on <span itemprop="reviewCount">11</span> customer reviews
</div>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<span itemprop="price">$55.00</span>
<link itemprop="availability" href="http://schema.org/InStock" />In stock
</div>
Product description:
<span itemprop="description">0.7 cubic feet countertop microwave.
Has six preset cooking categories and convenience features like
Add-A-Minute and Child Lock.</span>
Customer reviews:
<div itemprop="review" itemscope itemtype="http://schema.org/Review">
<span itemprop="name">Not a happy camper</span> -
by <span itemprop="author">Ellie</span>,
<meta itemprop="datePublished" content="2011-04-01">April 1, 2011
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="worstRating" content = "1">
<span itemprop="ratingValue">1</span>/
<span itemprop="bestRating">5</span>stars
</div>
<span itemprop="description">The lamp burned out and now I have to replace
it. </span>
</div>
<div itemprop="review" itemscope itemtype="http://schema.org/Review">
<span itemprop="name">Value purchase</span> -
by <span itemprop="author">Lucas</span>,
<meta itemprop="datePublished" content="2011-03-25">March 25, 2011
<div itemprop="reviewRating" itemscope itemtype="http://schema.org/Rating">
<meta itemprop="worstRating" content = "1"/>
<span itemprop="ratingValue">4</span>/
<span itemprop="bestRating">5</span>stars
</div>
<span itemprop="description">Great microwave for the price. It is small and
fits in my apartment.</span>
</div>
...
</div>如您所见,在product中插入了所有特定于产品的属性。对于更广泛的研究,您可以检查Google标记的产品,这当然会影响到schema.org的处理方式。
关联Dataset和DataCatalog类型--它们不打算用于此类用途。相反,它们提供了描述某些数据集(例如,纽约天气数据集)的方法。有关此类型的更多详细信息,请查看:
https://stackoverflow.com/questions/17922670
复制相似问题