Hi, > Got an error when proxyport is blank
I assumed that if cfhhtp was passed blank arguments it would ignore them. We are sitting behind a proxy here so that was something I did not test. Sorry! After added parameter validation please find checkLinkObjects (r1.4) attached. cheers David -----Original Message----- From: Silvio Resch [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 1:33 AM To: FarCry Developers Subject: [farcry-dev] Re: Code :: checkLinkObjects - Creates link object report (custom dmC ron object) Nice Tool . Got an error when proxyport is blank so I've set it manually. Also very useful would be an similar report which extracts links from dmHTML object bodies and checks if valid and accessible through cfhttp it it is an http link. I would try to extend your scpipt in this way. As long as nobody else done so before. Silvio Whiterod, David (DTUP) wrote: >Hi, > >I have just put the finishing touches on checkLinkObjects (r1.3 attached); >it's a custom dmCron object that creates (then emails) a report of all link >object in a site. > >I have found it quit useful so far to spot when users try to set website >links to use the email display method! > >The (HTML) email formatting is based on the core's Stats. Overview Report. > >The checking for HTML links is done via <cfhttp> method=head". Email links >are checked for valid structure only and not for their existence. > >The URL parameters are: > >emailTo - REQUIRED emailaddress (comma-separated list) for report >addressing >httpTimeout - OPTIONAL timeout for check link check (in seconds; default: >10) >ProxyServer - OPTIONAL used for the cfhttp call (default: blank) >ProxyPort - OPTIONAL used for the cfhttp call (default: blank) >proxyUser - OPTIONAL used for the cfhttp call (default: blank) >proxyPassword - OPTIONAL used for the cfhttp call (default: blank) > >So far I have experienced some false errors with links involving redirection >(giving off 502 Bad Gateway errors). > >The email report offers links (by each object) to its edit overview page. >Unfortunately this loads outside of the admin frameset. Does anyone know of >a way to target the edit frameset with an object's id? I have seen the >rootobjectid parameter however this seems to need the parent navigation id >rather than the dmlink object's id. > >Cheers > >David > >****************************************************************** >* * >* ,-_|\ David Whiterod, Senior GIS Analyst * >* / \ Spatial Planning Analysis and Research Branch * >* \_,-*_/ Department of Transport and Urban Planning * >* v Adelaide, South Australia * >* * >* p> +61 8 8303 0689 f> +61 8 8303 0716 m> 0413 844 411 * >* <http://www.planning.sa.gov.au> * >* [EMAIL PROTECTED] * >* * >****************************************************************** > >The information contained in this e-mail message may be confidential and may >also be the subject of privileged or public interest immunity. If you are >not the intended recipient, any use, disclosure or reproduction of this >document is unauthorised. If you have received this e-mail in error, please >contact me. > > > >------------------------------------------------------------------------ > >--- >You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] >To unsubscribe send a blank email to [EMAIL PROTECTED] > > > >------------------------------------------------------------------------ > >Aussie Macromedia Developers: http://lists.daemon.com.au/ > > --- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
checkLinkObjects.cfm
Description: Binary data
--- You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
