我的网站上有星级评级,我正在尝试使用微格式。我阅读了 Google 的文档,他们举了一个例子:
<span class="review hreview-aggregate">
Note globale : <span class="rating">4,4</span> basée sur <span class="count">89
</span> avis
对不起法语单词。 现在,如果我在网站上显示的不是数字而是星星,我该怎么办? 谢谢
最佳答案
如上所述:
the "type" doesn't matter for hreview-aggregate, as long as they are integers
规范说:
fixed point integer [1.0-5.0], with optional alternate worst (default:1.0) and/or best (default:5.0), also fixed point integers, and explicit average.
Optionally a different integral "worst" value and/or "best" value may be specified to indicate a different range (e.g. 6 from 0-10).
引用资料
关于image - 星级和微格式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15147958/