Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > Modifying all U...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 3313 of 3314
Post > Topic >>

Modifying all URLs in a string

by Allan Drake <supercool@[EMAIL PROTECTED] > May 8, 2008 at 07:09 AM

I am modifying URLs for amazon products in a string along with other
html data in a real basic script. I can't find the right way to do it.

An Example URL:
http://www.amazon.com/exec/obidos/ASIN/B0013EF17O/ref=br_nf_0_4?pf_rd_p=369756201&pf_rd_s=center-11&pf_rd_t=101&pf_rd_i=496994&pf_rd_m=ATVPDKIKX0DER&pf_rd_r=0N5NC0HECYSPF2G37FPK


After  "/ASIN/B0013EF17O/" I want to insert my standard amazon
affiliate code    so it would be like....

/ASIN/B0013EF170/**myaffiliatecodehere***/   <---> chop off the rest
of the URL


So I am basically, searching, inserting my code in the right spot, and
then chopping off part of the URL. I need to do this for every link in
my string.




 5 Posts in Topic:
Modifying all URLs in a string
Allan Drake <supercool  2008-05-08 07:09:52 
Re: Modifying all URLs in a string
Allan Drake <supercool  2008-05-08 07:12:27 
Re: Modifying all URLs in a string
"Auric__" <n  2008-05-08 16:18:25 
Re: Modifying all URLs in a string
John <jmrukkers@[EMAIL  2008-05-09 06:46:19 
Re: Modifying all URLs in a string
Allan Drake <supercool  2008-05-12 14:43:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 2:32:07 CDT 2008.