Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Site View Tab

Status
Not open for further replies.

JulieM

Programmer
Jun 6, 2001
25
0
0
GB
Has anyone managed to print the contents of the Site View (not print screen) or ouputed the contents to Word etc for the contents of a CF page. Or has anyone written anything to trap this information for output to CF Page or Word etc.
 
Hi,

If I get this correct you wish to capture the code as viewed in the page source.

If so, you can use the following:

Code:
<cfhttp url=&quot;[URL unfurl="true"]http://www.someurl.com/somepage.html&quot;[/URL] method=&quot;GET&quot; resolveurl=&quot;false&quot;>
<cfoutput>#HTMLCodeFormat(cfhttp.filecontent)#</cfoutput>

Gtz,

Kristof -------------------
Check out my new site:

Any suggestions are more than welcome.
There's a LOT of work to do, so judge fairly. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top