Schema.org 用于比较需要帐户的网站排名
Schema.org for ranking of compared web sites for which an account is needed
我有一个网站提供其他需要会员才能访问的网站的排名(基于评论)(例如,需要每月会员的在线工具)。
我有 2 个与此相关的问题:
我应该使用 Product
还是 WebSite
实体?目前我选择 Product
因为它有 price
属性等等。
如何描述我的网站排名?我正在寻找一种有序的产品列表(或网站,如果我必须更改它)。
使用 offers
property, you can directly offer the WebSite
(or WebApplication
,这可能更适合您的情况)。不需要 Product
.
对于排名,您有几种选择:
同review
property you can specify a Review
, which can have the reviewRating
property to specify a Rating
。这允许您提供特定分数(例如,以“1.27”、“1.28”、“2.04”……的形式)。
如果排名是所有评论的平均评分,您可以使用aggregateRating
property to specify an AggregateRating
.
加上一个ItemList
you could specify for each entry a ListItem
with the position
property。这允许您(隐含地)提供排名(即以“1”、“2”、“3”、...的形式)。
您也可以同时使用这两种方式(Rating
/AggregateRating
和 ItemList
)。
确保在正确的项目上应用 review
/aggregateRating
:如果您对优惠进行排名,则在 Offer
上应用,如果您是,则在 WebApplication
上应用对应用程序进行排名。
我有一个网站提供其他需要会员才能访问的网站的排名(基于评论)(例如,需要每月会员的在线工具)。
我有 2 个与此相关的问题:
我应该使用
Product
还是WebSite
实体?目前我选择Product
因为它有price
属性等等。如何描述我的网站排名?我正在寻找一种有序的产品列表(或网站,如果我必须更改它)。
使用 offers
property, you can directly offer the WebSite
(or WebApplication
,这可能更适合您的情况)。不需要 Product
.
对于排名,您有几种选择:
同
review
property you can specify aReview
, which can have thereviewRating
property to specify aRating
。这允许您提供特定分数(例如,以“1.27”、“1.28”、“2.04”……的形式)。如果排名是所有评论的平均评分,您可以使用
aggregateRating
property to specify anAggregateRating
.加上一个
ItemList
you could specify for each entry aListItem
with theposition
property。这允许您(隐含地)提供排名(即以“1”、“2”、“3”、...的形式)。
您也可以同时使用这两种方式(Rating
/AggregateRating
和 ItemList
)。
确保在正确的项目上应用 review
/aggregateRating
:如果您对优惠进行排名,则在 Offer
上应用,如果您是,则在 WebApplication
上应用对应用程序进行排名。