Amazon XSL Explorer V100

How To Modify This Stylesheet

Line: XSL Script and Edit suggestions

  1. <!--User Defined Variables-->
  2. <xsl:variable name="title" select="'Amazon Explorer'"/>
    Edit for your page title
     
  3. <xsl:variable name="bookmarktitle" select="'Support This Site By Using This Bookmark To Make Purchases At Amazon.com.'"/>
    Edit the mouseover text for the Amazon.com bookmark
     
  4. <!--Border Color-->
  5. <xsl:variable name="c1" select="'#336699'"/>
    Edit Border Color - hex value or color name
     
  6. <!--Page Color-->
  7. <xsl:variable name="c2" select="'white'"/>
    Edit Page Color - hex value or color name
     
  8. <!--Text Color-->
  9. <xsl:variable name="c3" select="'black'"/>
    Edit Text Color - hex value or color name
     
  10. <!--Margin-->
  11. <xsl:variable name="c4" select="'black'"/>
    Edit Page Margin Color - hex value or color name
     
  12. <!--Buy Box Color-->
  13. <xsl:variable name="c5" select="'#99ccff'"/>
    Edit Buy Box Background Color - hex value or color name
     
  14. <xsl:variable name="developer-tag" select="'D33U9QUBB1LUSJ'"/>
    Edit your AWS developer's tag - if you don't have one then either apply for one at Amazon Webservices or use mine
     
  15. <xsl:variable name="associate-id" select="'celticstones'"/>
    Edit your Amazon Associate ID
     
  16. <xsl:variable name="canada" select="'celticstones'"/>
    Edit your Amazon Canada Associate ID or if wish not to have an account then invent one
     
  17. <xsl:variable name="uk" select="'celticstone-21'"/>
    Edit your Amazon UK Associate ID or if wish not to have an account then invent one
     
  18. <xsl:variable name="france" select="'celticstones'"/>
    Edit your Amazon France Associate ID or if wish not to have an account then invent one
     
  19. <xsl:variable name="japan" select="'celticstones'"/>
    Edit your Amazon Japan Associate ID or if wish not to have an account then invent one
     
  20. <xsl:variable name="germany" select="'celticstones'"/>
    Edit your Amazon Germany Associate ID or if wish not to have an account then invent one
     
  21. <xsl:variable name="image-url" select="'http://celtic-one-design.com/images/amz_images/'"/>
    Edit the url for the location of images used by the stylesheet to point to your server/host - please do not hotlink to my images - copy them to your server/host
     
  22. <xsl:variable name="target" select="'_blank'"/>
    Target window for any links to Amazon
     
  23. <xsl:variable name="AWSversion" select="'http://xml-na.amznxslt.com/onca/xml3?'"/>
    Only modify this if AWS releases a new version
     
  24. <!--SmartSearch JS CODE (Remove) -->
  25. <xsl:variable name="smartsearch-js-url" select="'http://celtic-one-design.com/js/smartsearch2.js'"/>
    Edit the url for the location of the Amazon Smartsearch Javascript used by the stylesheet to point to your server/host - please do not hotlink to my scripts - copy them to your server/host - to disable remove this line and lines 60/61
     
  1. <!--SmartSearch JS CODE (Remove) -->
  2. <script language="JavaScript" src="{$smartsearch-js-url}"></script>
    Remove this if you do not want Amazon SmartSearch capabilities
     
  3.  
  4. </head>
  5. <body bgproperties="fixed" background="http://celtic-one-design.com/images/rock.jpg" bgcolor="{$c4}" topmargin="10" leftmargin="10" text="{$c3}" style="font-family:verdana,arial,helvetica,sans-serif;">
    Either change the background image to what you want or delete the  background and bgproperties HTML tag parameters
     
  1. <!--XSLT Tracking Code = (Remove) -->
  2. <script language="JavaScript" src="http://celtic-one-design.com/js/tracker.js"></script>
    Remove this - it is used to track my personal XSLT calls
     

The Amazon SmartSearch Javascript

  1. loc=document.location.href
  2. if (loc.indexOf("celticone") == -1 && document.referrer != "") top.location.replace("http://celtic-one-design.com")
    Remove both lines - it is used to prevent hotlinking of my scripts
  3.  
  4.  
  5.  
  6.  
  7.  
  8. var template_url = 'http://celtic-one-design.com/amazon-services/asin-to-html-100.xsl'
    CHANGE URL to point to the stylesheet that will process the requests.
     
  9. var developer_tag = 'D33U9QUBB1LUSJ'
    Edit your AWS developer's tag - if you don't have one then either apply for one at Amazon Webservices or use mine
     
  10. var associate_id = 'celticstones'
    Edit your Amazon Associate ID
     

Images you will need to upload to your host/server