[ Team LiB ] |
Hack 32 Sort Books by Average Customer RatingUse customer ratings as a guide to which books you should be looking at. Average customer ratings are one of those aggregate features where it's not the voice of a single Amazon user giving advice, but rather it's the collective advice of everyone who has written a review. Each review includes a 1-5 star rating, and the average review reflects the group opinion of a book. 32.1 Sorting Search ResultsYou can sort any search results by choosing Avg. Customer Review from the "Sort by:" drop-down menu on any results page (see Figure 3-3). Make the selection and click Go! to reorder the results. Figure 3-3. Sorting by Average Customer ReviewIf you're performing power searches via a URL [Hack #9], you can sort by review with the rank variable set to reviewrank: http://www.amazon.com/exec/obidos/search-handle-url/[RETURN] ix=books&fqp=power%01publisher%3AO%27Reilly%20and%20keywords%3AHacks[RETURN] &sz=100&rank=reviewrank If you have a specific set of books that you'd like to sort by review rank, you can use a power search and include each ASIN: http://www.amazon.com/exec/obidos/search-handle-url/ix=books&fqp=[RETURN]
power%01isbn%3A0596004478%7C0596004605%7C0596004613&sz=10&rank=reviewrank
This query looks for the products 0596004478, 0596004605, and 0596004613 and sorts the results by average customer rating.
32.2 Sorting Web Services QueriesWeb Services XML/HTTP queries Section 6.6 use the same method with the sort variable in the URL. http://xml.amazon.com/onca/xml2?t=insert affiliate tag &dev-t=insert dev [RETURN]
token &type=heavy&f=xml&mode=books&KeywordSearch=Hacks&sort=+reviewrank
|
[ Team LiB ] |