File:  [LON-CAPA] / nsdl / interface / test1.html
Revision 1.1: download - view: text, annotated - select for diffs
Sun Jul 14 08:03:04 2002 UTC (19 years, 10 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
for testing the LON-CAPA to NSDL passing of metadata

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- $Id: test1.html,v 1.1 2002/07/14 08:03:04 harris41 Exp $ -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>NSDL-LONCAPA GATEWAY TEST PAGE #1</title>
</head>
<body bgcolor="#ffffff">
<h1>NSDL-LONCAPA GATEWAY TEST PAGE #1</h1>
<p>
This test page implements the passage of data from LON-CAPA to NSDL.
NSDL makes an OAI-protocol request of the gateway server.
A LON-CAPA result is returned.
</p>
<h2>Test 1.1</h2>
<p>(no verb)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="key1" value="value 1" />
<pre>
key: badkey1
value: value 1
</pre>
<input type="submit" name="submit" value="Submit Test 1.1" />
</form>
<h2>Test 1.2</h2>
<p>(attempt to get a record)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="GetRecord" />
<pre>
key: verb
value: GetRecord
</pre>
<input type="hidden" name="identifier" value="oai:arXiv:quant-ph/9901001" />
<pre>
key: identifier
value: oai:arXiv:quant-ph/9901001
</pre>
<input type="hidden" name="metadataPrefix" value="oai_dc" />
<pre>
key: metadataPrefix
value: oai_dc
</pre>
<input type="submit" name="submit" value="Submit Test 1.2" />
</form>
<h2>Test 1.3</h2>
<p>(request identification of this open archive)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="Identify" />
<pre>
key: verb
value: Identify
</pre>
<input type="submit" name="submit" value="Submit Test 1.3" />
</form>
<h2>Test 1.4</h2>
<p>(bad verb)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="Identifyy" />
<pre>
key: verb
value: Identifyy
</pre>
<input type="submit" name="submit" value="Submit Test 1.4" />
</form>
<h2>Test 1.5</h2>
<p>(missing argument)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="GetRecord" />
<pre>
key: verb
value: GetRecord
</pre>
<input type="hidden" name="identifier" value="oai:arXiv:quant-ph/9901001" />
<pre>
key: identifier
value: oai:arXiv:quant-ph/9901001
</pre>
<input type="submit" name="submit" value="Submit Test 1.5" />
</form>
<h2>Test 1.6</h2>
<p>(unsupported metadata format)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="GetRecord" />
<pre>
key: verb
value: GetRecord
</pre>
<input type="hidden" name="identifier" value="oai:arXiv:quant-ph/9901001" />
<pre>
key: identifier
value: oai:arXiv:quant-ph/9901001
</pre>
<input type="hidden" name="metadataPrefix" value="oai_dcee" />
<pre>
key: metadataPrefix
value: oai_dcee
</pre>
<input type="submit" name="submit" value="Submit Test 1.6" />
</form>
<h2>Test 1.7</h2>
<p>(unavailable data)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="GetRecord" />
<pre>
key: verb
value: GetRecord
</pre>
<input type="hidden" name="identifier" value="oai:arXiv:quant-ph/9901001" />
<pre>
key: identifier
value: oai:unavailable:quant-ph/9901001
</pre>
<input type="hidden" name="metadataPrefix" value="loncapa_ieeelom" />
<pre>
key: metadataPrefix
value: loncapa_ieeelom
</pre>
<input type="submit" name="submit" value="Submit Test 1.7" />
</form>
<h2>Test 1.8</h2>
<p>(no set hierarchy currently available)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="ListIdentifiers" />
<pre>
key: verb
value: ListIdentifiers
</pre>
<input type="hidden" name="metadataPrefix" value="loncapa_ieeelom" />
<pre>
key: metadataPrefix
value: loncapa_ieeelom
</pre>
<input type="submit" name="submit" value="Submit Test 1.8" />
</form>
<h2>Test 1.9</h2>
<p>(no set hierarchy currently available)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="ListRecords" />
<pre>
key: verb
value: ListRecords
</pre>
<input type="hidden" name="metadataPrefix" value="loncapa_ieeelom" />
<pre>
key: metadataPrefix
value: loncapa_ieeelom
</pre>
<input type="submit" name="submit" value="Submit Test 1.9" />
</form>
<h2>Test 1.10</h2>
<p>(no set hierarchy currently available)</p>
<h3>OAI-script</h3>
<form method="POST" action="/OAI-script">
<input type="hidden" name="verb" value="ListSets" />
<pre>
key: verb
value: ListSets
</pre>
<input type="hidden" name="metadataPrefix" value="loncapa_ieeelom" />
<pre>
key: metadataPrefix
value: loncapa_ieeelom
</pre>
<input type="submit" name="submit" value="Submit Test 1.10" />
</form>
</body>
</html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>