This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Microformats: Google Rich Snippets
#21

combined code is OK

lp, stariocek
Reply
#22

Maybe these admin panel settings:

Rich Snippets, please choose one of next 3 available formats:

Microdata
Microformats
RDFa

Choose whether to combine with Schema.org mark-up:

Yes
No

Have you completed the interview?
Reply
#23

Microdata

Code:
<div itemscope='itemscope' itemtype='http://data-vocabulary.org/Review-aggregate'>
<span itemprop='itemreviewed'>The item being reviewed</span>
<span itemprop='rating' itemscope='itemscope' itemtype='http://data-vocabulary.org/Rating'>
<span itemprop='average'>4</span>
<span itemprop='best'>5</span>
</span>
<span itemprop='votes'>24</span>
</div>

Microformats

Code:
<div class='hreview-aggregate'>
<span class='item'>
<span class='fn'>The item being reviewed</span>
</span>
<span class='rating'>
<span class='average'>4</span>
<span class='best'>5</span>
</span>
<span class='votes'>24</span>
</div>

RDFa

Code:
<div xmlns:v='http://rdf.data-vocabulary.org/#' typeof='v:Review-aggregate'>
<span property='v:itemreviewed'>The item being reviewed</span>
<span rel='v:rating'>
<span typeof='v:Rating'>
<span property='v:average'>4</span>
<span property='v:best'>5</span>
</span>
</span>
<span property='v:votes'>24</span>
</div>

Microdata (and Schema.org)

Code:
<div itemscope='itemscope' itemtype='http://data-vocabulary.org/Review-aggregate'>
<div itemprop='aggregateRating' itemscope='itemscope' itemtype='http://schema.org/AggregateRating'>
<span itemprop='itemreviewed'>The item being reviewed</span>
<span itemprop='rating' itemscope='itemscope' itemtype='http://data-vocabulary.org/Rating'>
<span itemprop='average ratingValue'>4</span>
<span itemprop='best bestRating'>5</span>
</span>
<span itemprop='votes ratingCount'>24</span>
</div>
</div>

Microformats (and Schema.org)

Code:
<div class='hreview-aggregate'>
<div itemprop='aggregateRating' itemscope='itemscope' itemtype='http://schema.org/AggregateRating'>
<span class='item'>
<span class='fn' itemprop='itemreviewed'>The item being reviewed</span>
</span>
<span class='rating'>
<span class='average' itemprop='ratingValue'>4</span>
<span class='best' itemprop='bestRating'>5</span>
</span>
<span class='votes' itemprop='ratingCount'>24</span>
</div>
</div>

RDFa (and Schema.org)

Code:
<div xmlns:v='http://rdf.data-vocabulary.org/#' typeof='v:Review-aggregate'>
<div itemprop='aggregateRating' itemscope='itemscope' itemtype='http://schema.org/AggregateRating'>
<span property='v:itemreviewed' itemprop='itemreviewed'>The item being reviewed</span>
<span rel='v:rating'>
<span typeof='v:Rating'>
<span property='v:average' itemprop='ratingValue'>4</span>
<span property='v:best' itemprop='bestRating'>5</span>
</span>
</span>
<span property='v:votes' itemprop='ratingCount'>24</span>
</div>
</div>

Have you completed the interview?
Reply
#24

Yes, like this.

Uf, six possibilities - complicated. I don't see any benefit from combination "Schema + another markup" on Commentics enabled page.

I'm using vanilla Microformats from Commentics and Schema for everything else on comments page. Snd this combination is working great. Stars are always shining on The big ones SERPs for comments pages.

I'm using combination of markups only for "Separate average star rating feed" on pages, showing to comments page. That pages don't have rating of their own.
Reply
#25

Okay, so only offer Microdata, Microformats, RDFa or Schema.org. But no combinations. So it would be:

Rich Snippets, please choose one of next 4 available formats:

Microdata
Microformats
RDFa
Schema.org

Have you completed the interview?
Reply
#26

QL

lp, stariocek
Reply
#27

Schema.org: 'bestRating' can be in <meta /> tag, no need to show it:

<meta content='5' itemprop='bestRating' />

But it is shown with other formats, so: no need to complicate.
Reply
#28

I want to show the rating as 4/5 (24) because I think it's a bit clearer to the end-user.

Also, I'm going to have a setting where the user can choose to mark-up their own itemreviewed like they do now. This will allow them to mark-up their photo if they have one, with itemprop="photo". I think the Rich Snippets that have photos are far better in terms of clickthrough rate (CTR).

So the admin panel setting might be like this:

Let Commentics mark-up the item
I will mark-up my own item (Advanced)

Have you completed the interview?
Reply
#29

Very good. Is it going to be:
- image
- ImageObject
- Photo?

I'm asking because it is a bit tricky ... ImageObject and Photo are members of MediaObject/CreativeWork. And more than just URL is needed ... can become complicated.

On the other side is simple Image with two parameters inside <img /> tag - itemprop="image" and content="http://...". Image is universal, it fits into every Schema type. Might it be better choice than complicated MediaObject/CreativeWork .... ?
Reply
#30

I enabled Rich Snippets for the Project page on 19th June and 7 days later:

http://lmgtfy.com/?q=commentics+project

Have you completed the interview?
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by philips300
19-May-2024, 11:49 AM
Last Post by Methyus
03-Oct-2016, 01:40 PM
Last Post by Steven
25-Mar-2015, 07:06 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)