$Id: README,v 1.3 2002-11-28 08:44:43 mike Exp $

This directory contains an example zSQLgate configuration based on the
relevant subset of the RESULTs database of resource metadata.  (See
the running system at http://www.results.ac.uk/).

The zSQLgate configuration in this directory is more generally useful
as an illustration of how to use zSQLgate to generate Dublin Core XML
records in the format specified by Appendix D of the Bath Profile
(http://www.ukoln.ac.uk/interop-focus/bath/ and see the saved appendix
in ../../tmp/bp-app-d.htm), in accordance with the Z39.50 requirements
of the JISC Information Environment.

--

Create the database using the RDBMS of your choice with (for example):

	$ cd postgres  <--- or any other supported subdirectory
	$ make
	$ create-database.sh
	$ make clean
	$ cd ..

Then start the server with:

	$ zSQLgate results.nzd
	[...]

And then in another window:

	$ yaz-client tcp:@:9999
	Z> base results
	Z> find @attr 1=4 @attr 5=3 Empire
	Number of hits: 1
	Z> format xml
	Z> show 1
	[]Record type: XML
	<dc-record>
	 <contributor>Sebastian Hammer</contributor>
	 <creator>Mike Taylor</creator>
	 <date>2000-12-06</date>
	 <description>A heartfelt personal rant comparing Z39.50's strengths with SOAP's weaknesses</description>
	 <format>HTML</format>
	 <identifier>http://www.miketaylor.org.uk/tech/esb.html</identifier>
	 <language>en</language>
	 <publisher>0</publisher>
	 <rights>All rights reserved</rights>
	 <subject></subject>
	 <title>Z39.50 - The Empire Strikes Back</title>
	 <type>Position paper</type>
	</dc-record>
