ASP Developing for Academic and Business Processes

By ServerWatch Staff (Send Email)
Posted Jan 25, 1999


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.

An Example of Input Text. Utilizing ASP in Systems Development Case: Develop a Research Library Website from Scanned Input

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/adovbs.inc" -->
<% 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...

Page 1 of 8

Comment and Contribute

Your name/nickname

Your email

(Maximum characters: 1200). You have characters left.



Thanks for your registration, follow us on our social networks to keep up-to-date