Extension talk:AmazonPartnerLink/Archive 1

Changing for other Amazon sites.
This code is set up for the German Amazon site. For Amazon in other markets, the code must be modified, which is not too difficult to do.

What would be really interesting for international wikis would be to modify this code still more so that, based on the language selected by the reader (in preferences), the proper international Amazon site could be selected automatically. Of course, the wiki master would need to make associate arrangements with each of these sites )

Amazon has sites in France, Germany, Canada, Japan, England, and the U.S.

--C4duser 20:01, 20 September 2008 (UTC)

Working for me - My two cents
I modified the searchlink code to my liking: # If the 1st Word was an ISBN and there was no title set if($src[1] != "") { $output = "$src[1]"; }        # If the 1st Word was an ISBN and there was a title set http://www.amazon.com/dp/$tmpisbn/?tag=$partner else { $output = "ISBN: $src[0]"; }	}    # If the 1st Word was not an ISBN, we use a Searchlink else { $output = "$input  "; }

This I can create links to the US Amazon while keeping whatever text I enclose in. I also changed the color of Amazon links so readers can differentiate between internal links and amazon links and added a title reminding users to "support my web and buy it in Amazon.com". I also added the external link icon so it's more clear that you're leaving if you clik on it. Hope it helps. --Mark 03:54, 21 November 2009 (UTC)

dont waste your time
it does not work on 1.18+
 * And you did not try Project:Support desk first?Jasper Deng (talk) 03:34, 25 March 2012 (UTC)