View Single Post
Old 06-03-2011, 11:02 AM   #23
chaley
"chaley", not "charley"
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: 5,927
Karma: 1673776
Join Date: Jan 2010
Location: France
Device: Many android devices
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