Posts: 20
Threads: 5
Joined: Jan 2011
I wonder if is possible to integrate the commentics stars rating system with Google Rich Snippets Microformats to appear in search results.
Thank you.
Posts: 2,904
Threads: 59
Joined: Jun 2010
This is totally new to me so I need a bit of time to learn about
Rich Snippets first. I assume that the
Review markup would be the appropriate type of snippet? Do you want the star ratings to be displayed in an
aggregate way, as opposed to
individual , so that it gives an overall view of the ratings?
Have
you completed
the interview ?
Posts: 20
Threads: 5
Joined: Jan 2011
Exactly. I am interested in the score can change dynamically.
Posts: 2,904
Threads: 59
Joined: Jun 2010
Have
you completed
the interview ?
Posts: 20
Threads: 5
Joined: Jan 2011
Wow..!!! You're amazing. Fantastic.
Thanks, Steven.
Posts: 2,904
Threads: 59
Joined: Jun 2010
I'm glad it worked. Hopefully others will also find it useful.
Have
you completed
the interview ?
Posts: 116
Threads: 14
Joined: Aug 2011
Modified
'commentics_1.6/comments/includes/functions/comments.php'
to show also 'hreview' (not 'aggregate', the single ones) Google 'Rich Snippets' (Microformats markup).
-----------------------------------------------------
Google test tool shows something like this for every comment:
hreview
item fn = Šotori, bungalovi, senčnice, paviljoni, zastave, stojnice - zastopstvo in prodaja.
reviewer hcard
fn = stariocek
rating
value (normalized to 5.0 scale) = 5.0
value = 5
description = komentarji delajo! lp, admin
Attached Files
Thumbnail(s)
Posts: 116
Threads: 14
Joined: Aug 2011
Second version of comments.php, now without hidden text for comment - better for SEO.
Attached Files
Posts: 116
Threads: 14
Joined: Aug 2011
(06-Aug-2011, 11:04 AM) stariocek Wrote: Second version of comments.php, now without hidden text for comment - better for SEO.
Third version of comments.php, Rich Snippets completely incorporated into initial code. Without ugly tricks for testing purposes.
Attached Files
Posts: 9
Threads: 2
Joined: Dec 2011
Tried to upload your comments.php and it breaks the page.