if you had pages call themselves you would be stuck in a loop. it would be possible to drop the content of a page using output and CFFILE, but I would suggest using CFHTTP to call and save the pages....like so,
<cfhttp url="http://www.some.com/myFile.cfm" method="GET" name="fileName.html" path="C:\Inetpub\wwwroot\saveFilesHere" resolveurl="false"></cfhttp> ============================================ Greg Jordan Macromedia Certified ColdFusion Developer Web Project Manager [EMAIL PROTECTED] Unified Health Services 51 Germantown Court Cordova, TN 38018 PH - (901) 843-2667 x261 FAX - (901) 843-2672 -----Original Message----- From: Ben Whalley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 10:34 AM To: CF-Talk Subject: creating a static copy of a site Ok, I have been trying to think of ways to create a static copy of a site for Verity to index properly. At the moment it is built from loads of includes etc so if you point verity at it just makes a mess. What I want to do is include something at the bottom of every page which essentially calls itself and writes a copy to a directory which verity indexes. At the top of the copy it would also include <cflocation url="realurl"> so that when the user hits a link in a search results page they go straight to the real copy. Obviously you'd have to keep track of which one's had been hit and whether to re-save it or not. Would it be possible to drop the content of a page into the output of a cffile? How would I avoid the problem of the page going into a loop? Thanks in advance, Ben ---------------------------------------------------------- Ben Whalley, Radley Yeldar 326 City Road, London, EC1V 2SP ---------------------------------------------------------- 0207 7130038 [EMAIL PROTECTED] www.ry.com ---------------------------------------------------------- ----------------------------------------------------------------------- * This message has been processed by MailGuard SMTP from NET-TEL * Computer Systems Ltd. See <http://www.mailguard.co.uk>. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

