Hi all,
I have a looped CFHTTP that outputs content of URLs one after another as follows;
<cfloop query="getPages">
<CFHTTP method="Get" url=" resolveurl="yes">
<cfoutput>#CFHTTP.FileContent#</cfoutput>
<br class="pagebreak">
</cfloop>
Now some of the pages output by this CFHTTP contain URLs on their own(and these URLs are not pulled from database). I like to CFHTTP these URLs as well to output their content as well. So I guess I need to code
1. that sees whether a page contains some URLs.
2. if it does, put them in an array, a loop and use second CFHTTP to output them one by one.
3. combine the second CFHTTP with the first CFHTTP that I already have.
Do you have better idea to achieve this or coding idea to for these three steps?
Thanks much.
-CFJewel.
I have a looped CFHTTP that outputs content of URLs one after another as follows;
<cfloop query="getPages">
<CFHTTP method="Get" url=" resolveurl="yes">
<cfoutput>#CFHTTP.FileContent#</cfoutput>
<br class="pagebreak">
</cfloop>
Now some of the pages output by this CFHTTP contain URLs on their own(and these URLs are not pulled from database). I like to CFHTTP these URLs as well to output their content as well. So I guess I need to code
1. that sees whether a page contains some URLs.
2. if it does, put them in an array, a loop and use second CFHTTP to output them one by one.
3. combine the second CFHTTP with the first CFHTTP that I already have.
Do you have better idea to achieve this or coding idea to for these three steps?
Thanks much.
-CFJewel.