Free-Webmaster-Tools.com is a collection of tools for your web development needs and insightfull articles and tips.
Webmaster Picks

Site Navigation

Home
Weekly Articles/Tips
Webmaster Directory
Product Reviews
Webmaster Forums
geek/Gallery
Site Map
Recommend This Site
• On-Site Tools
Link Popularity Check
Meta Tag Generator
Pop Up Maker Tool
Flash Navbar Generator
Flash TopBar Generator
DHTML Menu Generator
NameSpin to find Domain Names
Find Expired Domains
Learn Unix Commands
SE Position Analyzer
WhoIs Lookup
Color Code Generator
Graphic Navigation Bar Generator
Drop Down Menu
Generator
Google Dance Tool
Free Graphics
Search

Popular Searches:
Free CGI Scripts

Free Web Templates
• Webmaster Forum

Advanced Search
Last 25 Threads
Hosting
Building/Maintenance
Making Money
Promotion
geek/Marketplace
Best Threads
• News
Tech
Security
Search Engine
Web Development

Books

Flash
Dreamweaver
Photoshop
Php
Unix
Linux
Site Usability
Software

Bestsellers
Dreamweaver
Fireworks
Flash
Photoshop

Top of Page

Affiliate Programs - Amazon Product Feed Banner Script
By Steve Shubitz

[an error occurred while processing this directive]

Above this copy is my implemtation of this valuable Amazon Product Feed banner script for those of you who are members of their affiliate program. Refresh this page to view the rotation.

This free script called APF Banner is available here. Your domain must have SSI enabled to use this script. A simple one line edit of your .htaccess file should solve this problem for .html pages. The code:

AddHandler server-parsed .html .htm .shtml

The author provides several examples for you to experiment with here. You only need to set a single variable inside this script, which is your Amazon Associate ID. Mine is set up to display Bestsellers > Software > Business & Office. My code inside this page is:

<!--#include virtual="/cgi-bin/amazon_apf_banner-fwt.cgi?input_mode=software&input_id=229535" -->


Iv'e also experimented with numerous other compliant URLs which all work with the Amazon XML product feed.

Tips

1. My modifactions to the HTML section of the script produces a smaller table, smaller type, removal of the price, and both links open in a new window. The code:

<SCRIPT>function noImageCheck(objImg) { if (objImg.width == 1) { objImg.src = "http://g-images.amazon.com/images/G/01/books/icons/books-no-image.gif"; } } </SCRIPT>
<TABLE Bgcolor="#F1F1F1" Border="1" Width="275"><TR><TD>
<TABLE Border="0" Cellpadding="0" Cellspacing="0" Width="100%">
<TR>
<TD Align="left"><A Href="$result_link" target=\"_blank\"><IMG Border="0" Src="$ImageUrlSmall" onLoad="noImageCheck(this);"></A></TD>
<TD Align="center"><FONT Size="1"><B><A Href="$result_link" target=\"_blank\">$ProductName</A></B></FONT><BR>
<FONT Size="1">Amazon.com Top Picks</FONT></TD>
</TR></TABLE>
</TD></TR></TABLE>

2. Whenever possible, I like to give all my scripts a custom name. This helps me find a particular script via FTP and in some cases provides an additional branding opportunity.

3. If you use this script, please send this talented coder with the funny name of MrRat a donation.

This article is ©2003 by Free-Webmaster-Tools.com/Published Perfection. All rights reserved. Reproduction in any form is prohibited. Print this article.

Return to Webmaster Tips and Articles Index

Top Of Page | Advertise | Link Exchange - Add Your Site | Link To Us | Contact Us
Site Map
| Support A Charity | Privacy | Terms & Conditions | About Us
© 2000-2007 by iOnline Pty Ltd. All rights reserved.
Please visit our geek/talk Forums For Publishers & Merchants.
A proud member of CAUCE (The Coalition Against Unsolicited Commercial Email).

Our ZERO TOLERANCE Spam Policy

Top of Page. Free-Webmaster-Tools.com is a collection of tools for your web development needs and insightfull articles and tips.