Version 1.0.0 documentation (Monday, 2nd June, 2003)
What is ASPValidate?
How does it work?
Requirements
Installation instructions
Usage
Current limitations
ChiliSoft ASP package
Contacting the author
Planned modifications
Credits
Copyright
Version history
ASPValidate has turned out to be quite a useful tool for myself. Quite often, I'll complete a customers site and hand over the source and all the web server information. Which is fine. Until about a year later they ring you up asking for a change to be made to the site. You have no idea if anything has changed on the pages since your last visit. Like any self respecting web developer, you always keep a copy of the customers sites locally, maybe on CD-ROM. Sometimes downloading the entire web site is time consuming and bandwidth wasting. Enter ASPValidate. When you complete your work the first time, run ASPValidate on the site and it'll give you an XML file with all the ASP/HTML file details. Save this somewhere safe. Then, when they come back with more work, run the XML file against their current site files and it will tell you which files have been changed!
ASPValidate recurses through your web servers heirarchy of folders and files. It grabs the last modified date and the file size and generates an XML file for you to download. You store this XML file somewhere safe until you come back later to change things on your site. Then you re-run ASPValidate, give it the XML file you saved before, and it compares the details with the information on the web server. If anything has changed, it lists the changes.
You will require a web server which supports ASP, with version 5.0 or higher of Microsofts VBScript library. NOTE: This class will NOT work on ChiliSoft's ASP package. Generating the XML really requires IE 5 and higher to generate, but it should work in other browsers with no problems. Please see notes.
Copy the aspvalidate.asp file to some place on your web server where you can run it.
To use this script, run the page. It really is that simple. Then read the on screen instructions.
Currently, this script only processes HTML and ASP files.
Please note that the ChiliSoft ASP package does not support VBScript classes, and will not run this script correctly .
Chris Read can be contacted using the following e-mail address:
Chris Read is a lead software engineer for a well respected web development company in Australia. He has several years experience in ASP, but has a greater experience (15+ years) in other areas such as medical imaging, operating systems, communications, DSP, data warehousing and also consults companies on their IT needs. He may not be able to answer your questions immediately, but he does care and will help you out if you need assistance (providing you've read the documentation fully!)
If you're looking for someone to hire to do your web work, drop me a line, my rates are reasonable and my services are always professional.
The primary location of this source and documentation is at the following address:
http://users.bigpond.net.au/mrjolly/
Have fun! I'm always looking for suggestions to improve stuff, tell me what's right, and tell me what's wrong!
Changes that will take place eventually:
ASPValidate Copyright (c) 2002, Chris Read. All rights
reserved.
Redistribution and use in source form, with or
without modification, are permitted provided that the following
conditions are met:
-
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
-
All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by Chris Read.
-
The name of the author(s) may not be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANT ABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.