Last Amazon Review (WordPress Plugin)
This plugin retrieves your latest Amazon review by scanning the Amazon RSS feed and allows you to preview it on your blog. You can see a quick preview in the image to the left, or live in action in the bottom right corner of this page. This plugin also comes with ready to use Hemingway Block/K2 Module and widget support for themes which allow the use of widgets.
Features
- Retrieves latest review from Amazon.com
- Support for Amazon Associate IDs
- Customizable rating images
- Administration panel
- Widgetized - drag and drop installation. (learn more about widgets)
- K2 Module provided (k2 WP theme)
- Hemingway Block provided (Hemingway WP theme)
Installation
- Download and extract the plugin.
- Upload last-amazon-review.php to your plugins directory (wp-content/plugins/) or (wp-content/plugins/widgets) if you use a widget capable theme.
- Enable the plugin in WordPress.
- Under "Options" go to "Amazon Review" tab and follow the instructions to configure the plugin.
Using the plugin
- Upload the rating images to a directory somewhere on your web-site and change the plugin settings to point to that directory. Two different sets of rating images are provided with the plugin along with a sample .psd file if you wish to customize yours. You can upload your own, just use the same naming convention (stars-x-x.gif). Important: Make sure you keep the trailing slash when specifying the directory for the plugin options.
- Add the CSS code from amazon.css to your current stylesheet or upload the amazon.css stylesheet itself and include it in your templates.
- Adding the review module:
Hemingway users:
- A working block is provided for you (hemingway/amazon-review-block.php).
- Drop it in your blocks directory (hemingway/blocks/) and add it from your hemingway configuration menu.
K2 Users (no Widget plugin):
- A working module is provided for you (k2/modules/amazon-review-module.php).
- Drop it in your modules directory (k2/modules/) and add it from your sidebar configuration menu.
Widgetized themes:
- Make sure you have completed step #2 correctly from installation instructions - last-amazon-review.php should be located under wp-content/plugins/widgets
- Add 'Amazon Review' widget from your WordPress widget configuration menu.
Advanced and Customization
If you wish to customize the look or the way the data is presented you can do so by calling lastAmazonReview(); from any of your templates. The function will return an array of items which include in the following order:
[0] -> URL of cover image [1] -> Book title [2] -> Book author [3] -> Rating image filename (0 to 5) [4] -> Date on which reviewed [5] -> Review title [6] -> Book ASIN [7] -> Direct book link [8] -> Review page link
For a full working example take a look at the provided hemingway block, and if you have any questions... Feel free to ask!
Version 1.1.2 Released (Aug 30, '06) - Fixed regular expressions (Amazon changed layout).
Version 2.0.2 Released (Dec 25, '07) - Fixed date processing.
About this entry
- Published:
- 21.08.06 / 1pm
Related Posts
- 22.08 Last Amazon Review - Released
- 20.02 Projects
- 11.01 Mistakes are Lessons in Disguise
- 28.09 Managing EC2 Reservations with Ruby
- 09.01 Reader’s Digest

















Entries RSS
43 Comments
comments rss | trackback uri