You could pull all http, mailto, ftp links that are submitted, submit them
to a table then run a scheduled task to

1. (4.X) use cfx_http to get the response header that is returned.
2. (4.5) use cfhttp to "get" the "CFHTTP.StatusCode"

Beware- both techniques have returned errors on certain urls, which stops
template from processing any more urls.  The cfhttp tag has a timeout option
but doesn't always seem to catch server problems.

I have a beta cfx tag that is written in java that seems to by-pass some of
the above problems.

If interested in experimenting with the tag, email me off-list and I'll send
it to you.

Jeff Sarsoun
[EMAIL PROTECTED]


-----Original Message-----
From: John B Venable Jr [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 08, 2001 11:00 PM
To: CF-Talk
Subject: CFHTTP Link Checker?


Is there any way to check for the validity of HTML links by using Cold
Fusion. If so, any resources to explain how would be of great help.

TIA.

--
John B. Venable Jr.

....it took men about five thousand years, counting from the beginning of
number symbols, to think of a symbol for nothing.
--Isaac Asimov


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to