ASP 101 - Active Server Pages 101 - Web01
The Place ASP Developers Go!

Please visit our partners

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates

ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

 Top ASP 101 Stories Top ASP 101 Stories
VBScript Classes: Part 1 of N
Migrating to ASP.NET
Getting Scripts to Run on a Schedule

Cache commonly used values in application variables
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates

ASP Developing for Academic and Business Processes
Utilizing ASP in Systems Development
Case: Develop a Research Library Website from Scanned Input

An Example of Input Text.
This ASP solution to a common problem will demonstrate the relative ease of developing a working system this way. The problem is to take archived academic publications, scan and OCR them, edit the scanned data into text files as the first electronic data form.

This is processed by ASP to create text files, database tables and html files for online viewing. There are many ways of dealing with historic data, but most require indexing which translates the the written page numbers into hyperlinks, hopefully some keywords for searching, some way to tell if all the records were processed, validation of the data to the appropriate level, and creation of the html.

Converting Text Into Delimited Lists.

First step is hand editing the scanned data, removing scan errors and preparing the data for automation by inserting separation characters when needed. The data originates in original academic publications, out of print, and printed in small serif type so is the hardest to OCR anyway, in this case the printing quality was also bad. Whatever, after editing there are several types of files, general index, author index, article, bibliography. These are the basic files inputted to the ASP process.

Starting the flow...

<%@ language='vbscript' %>
<!-- # include virtual="/asp/" -->
<% server.scripttimeout = 240 %>
<% buffers = true %>

This begins the server process in VBScript, sets the timeout because this takes about two minutes to run, includes the standard VBScript ADO related variable name file and sets the buffers to true so the page is parsed completely before the client gets a response. Since I don't output anything to the client they see a blank screen when it finishes. Instead a file is created with totals after the content files are created. There are a bunch of variables, declared next...


Previous versions of VBScript are CaseSensitive, this is written for the latest version.
Development Test System: Windows98, PentiumII 200MHz 128Mb
Personal Web Server 4.0 (IIS4), SQL7b3, Personal Oracle, Sybase

Author: T.Mallard, Seattle, WA
Copyright 1999 Thomas Mallard, USA


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers