Mobile app version of vmapp.org
Login or Join
Angela700

: Rich Snippets for "Total Likes" instead of a Rating I'm just starting to learn more about rich snippets and I saw that they support aggregate ratings. But on my blog, users cannot rate articles;

@Angela700

Posted in: #Like #RichSnippets #SchemaOrg #Seo

I'm just starting to learn more about rich snippets and I saw that they support aggregate ratings. But on my blog, users cannot rate articles; they can only "like" them (like on Facebook). Some of the articles have hundreds of likes and I think being able to see that data from a SERP would give users more motivation to read those articles (much like seeing an article that had, say, 4 or 5 stars out of 5).

I haven't been able to find any information on doing this using rich snippets, so I'm thinking either it's not supported or I'm not looking in the right place.

Do rich snippets support "total likes" instead of a rating?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Angela700

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ogunnowo487

The vocabulary Schema.org doesn’t offer a property for this purpose.

Schema.org defines the type LikeAction, but this is for representing the action that something has liked (or can like) something. (The type UserLikes is deprecated, but wouldn’t help anyway.)

You could represent with Schema.org that your article is the object of multiple LikeAction items (one for each like), but that would be a lot of additional markup/data for articles with many likes.

Example in Microdata:

<!-- user 23 liked article 42 -->
<div itemscope itemtype="http://schema.org/LikeAction">
<link itemprop="agent" href="http://example.com/users/23" />
<link itemprop="object" href="http://example.com/articles/42" />
<link itemprop="actionStatus" href="http://schema.org/CompletedActionStatus" />
</div>

<!-- user 12 liked article 42 -->
<div itemscope itemtype="http://schema.org/LikeAction">
<link itemprop="agent" href="http://example.com/users/12" />
<link itemprop="object" href="http://example.com/articles/42" />
<link itemprop="actionStatus" href="http://schema.org/CompletedActionStatus" />
</div>

<!-- user 5 liked article 42 -->
<div itemscope itemtype="http://schema.org/LikeAction">
<link itemprop="agent" href="http://example.com/users/5" />
<link itemprop="object" href="http://example.com/articles/42" />
<link itemprop="actionStatus" href="http://schema.org/CompletedActionStatus" />
</div>


(You could also add the datetime of the like. If only the count matters, you could omit agent and actionStatus.)

But anyway, Google Search doesn’t offer a Rich Snippet that would show the likes count.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme