Nate,

You are not doing anything wrong.  The results of the cfhttp call is
good.

The data that is brought back has relative links instead of absolute or
fully qualified links in the href. 

You can do a find and replace on the results that come back.

Like so...

Replace(cfhttp.FileContent, "href=",
"href=http://www.servingschools.com/html/";, "ALL")

This worked for me.

Chuck Weidler
Lockheed Martin Information Technology

-----Original Message-----
From: Nate Barnes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 20, 2008 4:06 PM
To: CF-Newbie
Subject: cfhttp and links

I am using CFHTTP to bring in job listings.  The code I am using is:

<cfhttp 
   method="GET"
 
url="http://www.servingschools.com/html/job_results.php3?districtsearch=
Falmouth"
   resolveurl="Yes"
    >

When I click on the links on the website it opens them within my site so
it starts with http://www.falmouthschools.org/supt/ rather than
http://www.servingschools.com/

Any ideas what I am doing wrong would be appreciated?

Thanks,

Nate Barnes
Falmouth School District 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:3654
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to