RE: [Mtamazon] inconsistent results

"Adam Kalsey" <adam-AwwqhEA/[email protected]> Wed, 2 Jun 2004 10:36:14 -0700
Newsgroups gmane.comp.web.mtamazon.user
Message-ID <[email protected]>
>  MTAmazon works for two of the references, but not for The 
> Pope's Rhino.  Is this a problem with the ASIN, maybe? I've 
> checked it three times.

Your source code contains the Amazon data from The Pope's Rhino, so the
fault does not lie with MTAmazon. What's happening is that this book title
contains an apostrophe, represented by Amazon as a single quote. Your
Javascript uses single quotes to delineate strings, so you end up with an
unescaped quote causing JavaScript errors:

		CAPTION, 'The Pope's Rhinoceros: A Novel',

Either change your string quoting to use double quotes for titles or add
MT's JavaScript string encoding global attributes on the MTAmazon tags.

   ........................................................................
   Adam Kalsey                      916.600.2497
   Internet consultant             adam-AwwqhEA/[email protected]
   Kalsey Consulting Group       http://www.kalsey.com/   
   aim: KalseyGroup                icq: 137208951
   ........................................................................

I-Blog - Blogs in business     http://marketingwonk.com/lists/iblog/1413/
BlogSnob - Promote your blog            http://blogsnob.simpleads.net/
Zempt - Simple Movable Type publishing     http://zempt.com/



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
You received this email because you have subscribed to Mtamazon-users.

To subscribe, unsubscribe, or change your subscription options, please visit
https://lists.sourceforge.net/lists/listinfo/mtamazon-users