Goodreads Developers discussion

43 views
questions > book/show: difference between ratings_count and work/ratings_count?

Comments Showing 1-3 of 3 (3 new)    post a comment »
dateUp arrow    newest »

message 1: by Shawn (new)

Shawn | 23 comments I'm curious what's the difference between these:





And:



333



1. First why are they different numbers? Is one the total number of reviews across all versions (hardback, paperback, different covers, etc.?) and the other is for that exact edition?

2. Why is one CDATA and the other has embedded type info (the integer attribute)?

Which # is used in the average rating calculation?

Thanks


message 2: by Michael (new)

Michael Economy (michaeleconomy) 1) yes
2) not sure, i can make them consistent i suppose.


Which # is used in the average rating calculation?
the work ratings are used more frequently.


message 3: by Shawn (new)

Shawn | 23 comments Thanks Michael, trying to figure out which one to display in my app (I promise it'll be out soon so all my annoying questions will actually have a purpose :))

If you're in there making formats match there are a few other fields that are sometimes CDATA other times attributed that I've noticed.


back to top