Thanks Michael that works

-----Original Message-----
From: Michael T. Tangorre [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 31, 2004 4:30 PM
To: CF-Talk
Subject: RE: Cfhttp and displaying links




> From: Phillip Perry [mailto:[EMAIL PROTECTED]
> I've parsed some links from a website but the links are bad. The links are
> being parsed as <a href="../folder/file.html">blah</a> but that poses a
> problem. I need it to show the whole proper url. I know where ../ leads so
I
> can replace it but how do I display the right path? What I need to do is
get
> rid of the ../ and replace it with http://www.thesite.com/

Try adding the resolveURL attribute and setting it to "yes"

<cfhttp
        URL=http://www.someurl.com/subfolder/file.html
        method="get"
        resolveURL="yes">
</cfhttp>

HTH.


Mike




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF 
community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=35

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183026
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to