The Amazon.com plugin can be used by Amazon.com affiliates to search Amazon.com and convert the affiliates XML to RSS, with their affiliates IDs in the links. It works with a helper script, amazon2rss.php.Installation:
To use the Amazon.com plugin, xml-amazon.php, must be located in the "plugins" folder inside the folder containing grouper.php. This is the default location when Grouper Evolution is installed.
The helper script, amazon2rss.php, must be installed somewhere on your webserver where it is accessible by a web browser (though it won't actually be loaded directly by a web browser). Also, sha256.inc.php must be located in the same folder as amazon2rss.php.Configuration:
The most important configuration is performed by making changes to the "********* CONFIGURATION **********" section of amazon2rss.php. The necessary configuration changes should be clear from the notes appearing in that file. If you don't know your Amazon Access Key ID and Secret Access Key:
You may also make configuration changes to control which data from Amazon.com appears in the feed's description element. By default, it shows the list price, Amazon price, used price, average rating, and one review with its rating. Any or all of those pieces of data except for the Amazon price can be turned off, or the review summary may be displayed, by changing values in the array $xmlgrouperamazonconf after the Amazon plugin has been loaded.
For example, to turn off display of the used price, add this line of code to amazon2rss.php under the line that says "// if you want to turn off display of any data, add code to do that here":
The names of the available options and their default values are:
|Option name||Default value|