View Single Post
Old 06-03-2011, 10:02 AM   #23
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,465
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
About the rating ...

xpath something like
Code:
"//span[@class="rating_widget"]/span/@class"
or
Code:
"//span[contains(@class, "section_updateRating")]/@class"
These will return a string containing "avg-NNN section_updateRating" where NNN is the rating. For the C Programming book, the string is "avg-4h section_updateRating", where the 'h' means 1/2. For another book I see "avg-3 section_updateRating" and it shows 3 stars.
chaley is offline   Reply With Quote