I have the same thing for chapters.ca if that is helpful (I noticed your a 
Canadian boy.

I have been meaning to build it into a control panel tool for publishing 
featured books.

e

From: Stuart Duncan <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: Amazon Tags
Date: Thu, 22 Jun 2000 10:11:35 -0700

Awesome...  thank you very much.
This is exactly what I was looking for.


Stuart Duncan.






At 01:20 AM 6/22/00 -0500, you wrote:
 ><cfparam name="attributes.book" default="???">
 ><cfparam name="attributes.affid" default="">
 >
 ><cfhttp method="get"
 >
 >url="http://www.amazon.com/exec/obidos/ASIN/#attributes.book#/icigroup/#attributes.affid#"
 >                 resolveurl="yes">
 >
 ><cfset filepath="C:\www\content\books">
 >
 ><cfset content = cfhttp.filecontent>
 >
 ><cfset startpos = FindNoCase("/exec/obidos/handle-buy-box=", Content)-50>
 ><cfset startpos = FindNoCase("<form", Content, startpos)>
 ><cfset endpos = FindNoCase("</form>", Content,startpos)+7>
 >
 ><cfset Content = Trim(Mid(Content, startpos, endpos - startpos))>
 >
 ><CFSET Content =
 >replacenocase(Content,"/g/detail/addtocart","http://www.amazon.com/g/detail/addtocart","ALL")>
 ><CFSET Content =
 >replacenocase(Content,"/g/gift-services/buttons/addtoWL","http://www.amazon.com/g/gift-services/buttons/addtoWL","ALL")>
 >
 ><CFFILE ACTION="Write"
 >     FILE="#filepath#\#attributes.book#.html"
 >     OUTPUT="#content#">
 >
 >
 >From: Stuart Duncan <[EMAIL PROTECTED]>
 >Reply-To: [EMAIL PROTECTED]
 >To: [EMAIL PROTECTED]
 >Subject: Amazon Tags
 >Date: Wed, 21 Jun 2000 10:27:13 -0700
 >
 >Hey all,
 >
 >I've come across a few interesting tags for searching through Amazon's
 >books and such....
 >but what I really need is something which allows me to actually select
 >individual books and display those on the site.
 >
 >I was thinking, something where I could just enter the product id form
 >Amazon, and the tag would go and fetch all the information from them on
 >that book.
 >
 >Has anyone come up with an easy way to do this, or do you know of any
 >custom tags that does this?
 >Any help on this would be greatly appreciated.
 >
 >Stuart Duncan.
 >
 >------------------------------------------------------------------------------
 >Archives: http://www.eGroups.com/list/cf-talk
 >To Unsubscribe visit
 >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
 >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 >the body.
 >
 >________________________________________________________________________
 >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
 >
 >------------------------------------------------------------------------------
 >Archives: http://www.eGroups.com/list/cf-talk
 >To Unsubscribe visit
 >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
 >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
 >the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
the body.

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to