views:

76

answers:

0

I hope everyone is doing well. I'm having an issue on my girlfriend's Blog (www.lawsandlanguages.com). Basically, she suscribed to the Amazon Affiliate Program and they gave her this poorly written code she's supposed to put in her header section so Amazon can keep a track of referrals and purchases coming from her blog. This code is generating an awful lot of errors on the W3C markup Validator: over 40 at first, 19 now that I fixed the ampersands (yes, this is the level of "poorness" I was talking about: scary, right? Even for someone like me who knows very little about coding). Here's the code:

`<SCRIPT charset="utf-8" type="text/javascript" src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&amp;amp;MarketPlace=US&amp;amp;ID=V20070822/US/lawandlang-20/8005/fa34f89b-d1ab-4910-b35c-502f7f11a6d9 </SCRIPT>

`

I was wondering if there's a way to wrap this call up somehow in a more practical and elegant way. I know this is not a very complicated or serious issue, but like I mentioned earlier, I am not a programmer and could really use some help figuring this out.

Thanks!