Closed (won't fix)
Project:
Fivestar
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Sep 2011 at 13:58 UTC
Updated:
27 Feb 2014 at 19:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedOk, so this patch should kind of work.
To test it:
Comment #2
ericduran commentedTagging, I'll review this later.
Comment #3
silkogelman commentedApplied the patch and it works exactly as Lin described.
The star info shows up in the Rich Snippets Testing Tool, really cool stuff!
Extracted rich snippet data from the page:
Item
Type: http://schema.org/product
name = Drupal Product
aggregaterating = Item( 1 )
Item 1
Type: http://schema.org/aggregaterating
ratingvalue = 5
Comment #4
Anonymous (not verified) commentedGreat, thanks for testing! If you have any suggestions for how something could work better, let me know.
Eric, if you want to give a look at the code and see if the way it works makes sense, that would be really helpful... I'm trying to make sure there aren't any DX WTFs.
Comment #5
ericduran commented@linclark You're awesome. I had to make some small changes being that it threw some exceptions but nothing major.
This is great.
I also gave you proper commit credit ;-)
This is now fixed. -- http://drupalcode.org/project/fivestar.git/commit/97a1f60
We probably need a follow up issue about getting it working with the "edit while viewing" but we'll just follow up on that some other time.
Comment #7
Michsk commentedHas this also maybe been backported to D6?
Comment #8
remkovdz commentedIs this already incorporated in the Microdata module? I'm asking because I downloaded it and follow the instructions on #1, but no result? Thanks.
Comment #9
Gastonia commentedWanted to check in about comment #5. Indeed we'd like to use 'edit while viewing.' In fact, we are following this tutorial here verbatim to allow each commenter to add a comment and rate at the same time.
http://drupal.org/node/1308114
Here is a test site that followed the above tutorial
http://food.hokkaido-select.com/node/1
If you check out the source code you'll notice that no microdata exists for the aggregated average or for the individual comment items.
Am I doing something wrong or has this just not been implmented yet? Should I open another issue?
Thanks!
Comment #10
Gastonia commentedJust like in #8, I too have followed the directions. But I can't get this to work or show up in the markup at all. Has the patch been committed or do we need to do this even now?
Comment #11
whiteph commentedSee Microdata status
Comment #12
whiteph commentedComment #13
whiteph commented