« 返回到 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'.

0 附件
28778 查看
平均 (0 票)
满分为 5,平均得分为 0.0。
评论
讨论主题回复 作者 日期
I'd like to try this services. From what I... MohdFaizul Sulaiman 2011年1月20日 下午6: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?
在 11-1-20 下午6:58 发帖。