The University of Illinois Open Archives Initiative Metadata Harvesting Project


ASP OAI 2.0 Data Provider
File/Database -- ver. 1.5
Descriptive Metadata Stored in XML Files
Administrative Information Stored in Database

Disclaimer: The following is 'quick and dirty' documentation to hopefully get you started. It assumes a fair amount of familiarity with configuring the Microsoft IIS web server and other minutia such as editing text files, etc. Hopefully, we will eventually have time for some better documentation. Thanks.

WHAT THIS IS:

This is an example of a metadata provider service as described in release 2.0 of the Open Archives Initiative Protocol for Metadata Harvesting.  It uses

This application can be downloaded onto an appropriately configured Microsoft Windows NT/2000 system and used with minimal configuration changes.

Note: Related implementations for other system architectures (Database only, File System only, File System/Database hybrid, etc) and/or for other platforms are also available on the SourceForge UILIB-OAI project web .

INSTALLATION:

ASSUMPTIONS:

ARCHITECTURE:

Operating System / Platform
Microsoft Windows NT 4 Server SP 6
Microsoft Windows NT 4 Workstation SP 6
Microsoft 2000 Advanced Server
Microsoft 2000 Professional, SP 2
 
Microsoft Internet Information Server (IIS), version 4 or higher
 
Microsoft Active Server Pages (ASP)
ASP modules included use VBScript and JScript
 
Microsoft Windows Script, version 5.6 or higher
The script support object library is available free from the Microsoft Website at
http://msdn.microsoft.com/nhp/Default.asp?contentid=28001169
 
Microsoft XML Parser (MSXML) 4.0
This parser is available free from the Microsoft Website at
http://msdn.microsoft.com/xml
 
Microsoft ActiveX Data Objects (ADODB) and ODBC-compliant Data Source
For illustration we include a Microsoft Access Database with Stored Procedures. However, with minor changes, a Microsoft SQL Server database or other ODBC-compliant data source could be used as well.

OAI PROTOCOL CONFORMANCE & XML Schema Definition Documents for Validation:

As installed locally, this system has been validated using version 1.45a of the OAI Repository Explorer (available at http://jingluo.dlib.vt.edu/~oai/cgi-bin/Explorer/2.0-1.45/testoai).   The OAI Repository Explorer tests for conformance to OAI Protocol release 2.0. When you have you have completed installing this tool and believe everything is set up properly, go to this site and enter the URL for your data to validate your system.

INCLUDED FILES:

global.asa
The global.asa file retrieves parameters from RepositoryDescription.xml to configure the repository. It also makes a one-time list of all sets and data available which is used by all harvesters. If sets or files are added or deleted, the application must be stopped and restarted to refresh this list.

RepositoryDescription.xml
The configuration file for the OAI Data Provider. It is XML-formatted and self-illustrative. Please refer to the file for repository settings.

README.html
This HTML file.

license.html
The Open Source license for this code.

functions.inc
This contains various functions that are needed by other script files. This file is included in the scripts that need access to the functions. functions.inc provides functions and subroutines such as parsing OAI identifiers, generating UTC datestamps, creating and parsing resumption tokens, etc. These are mostly functions that should be reusable across many different OAI implementations and are not specific to this implementation.

oai.asp
The main Active Server Page script code. All OAI requests are dispatched by oai.asp. Most of this code is written in VBScript, a small amount of JScript is also used.

*.asp (other than oai.asp and metadata-*.asp)
Each of these ASP files corresponds to a single OAI request and is called by oai.asp.

metadata-*.asp
User-provided handlers for supported metadata formats. In this release, we provide three examples: metadata-oai_dc.asp, metadata-marc.asp, and metadata-marc_direct.asp to demonstrate how this data provider works with user-provided handlers.

Identity.xls
Files with names ending in .xls transform metadata from the storage XML format, MARC in the case of the data samples provided with this package, into the format requested by a harvester. Identity.xls translates from the MARC storage format into the MARC format expected by harvesters. As you can imagine, this transformation is trivial.

MARC21slim2OAIDC.xsl
MARC21slimUtils.xsl
These XSL Transforming stylesheets transform *.xml object descriptive metadata files to XML structures appropriate for transmittal in response to OAI requests.

ASPOAI_FILEDB_DB.mdb
An Access database containing necessary OAI administrative metadata and related information as discussed above. Refer to the database itself for the data schema.

ASPOAI_FILEDB_DB_empty.mdb
An empty example of the database.

Marc/*.xml
These are sample object descriptive metadata files.

All code provided in this illustrative implementation is being made available under OpenSource license.

AUTHORS:

Thomas G. Habing
Research Programmer, Digital Library Initiative
University of Illinois at Urbana-Champaign
052 Grainger Engineering Library, MC-274
thabing@uiuc.edu
Timothy W. Cole
Mathematics Librarian
University of Illinois at Urbana-Champaign
214 Altgeld Hall, MC-382
t-cole3@uiuc.edu
Ying-ping Chen
Graduate Assistant
University of Illinois at Urbana-Champaign
052 Grainger Engineering Library, MC-274
ychen21@uiuc.edu
Joanne Kaczmarek
Project Coordinator
University of Illinois at Urbana-Champaign
052 Grainger Engineering Library, MC-274
jkaczmar@uiuc.edu
  University of Illinois at Urbana-Champaign University of Illinois at Urbana-Champaign
Library Gateway Homepage
Comments to: Tom Habing
Updated on: 5/10/04 Ychen21