Results 1 to 3 of 3
  1. #1
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 17th, 2005
    David - one of those questions you must tire of ...

    I just changed my main amazon site to show product details locally by setting asinsearch.format to "details".

    It works fine - product details displayed within my page layout - but I'm not sure why!

    Looking at details.html in amazon-format, I can see the parts of that file that are controlling the product detail display - and if I edit this file, it is reflected in my product detail display. But the (details.html) file is actually a complete html page with head and body tags etc, even some explanatory text at the top.

    What happens to all the other html in details.html? How is it decided how much/little of it is included?

    ... or do I completely misunderstand what's happening?

    Are you Crazy?

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Toronto, Canada
    Open the details.html file in your HTML editor (or a text editor such as Notepad) and you'll see that various portions of the HTML have matching open/close format tags such as:

    ...some HTML to show the products details...

    This defines the format.cell formatting code to be whatever text/HTML is between the open/close format tags. The open/close format tags are really just HTML comments.

    Any thing in details.html that is not between a pair of matching open/close format tags is ignored.

    The details.html file also contains definitions for some other formatting codes used to format the results:

    <!--format.header--> ... <!--/format.header-->
    <!--format.footer--> ... <!--/format.footer-->
    <!--format.moreInfo--> ... <!--/format.moreInfo-->
    <!--format.noResults--> ... <!--/format.noResults-->

    For additional information, see Format Templates.

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  3. #3
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 17th, 2005
    Gotcha - all the other html that was confusing me is just to let it be viewed in a browser for study etc. Only stuff in the format tags is processed by the script - to replace the results tag in my page template.


    Sorry to drag you away from (what I guess is) final debugging of "AE"

    Are you Crazy?

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. URL formats
    By 2busy in forum ShareASale - SAS
    Replies: 0
    Last Post: April 24th, 2007, 11:29 AM
  2. Report Formats and Other Questions.
    By isellstuff in forum Google Affiliate Network - GAN
    Replies: 2
    Last Post: March 30th, 2007, 07:56 PM
  3. A question about source formats
    By FourthWorld in forum WebMerge (
    Replies: 9
    Last Post: December 15th, 2004, 05:50 AM
  4. Video Formats for website
    By northernstudio in forum Midnight Cafe'
    Replies: 3
    Last Post: November 6th, 2004, 08:01 AM
  5. grids and formats
    By AlphaPlayers in forum Scripts
    Replies: 1
    Last Post: April 15th, 2003, 02:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts