ATAmazon
Category: Commerce, Miscellaneous
—
Other products by this author
Experimental releases
Upcoming and alpha/beta/candidate releases
- Alpha releases should only be used for testing and development.
- Beta releases and Release Candidates are normally released for production testing, but should not be used on mission-critical sites.
- Always install on a separate test server first, and make sure you have proper backups before installing.
Project Description
- Project resources
ATAmazon requires pyAmazon, the Amazon web services library.
You will also need an Amazon Web Services developer key and an Amazon associate id. Be sure to set these values in the amazon_tool in the ZMI.
Adding here/portlet_amazon/macros/portlet to left_slots or right_slots will give you a portlet that lists relevant books. Adding here/cache_amazon_portlet will add a RAMCache cached version of the portlet.
The books that appear in the portlet are obtained as follows:
- First, published Amazon Items in the current_folder/[Amazon item folder ID]/ are listed, sorted by average rating and Amazon sales rank.
- Next, published Amazon Items in the current_folder are listed, again sorted by average rating and Amazon sales rank.
- Next, other published Amazon Items anywhere below current_folder are listed, again sorted by average rating and Amazon sales rank.
- Finally, published Amazon Items anywhere in the portal are listed, sorted by average rating and Amazon sales rank.
The portal will show a total of 5 books; the number can be altered by modifying the properties in amazon_tool in the ZMI.
NOTE: ATAMAZON 0.2 IS NOT BACKWARD COMPATIBLE WITH ATAMAZON 0.1. YOU WILL HAVE TO DELETE AND RE-ADD ANY AMAZON ITEMS YOU HAVE ON YOUR SITE.