Parsing Using CFHTTP

2006-01-04 Thread Claremont, Timothy
I need to grab some content from another page using CFHTTP. How to I display all content between Start Page Content and End Page Content??? I seem to recall a quick and easy way to do this, but it escapes me. ** This email and

RE: Parsing Using CFHTTP

2006-01-04 Thread Bobby Hartsfield
, January 04, 2006 10:13 AM To: CF-Talk Subject: Parsing Using CFHTTP I need to grab some content from another page using CFHTTP. How to I display all content between Start Page Content and End Page Content??? I seem to recall a quick and easy way to do this, but it escapes me

Re: Parsing Using CFHTTP

2006-01-04 Thread Claude Schneegans
I seem to recall a quick and easy way to do this, There is one indeed: see CF_REextract here: http://www.contentbox.com/claude/customtags/REextract/testREextract.cfm It will even CFHTTP the file for you. -- ___ REUSE CODE! Use custom tags; See

Re: Parsing Using CFHTTP

2006-01-04 Thread Casey Dougall
Example CFHTTP url=http://www.thefreedictionary.com/phat; method=get /CFHTTP !---Parse the Breakup--- CFSET Start=Find('span class=hw',CFHTTP.FileContent,1) + 17 CFSET End=Find('/span',CFHTTP.FileContent,Start) CFSET Length=End-Start CFSET BreakupText=Mid(CFHTTP.FileContent,Start,Length)

Re: Parsing Using CFHTTP

2006-01-04 Thread Larry Lyons
I need to grab some content from another page using CFHTTP. How to I display all content between Start Page Content and End Page Content??? I seem to recall a quick and easy way to do this, but it escapes me. In a word, RegEx. Without going into long and boring detail you may want to