WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Amazon Search

Lets you add links to Amazon using a special markup. Also includes an optional widget to search Amazon and display results in your blog.

Configuring The Plugin

In the Admin section, under Settings -> Amazon Search you may configure the following:

Associate IDs

In this section, fill in any associate IDs you have. You may also select one of the servers to be the default for your users. If you live in France, you might choose the amazon.fr server, for example. Any IDs left blank will be filled in with mine.

Development Contribution

Ah, here's the hook! I've set it up so that every 'N' searches [or page displays if you are using the text links], the links which are produced use my associate IDs. You can choose a value for 'N' here. No need to go hacking if you don't want to support development - just set it to 0 and it won't ever substitute my associate IDs.

Text Links

If Use Text Links is on, the plugin will process your posts looking for a special markup and convert them to links.

To add a text link to an Amazon product, simply use the following format:

[amazon ASIN=0743279794]Fancy Title[/amazon]

ISBN may be used in place of ASIN - they are effectively the same thing. It is a case-insensitive match, so 'asin' is the same as 'ASIN'.

This tag will be converted to a link of the form:

<a href="http://www.amazon.com/dp/0743279794/?tag=yourTag-20">Fancy Title</a>

If you have Use ip2Nation checked and the ip2Nation database is installed, it may be used to locate the best Amazon site for the visitor. Any country not handled specially will use your default Amazon server. If you have the Development Contribution set in your prefs, a page load will count as a 'search'.

NOTE: The handling of which Amazon site is best per country is incomplete at best. I would appreciate any feedback or additions/corrections to the list [which is found in the getAmazonServerFromIP() function in amz-search.php].

Add Editor Buttons allows you to turn off the additional buttons in the editors which provide a quick way to enter an amazon link.

Searching

Use Searching allows you to turn off the search capability completely in case you just want to use the text links.

Default Category is the one that will be used when the user searches from the widget. When they get the results, they will be able to change the category on the search page.

Default Search Term is what is used if the user doesn't enter a search term. Right now it defaults to 'WordPress'. You will probably want to change it to something appropriate to your site.

You may specify an XSLT file that will be sent to the amazon servers for processing. This file must be publicly accessible because the amazon servers will be reading it to provide formatting. If you don't know what this means, you better leave it alone. The XSLT file may be edited if you want to customise the results produced by the search. I am certainly not an XSLT expert, so if you have any suggestions, please contact me.

You may also set the size of the images that are to be returned in the search or 'None' to turn them off. Watch out if you set this to 'Large'!

Requires: 2.2 or higher
Compatible up to: 2.7.1
Last Updated: 2009-3-26
Downloads: 5,085

Ratings

2 stars
2.4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.