Jef*_*D23 5 html5 microdata schema.org google-rich-snippets
我正在使用AggregateRating标记将结构化数据实现到应用程序中。问题是当存在0个等级时,等级值为空。使用Google结构化数据测试工具时出现以下错误。
字段ratingValue不能为空。
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
<meta itemprop="reviewCount" content="0">
<meta itemprop="ratingValue" content="">
...
</div>
Run Code Online (Sandbox Code Playgroud)
该应用使用默认的1到5评分等级。
是否存在符合Schema.org的默认值,当ratingValue
值为空时可以将其传递给它?我不想为了避免错误而按比例传递任意数字...
归档时间: |
|
查看次数: |
5127 次 |
最近记录: |