Sounds like you might be able to use CFHTTP and save the output to disk.
Then run your validater on the local static file.

It would more less work that same as viewing the source, saving it and then
checking it against your validation routine.

HTH,

Joseph DeVore
VeloxWeb Technologies




-----Original Message-----
From: Gyrus [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 12, 2002 11:41 AM
To: CF-Talk
Subject: variable to reference HTML generated so far by CF Server?


Is there a way of referencing all the HTML generated so
far in a request by CF Server (5)?

I'm fed up of saving out from View Source in order to
validate pages (via the W3C validator) on a locally hosted
intranet. I thought I could put an OnRequestEnd.cfm in
an app, and at the end of every request it writes the
HTML that's just about to be sent to the client to a
temporary file (same each time, e.g. 'validate.html').

Then all I need to do is view the page, go to the W3C
validator page and upload the same page each time.

How could I access the generated HTML before it gets
sent?

- Gyrus

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
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

Reply via email to