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
, 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
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
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)
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
5 matches
Mail list logo