Associate Engine : Revisions History : v2.11.25 | ||
Home > Associate Engine > Documentation > Revisions History > v2.11.25 |
|
CRITICAL: Blended keyword searches work again (
NEW FEATURE: Amazon.com's Apparel section is now accessible by setting the mode parameter to apparel when doing searches (i.e.: mode=apparel).
Keyword searches:
To do a keyword search of Amazon.com's Apparel section, use either of the following
Such as:
Browse nodes:
Most browse nodes in Amazon.com's Apparel section can now be displayed as results. However, browse "drill down" (i.e.: a bulleted list of sub-categories) is currently not supported, thus
Note: The XML data provided by Amazon.com for their apparel products is incomplete for some products and may not include any information other than the name of the product (e.g.: no price, no reviews, no product image). Therefore, some apparel browse nodes may not look very good in grid mode.
To display a browse node from the apparel section, use:
To determine the BROWSENUMBER, go to Amazon.com's Apparel section and clickthrough until you are at the page at amazon.com that you are interested in. Then look at the URL that your web browser is currently at. Unfortunately, some of Amazon.com's Apparel URL's are a bit more difficult to figure out than others. The following examples show actual Amazon.com URL's and how to locate the browse node number in each:
Amazon.com URL with /browse/-/:
Apparel > Arrow Shirts
http://www.amazon.com/exec/obidos/tg/browse/-/1093028/103-8472993-0981414In the above URL, the browse number appears after
/browse/-/ therefore the browse node number of this page is 1093028. So we would usemode=apparel&browsenodesearch=1093028
Amazon.com URL with node-subject:
Apparel > The Dress Shirt Group > Men > Shirts > Broadcloth
http://www.amazon.com/exec/obidos/search-handle-url/index=merchants-index&node-subject=1198256 &field-merchant-id=A2VZ790DVVI91K&dispatch=search&results-process=default/103-8472993-0981414In the above URL, the browse number appears after
node-subject= therefore the browse node number of this page is 1198256. So we would usemode=apparel&browsenodesearch=1198256
Amazon.com URL with node-brand:
Apparel > The Dress Shirt Group > Men > Shirts > Broadcloth > Geoffrey Beene
http://www.amazon.com/exec/obidos/search-handle-url/index=merchants-index&node-subject=1198256&node-brand=1096434 ,&field-merchant-id=A2VZ790DVVI91K&field-merchant-id=A2VZ790DVVI91K&results-process=default&dispatch=search/103-8472993-0981414In the above URL, the browse number appears after
node-brand= therefore the browse node number of this page is 1096434. Se we would usemode=apparel&browsenodesearch=1096434
NEW FEATURE: graphical button now appears when showing results in list format. Four new configuration variables have been added for this feature (default values in red):
Configuration Variable | Meaning | ||||||
addto.buy |
|
||||||
addto.graphics |
|
||||||
addto.newwindow |
|
||||||
addto.newwindow.target |
|
Note: The last three variables also affect the "Add to Amazon.com Wish List", "Add to Amazon.com Wedding Registry", and "Add to Amazon.com Baby Registry" buttons generated by formatting codes {details.addto.wishList}, {details.addto.weddingRegistry} and {details.addto.babyRegistry}, respectively. Graphical buttons are: , , and .
NEW FEATURE: and graphical buttons now appear when showing results in list format. A new configuration variable has been added for this feature:
Configuration Variable | Meaning | ||||||
prevNext.graphics |
|
NEW FEATURE: Results range (e.g.: "1 - 25" or "1 - 25 of 120") now appear when showing results in list format. The configuration variables related to this feature are:
Configuration Variable | Meaning | ||||||
prevNext |
|
||||||
prevNext.total |
|
NEW FEATURE: Your server's load is now checked and if the current 1-minute load is above the value specified by the maxLoad configuration variable, a "Server is too busy" error message is displayed. The default value of maxLoad is 50 (a server load of 50 is a high load); to turn off load checking set maxLoad to 0 (the number zero). The error message can be customized via the {format.maxLoad} formatting code. This check is performed only if your linux/unix server supports the kernel pseudo-file /proc/loadavg
NEW FEATURE: Any configuration variable can now be used as a template substitution variable. That is, you can now access any configuration variables (even your own user defined variables) in the template by referring to the variables as: {VARIABLENAME} or <!--VARIABLENAME-->
NEW FEATURE: New configuration variables (optional) have been added to set the associate ID's used with other Amazon associate programs:
Configuration Variable | Meaning |
amazonID.ca | www.amazon.ca associate ID |
amazonID.de | www.amazon.de associate ID |
amazonID.fr | www.amazon.fr associate ID |
amazonID.jp | www.amazon.co.jp associate ID |
amazonID.uk | www.amazon.co.uk associate ID |
If you are not signed up with any one of these programs, then leave the corresponding configuration variable unchanged in the amazon.ini configuration file (default is NONE).
NOTE: If you configure Associate Engine to use any of these other Amazon associate programs (by creating your own custom .fmt format file), we recommend that you examine the links in the results to ensure that they do in fact contain your correct associate ID's for those programs. Note: Each of Amazon's associate programs are separate from the U.S. based associate program at www.amazon.com, so if you want to use the amazon.co.uk associate program too you have to sign up with it separately.
Formatting codes related to other Amazon associate programs have been added:
Formatting Code | Meaning |
{details.url.ca} | URL for this product at www.amazon.ca |
{details.url.de} | URL for this product at www.amazon.de |
{details.url.fr} | URL for this product at www.amazon.fr |
{details.url.jp} | URL for this product at www.amazon.co.jp |
{details.url.uk} | URL for this product at www.amazon.co.uk |
If you want these URL's to include "/ref=nosim/" then set the refNoSim configuration variable to yes (default is no).
FIX: The script parameter now works for results that are very long. Previously only approximately the first 16,000 bytes of the results would be displayed (due to a web browser limitation).
FIX: Searching for random ASIN's based on an ASIN file is now supported. Create a text file containing the ASIN's and save it in the
asinsearch=mylist
Searches for one random ASIN from mylist.txt file.
asinsearch=mylist:3
Searches for 3 random ASIN's from mylist.txt file, preserving order of ASIN's. Use any number after the colon to specify how many ASIN's to use. To show all the ASIN's, use a large number (maximum is 30).
asinsearch=mylist:-3
Searches for 3 random ASIN's from mylist.txt file, scrambling the ASIN's so the order is not preserved. Use any number after the colon to specify how many ASIN's to use. To show all the ASIN's, use a large number (maximum is 30).
FIX: The optional format library (specified by the format.library configuration variable) is now loaded before the {format.list1.*} and {format.list2.*} formats are first used. Thus you can now redefine {format.list1.*} and {format.list2.*} in your format library.
FIX: The viewCart configuration variable now works properly to show "View shopping cart" link.
FIX: The imageWH configuration variable now works properly. Results are now displayed faster the first time they are accessed (assuming imageWH is set to off).
FIX: Template substitution variable {urlkeywords} now works properly. This variables equals the value of keyword parameter and any special characters (i.e.: space, +,=, ?, %, &) are translated into % ASCII representation (e.g.: %20 for space).
FIX: <!--if ...--> formatting codes are now correctly supported. Previously only
FIX: A one second pause is now used between multiple access to Amazon.com's XML Web Services as required by Amazon.com. This pause is enabled by the new xml.pause configuration variable.
IMPROVEMENT: The imageWH configuration variable is temporarily turned off if Associate Engine is being called by a search engine spider. The configuration variable imageWH.spider specifies what spiders to look for. Specifically, the configuration variable imageWH.spider specifies the search pattern to match the HTTP_USER_AGENT with. The default search pattern is
IMPROVEMENT: Added "<< Previous Results" and "More Results >>" to the bottom of results when list.style is 2 (was already working when list.style is 1). As with list.style 1, whether graphical buttons or text links are shown is based upon the prevNext.graphics configuration variable (see above).
IMPROVEMENT: The formatting engine now includes better error detection. If an error is detected in the formatting codes, an error will be reported.
E.&O.E.; © Cusimano.Com Corporation; www.c3scripts.com