WordPress plugin intelligence profile

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.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 2.7
Current version1.2.0
WordPress coverageTested up to WordPress 2.7
Minimum stackWP 2.2 · PHP —
Directory statusactive
Last directory update26 Mar 200917y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Amazon Search version 1.2.0 as active, updated 17y ago and tested up to WordPress 2.7.

Overview

About this plugin

This plugin allows you to link directly to items in your

posts using a special tag of the form:

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

The plugin lets you set associate IDs for each international amazon server and set one server

as the default for your site.

It also includes an Amazon Search widget which will search any of the amazon servers

and produce search results with direct links to products.

It also provides an XSLT file for the amazon server to access, which processes it together with the XML results of

the search, and then returns HTML. This saves your server from having to process the XML itself.

It uses css to format the search widget and the search results. It will look in its css dir for theme-specific css files

css. This way you may

customize search results for a given theme by dropping in a new css file. So if you allow your users to switch themes, you can include

a css file for each one and the search will look correct when it is switched.

Version History

-

0 [23 March 2009]

  • [fix] fixes for potential installation problems on WordPress 2.7
  • [new] add buttons to the TinyMCE and QuickTag editors to make the Amazon markup easier [code from Stephanie Leary – thanks Stephanie!]
  • [new] new editor buttons are optional [They are on by default but may be turned off in the preferences.]
  • [new] made the search part of the plugin optional [If you just want to use the text links, search may be completely disabled in the preferences.]
  • [other] code reorganization and cleanup

-

3 [20 July 2008]

  • [fix] fix dumbness introduced in 1.1.2

-

2 [20 July 2008]

  • [new] code refactoring of the ipNation stuff for some future work
  • [new] check if the ip2Nation database is installed when displaying options on the admin page

-

1 [23 May 2008]

  • [fix] fix for PHP 4.x
  • [fix] better integration with Silver Light theme

-

0 [26 Apr 2008]

  • [new] added ability to specify a text link in posts by using a special tag: [amazon asin=0123456789]link text[/amazon]
  • [new] new text links will use ip2Nation database to do simple geo-location

-

2 [02 Apr 2008]

  • [fix] fix default XSL path

-

1 [22 Mar 2008]

  • [new] add CSS for Silver Light theme
  • [fix] fix incorrect paths due to last-minute name change

-

0 [08 Jan 2008]

  • initial version

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. 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:

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

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’!

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • amazon associate
  • amazon links
  • amazon shortcode
  • books
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 2.7

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 2.7.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to2.7
Minimum requirementsWordPress 2.2 · PHP not listed
Update activity26 Mar 200917y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.