« Retour - Portlets

Amazon Rankings Portlet

Setup#

Amazon Web Services#

Before using Amazon Rankings Portlet, you must setup your Amazon Web Services key.

In portal.properties, here's the location to add your Amazon license key:

 ##
 ## Amazon License Keys
 ##
    #
    # Enter a list of valid Amazon license keys. Configure additional keys by
    # incrementing the last number. The keys are used following a Round-Robin
    # algorithm. This is made available only for personal use. Please see the
    # Amazons license at http://www.amazon.com for more information.
    #
    #amazon.license.0=
    #amazon.license.1=
    #amazon.license.2=
    #amazon.license.3=

Place the above inside portal-ext.properties.

You can get an Amazon License Key here: https://aws-portal.amazon.com/gp/aws/developer/registration/index.html/

Configuration#

You can specify which items to display by click on the configuration tab on the upper right corner of the portlet.

Separate your ISBN numbers with a space.

Troubleshooting#

1. If you load Amazon Rankings Portlet, you might get a message that looks similar to:

 ERROR [WebCachePool:68] 0066620996 java.util.NoSuchElementException

Check if you've setup your Amazon Web Services key correctly in portal-ext.properties.

Check to see if the ISBN you input actually exists.

2. As of Liferay 4.2.1, Amazon Rankings Portlet currently ranks books only. The configuration will only take ISBN numbers in the 10-digit format.

3. If your Amazon Web Services key is not setup properly in Liferay, it will also affect the Shopping Portlet when you try to 'Add Books'.

Moyenne (0 Voter)
L'estimation moyenne est de 0.0 étoiles sur 5.
Commentaires
Réponses Auteur Données
I'd like to try this services. From what I... MohdFaizul Sulaiman 20 janvier 2011 18:58

I'd like to try this services. From what I know, the license I free to register. But, is it free to use the Amazon Web Services?
Publié le 20/01/11 18:58.