Extension:Amazon-Linker

Inspiration
Inspiration for this extension was the ISBN feature that MediaWiki has. I wanted to use it to monetize my Wiki so I made a hack to the parser.php

While this worked it became a pain to maintain as I had to rehack the parser.php file every time I upgraded my wiki.

So I made this extension.

Please leave me feedback on my talk page User_talk:Hapa

Enjoy.

What can this extension do?
This extension provides an easy way to insert Amazon.com product links into your wiki pages making it simple to monetize your wikis

See It In Action
You can see this in action on my wiki http://www.opentutorial.com/Make_fire_text_using_photoshop#Amazon.27s_Related_Products Consumer Electronics

Usage
Where "B001EUBSL0" can be any Amazon.com product number

This will automatically lookup the ASIN using Amazon Web Services (AWS) and return the following to your wiki page:

ASIN B001EUBSL0 Adobe Photoshop CS4

The link generated will include your own Amazon.com Associates ID number allowing you to get credit if a user purchases the product for your earnings, or any other product on Amazon.com

Customizable Templates
The extension also provides for customizable output via a rudimentary templating system. Allowing for greater flexibility.

The templates can pull the following variables from Amazon.
 * %alink%
 * This is the link to the product which includes your associates tag.
 * %ASIN%
 * This is Amazon.com's unique product number for the item.
 * %name%
 * The name of the product.
 * %Manufacturer%
 * The manufacturer of the product
 * %Price%
 * Amazon's current price for the item.

Download instructions
Get the code from Google Code Here

Installation
Unzip the contents of the zip file to a directory titled "Amazon-Linker" in your extenstions directory

Read the readme.txt file contained in the zip file for instructions on how to install this extension

Configuration parameters
Read the readme.txt file

Amazon.com Infoboxes
If you would like to have the Amazon.com infoboxes like the ones seen on http://www.opentutorial.com/Make_fire_text_using_photoshop#Amazon.27s_Related_Products

Place the following code at the end of your skin php file just before the tag:

 