Re: URL Checker

2014-04-30 Thread Scott Prentice
You got me thinking about this. Here's some really basic ExtendScript code that will iterate over all markers and check the text of message URL Hypertext markers to see if they are valid files (on the local file system). This would need to be cleaned up a bit to make it useful, but definitely

Re: URL Checker

2014-04-30 Thread russ
:55 -0700 From: Scott Prentice s...@leximation.com To: john.x.pos...@us.hsbc.com, framers Subject: Re: URL Checker Message-ID: 536128ff.2060...@leximation.com Content-Type: text/plain; charset=iso-8859-1; Format=flowed You got me thinking about this. Here's some really basic ExtendScript code

RE: URL Checker

2014-04-30 Thread Rick Quatro
-Original Message- From: framers-boun...@lists.frameusers.com [mailto:framers-boun...@lists.frameusers.com] On Behalf Of r...@weststreetconsulting.com Sent: Wednesday, April 30, 2014 3:30 PM To: framers@lists.frameusers.com Subject: Re: URL Checker John and Scott (and Rick), I have a sample

Re: URL Checker

2014-04-29 Thread Scott Prentice
Hi John... Interesting. First, you'd have to define what it means for a link to be valid. Are these URLs to content on a web server? If so, does valid mean that it doesn't return a 404 error (page not found)? Or do you need to know that the page actually has the content that you expected it

RE: URL Checker

2014-04-29 Thread Rick Quatro
Hi John, I did something like this for a client with FrameScript. I used the Msxml2.ServerXMLHTTP.4.0 object built into MSXML 4.0 (Microsoft's free XML parser) to send a GET request to each URL. If I got a 200 returned, the link was OK; a 404 told me that the link was incorrect. I think I used