=================================================================== WP-Amazon plugin for Wordpress 1.5+ Version 1.3.2 2005.09.29 Author: Rich Manalang http://manalang.com/archives/2004/06/23/wordpress-plugin-wp-amazon/ Copyright (C) 2005 Rich Manalang This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA =================================================================== Version History --------------- 1.3.2 - Reverted to using a hyperlink below the post textarea to launch WP-Amazon... too many people complained about it not working when a WYSIWYG plugin was enabled. 1.3.1 - Amazon changed their XML format which prevented WP-Amazon from displaying images returned from results. Thanks go to Nick Walton (http://www.nickwalton.com/) for finding and reporting the problem. 1.3 - Added plugin options page so users can update the default country, associate ID, and subscription ID without modifying the plugin source. - Added a "check for update" feature that allows users to easily see if their plugin is up-to-date. - Dropped support for 1.2.x 1.2.8 - Changed the Amazon Link on the edit page to be a button in the Quicktags region. Allows for WP-Amazon to work with the Tiger Style Administration plugin. 1.2.7 - Added some inline CSS to hide the admin header 1.2.6 - Added Added Michiel Maandag's enhancements (http://wordpress.org/support/topic/32412) 1.2.5 - Fixed code that checks if curl is installed. By default, curl is preferred, but if your host doesn't have it installed, it downgrades to using fopen. 1.2.4 - Added support for WordPress 1.5. Still supports 1.2.x. - Relocated wp-amazon.php to the plugins directory. 1.2.3 - Added support for Amazon ECS 4.0 France and Canada 1.2.2 - Added check to see if magic quotes is turned on or off. This was causing a JavaScript problem with servers that had magic quotes turned off. 1.2.1 - Replaced htmlentities to htmlspecialchars to support special characters in Japanese and German 1.2 - Upgraded to Amazon E-Commerce Service 4.0 - Removed dependency on NuSOAP and moved to using standard PHP XML support - Added ability to change the Amazon country site to search form 1.1 - Cleanup 1.0 - David Schlosnagle's blended search has been included (thanks David!) 0.92 - Removed target="_blank" and properly encodes entities to preserve XHTML compliance. 0.91 - Reworked search features. Removed search by and replaced with product line search field. All searches are now by product. - Added support for Amazon UK, Amazon Germany, and Amazon Japan. Needs to be thoroughly tested still. 0.9 - Initial release About ----- WP-Amazon adds the ability to search and include items from Amazon.com to your WordPress post entries. This plugin adds a link called "Insert content from Amazon" on the post, page, and comment edit pages. This button launches a search window which allows an author to search for items from Amazon.com to be included on the author's post entry. Features -------- * Uses Amazon E-Commerce Service 4.0 * Supports the following countries: - United States - Great Britain - Germany - Japan - France - Canada * Support for Amazon Associates IDs. For more information about the Amazon Associates Program, visit this site: http://www.amazon.com/gp/browse.html/104-9918661-1983944?node=3435371. To change the default Amazon Associates ID, change the Associates ID option under Options > Amazon. * Allows search by keyword in the following product search indices: Search Index Name US UK DE JP FR CA ================================================ Apparel X Baby X Beauty X Blended X X X X X X Books X X X X X X Classical X X X X X X DigitalMusic X DVD X X X X X X Electronics X X X X ForeignBooks X X X X GourmetFood X HealthPersonalCare X X X HomeGarden X X Jewelry X Kitchen X X X X Magazines X X Miscellaneous X Music X X X X X X MusicalInstruments X MusicTracks X X X X X OfficeProducts X OutdoorLiving X X X PCHardware X X Photo X X Restaurants X Software X X X X X X SoftwareVideoGames X X X X SportingGoods X Tools X X Toys X X X VHS X X X X X X Video X X X X X VideoGames X X X X X Wireless X WirelessAccessories X * Results display a thumbnail image of the product and the product name. * Allows author to add generated HTML to a post. * Supports the following HTML formats for display: - Link to item with product name - Link to item with small size product image - Link to item with medium size product image - Link to item with large size product image * Supports search across all Amazon product search indices * Supports searching across multiple Amazon country sites Installation ------------ * Copy the following files to the appropriate locations: /wp-content/plugins/ | +- wp-amazon-plugin.php +- wp-amazon.php * Go to the WordPress plugins admin panel then activate the WP-Amazon plugin. * The post edit page should now have a button called "Amazon" in the Quicktags region Upgrade from prior to WP-Amazon 1.2 ----------------------------------- * Deactivate the plugin * Remove the following files from your server: /wp-content/plugins/ | +- wp-amazon-plugin.php /wp-admin/ | +- /wp-amazon/ | | | +- AmazonSearch.php | +- nusoap.php | +- wp-amazon.php * Follow the installation instructions above Configuration ------------- There's really no configuration needed after installation. If you have an Amazon Associates Program account and would like to use it, go to Options > Amazon to add your Associate ID. Questions/Suggestions/Bugs -------------------------- Please go to http://manalang.com/archives/2004/06/23/wordpress-plugin-wp-amazon/