This is probably a really easy and dumb question. I have a page that grabs another 
page and strips most of the ads, images, and unnecessary information. Then it displays 
the bulk of the page. At the end are more ads and unnecessary junk I'd also like to 
stip off, but I'm not sure how to do that. Here is the code that I have so far that is 
just missing the stripping from a certain point (for example after a </FORM> tag, I'd 
like to strip to the end of the content). Help? Thanks!

Cathy

***************************************

<cfhttp URL="#WWURL#"
  method="get"
  resolveurl="true"></cfhttp>
  
<CFSET color = ReReplace("#cfhttp.filecontent#", "800854", "333399", "All")> <!--- 
Replace link colors and rename content --->
<CFSET links = ReReplaceNoCase("#Variables.color#", 
"http://url.domain.com/ppp97n260/";, "pp2.cfm?id=", "All")> <!--- modify all links to 
second agent page with variable --->
<cfset count = Find('</NOBR>
 <P>
<NOBR>', #Variables.links#) -1> <!--- find point in content to strip to from beginning 
of file --->

<CFSET postlist = RemoveChars("#variables.links#", 1, "#Variables.count#")> <!--- 
Remove from beginning to the above point --->

<!--- Post what's left --->
<cfoutput>
#postlist#
</cfoutput>

******************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to