Ahh I see - cheers Russell... Ok in the page controls we stick our own Spectra Button, This pops a new window with the Page name passed as a URL parameter >ReplaceList(request.cfa.sitemodel.PAGENAMEKEY,"&","and")
We then have an array cntaining all pages that need to be flattened, Where the URL to crawl is (the cfm page) and place where the page is to be put (htm page) The script does a http get on the cfm page, then removes whitespace ect. It then REPLACES all CFM links that are flattened to point at HTM files, it does this by looping over each Href in the CFM page and looking to see if it is in the flatten array, If it is then it removes the CFM link and replaces it wil the HTM link. The page is then written to the disk as an HTM page Steve -----Original Message----- From: Russell Brown [mailto:[EMAIL PROTECTED]] Sent: 20 February 2002 13:38 To: Spectra-Talk Subject: RE: Clustered ColdFusion Servers for Spectra I think the question is about flattening spectra pages down to flat htm to relieve load on Spectra boxes, is that right ? -------------------------------------------- Freeserve Production: Turning Ideas Into Reality Russell Brown Internet Application Developer Freeserve.com Plc, PO Box 452, Leeds LS2 7EY Never pay another Internet phone bill! Freeserve AnyTime, for all the Internet access you want, day and night, only 12.99 per month. Sign-up at http://www.freeserve.com/time/anytime -----Original Message----- From: Steven Harper [mailto:[EMAIL PROTECTED]] Sent: 20 February 2002 13:36 To: Spectra-Talk Subject: RE: Clustered ColdFusion Servers for Spectra Already discussed below are the main issues, Keeping files on shared drive Handling tags that rely on server variables being up to date Making sure DB and Security are shared throughout the cluster But if need any help just ask Steve -----Original Message----- From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED]] Sent: 20 February 2002 12:40 To: Spectra-Talk Subject: Re: Clustered ColdFusion Servers for Spectra Would you care to share your methods and experiences in doing this? I'd love to be able to do this, people are always bitching at me about site performance... Pete ----- Original Message ----- From: "Steven Harper" <[EMAIL PROTECTED]> To: "Spectra-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 20, 2002 4:46 AM Subject: RE: Clustered ColdFusion Servers for Spectra > >So what do you do if the url param isn't provided? Not display anything or > >maybe redirect to another member server? > > Our Spectra system is only used by an editorial team to produce Flat pages, > our site gets millions of hits an hour, therefore we don't serve Spectra > pages where we can get away with it, > We have a CF powered system for flattening pages on a schedule or on demand, > this work very well as when Spectra keels over, we still have a site.... It > also allows our growing editorial team to take advantage of clusted spectra > system. > ______________________________________________________________________ Macromedia ColdFusion 5 Training from the Source Step by Step ColdFusion http://www.amazon.com/exec/obidos/ASIN/0201758474/houseoffusion ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
