|
|
ASDD SearchMetadata search Advanced metadata search a> Search help Architecture of the ASDDArchitecture and technologies Help Node descriptions Metadata ManagementANZLIC metadata guidelines ANZMETA Document Type Definitions Validation tool Reports OASIS Catalog Z39.50 ProtocolOverview Configuration Establish NodesRequirements and Standards Node status Node Managers Interface Implementing ASDD nodes |
Modified: 2005-02-09
Implementing new ASDD nodes: Isite on Windows NTDocumentation is under development OverviewThis documentation is incomplete. Isite was originally developed by Center for Networked Information Discovery and Retrieval (CNIDR) and is now managed by A/WWW Enterprises
See the file RELEASE.MSDOS in the Isite distribution. Documentation referencesFurther information is available at ...
Download the softwareThe current Isite2 is available at A/WWW Enterprises (follow the link from the home page to "Isite Distribution", then to the "Isite2" directory). Unpack the software into a preparation directory on your system. Follow the Isite2 instructions if you are building from source. ASDD customisationConfiguration files and the Isearch "doctypes" called "anzmeta" for indexing and searching ANZLIC metadata documents have already been added to the Isite2 distribution. Create some directoriesSet up the following directories. They can be anywhere on your server and do not need to be under the HTTP server documents root directory. Probably in a different place to your current installation ...
CompilingTo compile and build Isite on Windows NT you will need to have the Microsoft "Visual Studio C++" compiler installed.
InstallationInstallation is currently a manual process. Copy the following binaries from $ISITE_BUILD/exe to $ISITE_BIN ...
Copy all of the configuration files from $ISITE_BUILD/conf/anzmeta to $ISITE_CONF. They will be explained in the next section. ConfigurationThere are example configuration files included in the Isite2 distribution at ./conf/anzmeta/ The only two configuration files that should differ from the distribution are sapi.ini and zserver.ini. All configuration files are described below ... sapi.ini
zserver.ini
anzlic.fields
"Use Attribute" maps
Prepare the metadata collectionEvery node must be able to present XML, HTML and plain text (SUTRS) versions of the metadata. Geospatial metadata management facilities are used to prepare, store, and present the metadata. The Z39.50 server can conduct searching and presentation using either a collection of XML metadata documents or connecting to a database or other repository. The structured metadata documents or XML files must conform to the ANZMETA Document Type Definition (DTD) v1.1, v1.2 or v1.3 and should have .xml filename extension to allow the Z39.50 server to present the XML file if requested by a capable client. The document collection will be indexed by an Isearch "doctype". Index the metadataThis section explains how to index a collection of XML metadata documents. If you are using a database to store and search your metadata, then you need to configure relational database access. The "Isearch" component of Isite uses software called "doctypes" to read and interpret the XML metadata documents. The doctypes have dual roles: to index the metadata to create a searchable database, and to conduct searching and present the results in whatever form that is requested by the client. Each collection of dataset descriptions has three files for each dataset description ...
Below are example Iindex commands to prepare a searchable database of your metadata. You could place the command in a shell script. The examples assume that all documents are in one data directory. If your data is in separate directories then you could use the UNIX commands "find" and "sed" to automatically prepare the list of pathnames to feed into Iindex. To index a collection of XML files that conform to the ANZMETA Document Type Definition (DTD) v1.1, v1.2 or v1.3 ... # the name for your index database of dataset descriptions DB_NAME=test1 # run Iindex to parse the XML files # using the Isearch doctype called "anzmeta" $ISITE_BIN/Iindex -d $ISITE_DB/$DB_NAME -t anzmeta -m 4 \ -o fieldtype=$ISITE_BIN/anzlic.fields $ISITE_DATA/*.xml Start the Z39.50 serverStart the Zserver by issuing the following command. The server will start up, mount the specified databases, and then listen on the specified port. You could place this command in a shell script. You may also want to redirect the output to a logfile if you want detailed connection and searching information. The standard logfile (specified in zserver.ini) collects only very basic connection information. # start the Z39.50 server and run it in the background $ISITE_BIN/zserver -i$ISITE_BIN/zserver.ini & Testing your nodeThe best way to test your node is to use the Isite program called "zbatch" which allows you to specify a set of queries in a plain text file. Zbatch will connect to the specified server and run the queries sequentially. See the document Testing Isite ASDD nodes. Hosted collectionsAny one node can also host a collection of geospatial metadata for another organisation. In that way, an organisation that does not have an actual Z39.50 server can appear to be a fully-fledged node of the ASDD. The collection of XML documents and the corresponding presentation documents need to be on the same machine on which the Zserver is running. Simply index the collection of documents using Iindex and define all of the collections in the sapi.ini and zserver.ini configuration files. Register your nodeFollow the instructions to register your new node with the ASDD gateway WWW interface. |