I think you want cfhttp then get the text out 
http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm

you'll get the html tags too, however, which it doesnt sound like you want

<cfhttp url="http://www.mypage.com"; ... >
<cfsavecontent variable="intro">
#cfhttp.text#
</cfsavecontent>
<cfoutput>#intro#</cfoutput>

And you could really do away with the cfsavecontent at that point too

<cfhttp url="http://www.mypage.com"; ... >
<cfoutput>#cfhttp.text#</cfoutput>

You'll need to catch errors and such but I think thats what you are after.

Cheers

On 4/25/05, Robert Orlini <[EMAIL PROTECTED]> wrote:
> IS there a way to save the content of a web page using cfsavecontent?
> 
> Here's my script:
> 
> <cfsavecontent variable="intro">
> 
> <CFLocation url="http://www.mypage.com";>
> 
> </cfsavecontent>
> 
> <cfoutput>#intro#</cfoutput>
> 
> Would I be able to search #intro# for certain text? Or is there a better way? 
> Sorry but this is new to me.
> 
> Robert O.
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:204285
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