Automatically adding Amazon affiliate codes
January 11, 2012 2:27 PM Subscribe
Is there a straightforward way to transform Amazon links to add an affiliate code?
posted by fightorflight to Computers & Internet (4 answers total) 7 users marked this as a favorite
I understand that Metafilter rewrites Amazon links to add Matt's affiliate codes, and I'd like to do the same for a site I run. Is there a straightforward way of doing it? It would be good to accept and identify any of Amazon's multiple formats.
(Bonus for catching and stripping out existing affiliate IDs).