1 |
295
|
berkley
|
<!--
|
2 |
666
|
jones
|
* '$RCSfile$'
|
3 |
|
|
* Authors: Chad Berkley
|
4 |
|
|
* Copyright: 2000 Regents of the University of California and the
|
5 |
295
|
berkley
|
* National Center for Ecological Analysis and Synthesis
|
6 |
666
|
jones
|
* For Details: http://www.nceas.ucsb.edu/
|
7 |
|
|
*
|
8 |
|
|
* '$Author$'
|
9 |
|
|
* '$Date$'
|
10 |
|
|
* '$Revision$'
|
11 |
|
|
*
|
12 |
|
|
* Test MetaCat MARINE UI using this HTML document
|
13 |
|
|
*
|
14 |
|
|
* This program is free software; you can redistribute it and/or modify
|
15 |
|
|
* it under the terms of the GNU General Public License as published by
|
16 |
|
|
* the Free Software Foundation; either version 2 of the License, or
|
17 |
|
|
* (at your option) any later version.
|
18 |
|
|
*
|
19 |
|
|
* This program is distributed in the hope that it will be useful,
|
20 |
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21 |
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
22 |
|
|
* GNU General Public License for more details.
|
23 |
|
|
*
|
24 |
|
|
* You should have received a copy of the GNU General Public License
|
25 |
|
|
* along with this program; if not, write to the Free Software
|
26 |
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
27 |
295
|
berkley
|
-->
|
28 |
|
|
|
29 |
|
|
<html>
|
30 |
|
|
<head>
|
31 |
|
|
<title>Test MetaCat MARINE Interface</title>
|
32 |
497
|
jones
|
<link rel="stylesheet" type="text/css" href="@html-path@/style/rowcol.css">
|
33 |
295
|
berkley
|
</head>
|
34 |
497
|
jones
|
<body class="emlbody">
|
35 |
295
|
berkley
|
<h1>MARINE Query</h1>
|
36 |
|
|
<p>
|
37 |
|
|
Query engine for MARINE formatted data.
|
38 |
|
|
</p>
|
39 |
|
|
<table border="2" align="top">
|
40 |
|
|
<tr>
|
41 |
|
|
<td align="center" valign="top" width="300">
|
42 |
|
|
|
43 |
|
|
<h2>Structured Query</h2>
|
44 |
|
|
<hr>
|
45 |
|
|
<form
|
46 |
|
|
action="http://alpha.nceas.ucsb.edu/servlets/marineServlet" target="bottom" method="POST">
|
47 |
|
|
|
48 |
|
|
<h3>Originator:</h3>
|
49 |
|
|
First Name: <input type = "text" name = "given_name"><br>
|
50 |
|
|
Last Name: <input type = "text" name = "surname"><br>
|
51 |
|
|
Email Address: <input type = "text" name = "email"><br>
|
52 |
|
|
Postal Code: <input type = "text" name = "postal_code"><br>
|
53 |
|
|
<hr>
|
54 |
|
|
<h3>Other Resource Information</h3>
|
55 |
|
|
Organization: <input type = "text" name = "party_org"><br>
|
56 |
|
|
Keywords: <input type = "text" name = "keyword"><br>
|
57 |
|
|
Title: <input type = "text" name = "title"><br>
|
58 |
|
|
<input type="hidden" name="query" value="">
|
59 |
|
|
<!-- <input type="hidden" name="qformat" value="html"> -->
|
60 |
|
|
<input type="hidden" name="action" value="squery">
|
61 |
|
|
<input type="hidden" name="doctype" value="ANY">
|
62 |
|
|
Output Type:
|
63 |
|
|
<select name = "qformat">
|
64 |
|
|
<option value="html">HTML</option>
|
65 |
|
|
<option value="xml">XML</option>
|
66 |
|
|
</select><br>
|
67 |
|
|
Boolean Operator:
|
68 |
|
|
<select name = "operator">
|
69 |
|
|
<option value="UNION">OR</option>
|
70 |
|
|
<option value="INTERSECT">AND</option>
|
71 |
|
|
</select><br>
|
72 |
|
|
<input type="submit" value="Query">
|
73 |
|
|
</form>
|
74 |
|
|
|
75 |
|
|
</td>
|
76 |
|
|
<td align="center" valign = "top" width="300">
|
77 |
|
|
<h2>Free Text Query</h2>
|
78 |
|
|
<hr>
|
79 |
|
|
<form
|
80 |
|
|
action="http://alpha.nceas.ucsb.edu/servlets/marineServlet" target="bottom" method="POST">
|
81 |
|
|
Keywords: <input type="text" name="query"><br>
|
82 |
|
|
<input type="hidden" name="qformat" value="html">
|
83 |
|
|
<input type="hidden" name="action" value="query">
|
84 |
|
|
<input type="hidden" name="doctype" value="ANY">
|
85 |
|
|
<input type="submit" value="Query">
|
86 |
|
|
</form>
|
87 |
|
|
|
88 |
|
|
</td>
|
89 |
|
|
</tr>
|
90 |
|
|
</table>
|
91 |
|
|
</form>
|
92 |
|
|
|
93 |
|
|
</body>
|
94 |
|
|
</html>
|