javascript

Rewrite Amazon product links using jQuery, RegEx and PHP

Over at Gamers With Jobs we wanted to rewrite any outbound Amazon product links so that they include the GWJ affiliate ID (every little bit counts when you're a community site). Deciphering Amazon's generally bloated URLs can be tricky, as can knowing what exactly is required when building a link to a product page. So, I cobbled together a couple different pieces of info into a pretty simple solution that I thought I'd share.

Jeff Beeman Sun, 11/22/2009 - 20:56
Subscribe to javascript