A
A
Archakov Dennis2017-09-16 14:29:47
Google
Archakov Dennis, 2017-09-16 14:29:47

Schema markup: How to set up a 5-star rating for an article?

Recently did a little SEO optimization for my blog. I wanted the search engines to display the rating of the article. However, my blog is self-written and the rating of the article is like. There is no maximum score.
76f3acbd7e094750acbad524bfc34d08.png
All the rules, Google displays a rating. But, if it exceeds more than 5, then the rating is not displayed.
95c44a1103054d5289cf826dd1019159.png
In the second article - 32 likes.
I have never before saw such ratings for SEO. How to make the rating match microdata? If there are 32 likes, then everything was calculated according to a 5-point rating.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2017-09-16
@archakov06

1. who told you that this is for seo? This increases the number of clicks, but does not affect the position of the site. It's more marketing, or rather consumer psychology, than seo optimization.
2. Since the blog is self-written, who bothers to add the calculation logic in five-star terms. I don’t know why you decided that 32 - 5. But let’s say, then, a simple proportion:
32 is 5
likes of the article, this is x
x = likes of the article *
5/32 added dislikes and counted in % ratio, while dividing % by 20 we get a 5 point scale.
3. But in fact, micro-markup can calculate everything by itself (more precisely, the markup itself describes the data for calculating the rating in any format, and the calculation of stars is already done by the search engine in this case), you just need to specify the maximum value:

<div id="block_rating" itemprop="aggregateRating" itemscope="" itemtype="http://schema.org/AggregateRating">
<meta itemprop="bestRating" content="10">
<meta itemprop="ratingValue" content="8.8">
<a href="/film/447301/votes/" class="continue rating_link rating_ball_green">
<span class="rating_ball">8.789</span>
<span class="ratingCount" itemprop="ratingCount">285 091</span>
</div>

an example from here, there is also a read on the topic: site-on.net/optimization/10-semantic-markup
documentation:
schema.org/AggregateRating

A
Alexey Skleinov, 2017-09-17
@lexskal

if self-written - through Ajax, make the rating with asterisks, add a couple of fields to the database and that's it ... you can display both on the site later and in the markup

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question