1 |
1999
|
jones
|
<!--
|
2 |
|
|
* '$RCSfile$'
|
3 |
|
|
* Authors: Matt Jones
|
4 |
|
|
* Copyright: 2000 Regents of the University of California and the
|
5 |
|
|
* National Center for Ecological Analysis and Synthesis
|
6 |
|
|
* For Details: http://www.nceas.ucsb.edu/
|
7 |
|
|
*
|
8 |
|
|
* '$Author$'
|
9 |
|
|
* '$Date$'
|
10 |
|
|
* '$Revision$'
|
11 |
|
|
*
|
12 |
|
|
* This is an HTML document for displaying metadata catalog tools
|
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 |
|
|
-->
|
28 |
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
29 |
|
|
<html>
|
30 |
|
|
<head>
|
31 |
|
|
<title>UCNRS Data Registry</title>
|
32 |
|
|
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css">
|
33 |
|
|
<link rel="stylesheet" type="text/css"
|
34 |
|
|
href="@systemidserver@@style-skins-path@/nrs/nrs.css"></link>
|
35 |
|
|
<script language="JavaScript" type="text/JavaScript"
|
36 |
|
|
src="@systemidserver@@style-skins-path@/nrs/nrs.js"></script>
|
37 |
|
|
<script language="JavaScript" type="text/JavaScript"
|
38 |
|
|
src="@systemidserver@@style-common-path@/branding.js"></script>
|
39 |
2545
|
sgarg
|
<script language="Javascript">
|
40 |
|
|
|
41 |
|
|
function trim(stringToTrim) {
|
42 |
|
|
return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
|
43 |
|
|
}
|
44 |
|
|
|
45 |
|
|
function checkSearch(submitFormObj) {
|
46 |
|
|
var searchString = trim(submitFormObj.searchstring.value);
|
47 |
|
|
var checkBox = document.getElementById("searchCheckBox");
|
48 |
|
|
|
49 |
|
|
if (searchString=="") {
|
50 |
|
|
searchString="%";
|
51 |
|
|
}
|
52 |
|
|
|
53 |
|
|
if(checkBox.checked == false && searchString!="%"){
|
54 |
|
|
submitFormObj.query.value = "<pathquery version=\"1.2\">"+
|
55 |
|
|
+"<querytitle>Web-Search</querytitle>"
|
56 |
|
|
+"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>"
|
57 |
|
|
+"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>"
|
58 |
|
|
+"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype>"
|
59 |
|
|
+"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype>"
|
60 |
|
|
+"<returndoctype>-//NCEAS//resource//EN</returndoctype>"
|
61 |
|
|
+"<returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>"
|
62 |
|
|
+"<returnfield>originator/individualName/surName</returnfield>"
|
63 |
|
|
+"<returnfield>originator/individualName/givenName</returnfield>"
|
64 |
|
|
+"<returnfield>creator/individualName/surName</returnfield>"
|
65 |
|
|
+"<returnfield>creator/individualName/givenName</returnfield>"
|
66 |
|
|
+"<returnfield>originator/organizationName</returnfield>"
|
67 |
|
|
+"<returnfield>creator/organizationName</returnfield>"
|
68 |
|
|
+"<returnfield>dataset/title</returnfield>"
|
69 |
|
|
+"<returnfield>keyword</returnfield>"
|
70 |
|
|
+"<querygroup operator=\"INTERSECT\">"
|
71 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
72 |
|
|
+"<value>University of California Natural Reserve System</value>"
|
73 |
|
|
+"<pathexpr>organizationName</pathexpr>"
|
74 |
|
|
+"</queryterm>"
|
75 |
|
|
+"<querygroup operator=\"UNION\">"
|
76 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
77 |
|
|
+"<value>" + searchString + "</value>"
|
78 |
|
|
+"<pathexpr>surName</pathexpr>"
|
79 |
|
|
+"</queryterm>"
|
80 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
81 |
|
|
+"<value>" + searchString + "</value>"
|
82 |
|
|
+"<pathexpr>givenName</pathexpr>"
|
83 |
|
|
+"</queryterm>"
|
84 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
85 |
|
|
+"<value>" + searchString + "</value>"
|
86 |
|
|
+"<pathexpr>keyword</pathexpr>"
|
87 |
|
|
+"</queryterm>"
|
88 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
89 |
|
|
+"<value>" + searchString + "</value>"
|
90 |
|
|
+"<pathexpr>para</pathexpr>"
|
91 |
|
|
+"</queryterm>"
|
92 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
93 |
|
|
+"<value>" + searchString + "</value>"
|
94 |
|
|
+"<pathexpr>geographicDescription</pathexpr>"
|
95 |
|
|
+"</queryterm>"
|
96 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
97 |
|
|
+"<value>" + searchString + "</value>"
|
98 |
|
|
+"<pathexpr>literalLayout</pathexpr>"
|
99 |
|
|
+"</queryterm>"
|
100 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
101 |
|
|
+"<value>" + searchString + "</value>"
|
102 |
|
|
+"<pathexpr>abstract/para</pathexpr>"
|
103 |
|
|
+"</queryterm>"
|
104 |
|
|
+"</querygroup>"
|
105 |
|
|
+"</querygroup>"
|
106 |
|
|
+"</pathquery>";
|
107 |
|
|
} else {
|
108 |
|
|
queryTermString = "";
|
109 |
|
|
if(searchString != "%"){
|
110 |
|
|
queryTermString = "<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
111 |
|
|
+"<value>" + searchString + "</value>"
|
112 |
|
|
+"<pathexpr>anyfield</pathexpr>"
|
113 |
|
|
+"</queryterm>";
|
114 |
|
|
}
|
115 |
|
|
submitFormObj.query.value = "<pathquery version=\"1.2\">"+
|
116 |
|
|
+"<querytitle>Web-Search</querytitle>"
|
117 |
|
|
+"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>"
|
118 |
|
|
+"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>"
|
119 |
|
|
+"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype>"
|
120 |
|
|
+"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype>"
|
121 |
|
|
+"<returndoctype>-//NCEAS//resource//EN</returndoctype>"
|
122 |
|
|
+"<returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>"
|
123 |
|
|
+"<returnfield>originator/individualName/surName</returnfield>"
|
124 |
|
|
+"<returnfield>originator/individualName/givenName</returnfield>"
|
125 |
|
|
+"<returnfield>creator/individualName/surName</returnfield>"
|
126 |
|
|
+"<returnfield>creator/individualName/givenName</returnfield>"
|
127 |
|
|
+"<returnfield>originator/organizationName</returnfield>"
|
128 |
|
|
+"<returnfield>creator/organizationName</returnfield>"
|
129 |
|
|
+"<returnfield>dataset/title</returnfield>"
|
130 |
|
|
+"<returnfield>keyword</returnfield>"
|
131 |
|
|
+"<querygroup operator=\"INTERSECT\">"
|
132 |
|
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
133 |
|
|
+"<value>University of California Natural Reserve System</value>"
|
134 |
|
|
+"<pathexpr>organizationName</pathexpr>"
|
135 |
|
|
+"</queryterm>"
|
136 |
|
|
+ queryTermString
|
137 |
|
|
+"</querygroup>"
|
138 |
|
|
+"</pathquery>";
|
139 |
|
|
|
140 |
|
|
}
|
141 |
|
|
return true;
|
142 |
|
|
}
|
143 |
|
|
|
144 |
|
|
function searchAll(){
|
145 |
|
|
var checkBox = document.getElementById("searchCheckBox");
|
146 |
|
|
if(checkBox.checked == true){
|
147 |
|
|
alert("You have selected to search all possible existing fields. This search will take longer.");
|
148 |
|
|
}
|
149 |
|
|
}
|
150 |
|
|
</script>
|
151 |
1999
|
jones
|
</head>
|
152 |
|
|
<body>
|
153 |
|
|
<script language="JavaScript">
|
154 |
|
|
insertTemplateOpening();
|
155 |
|
|
insertSearchBox();
|
156 |
|
|
</script>
|
157 |
|
|
<table width="760" border="0" cellspacing="0" cellpadding="0">
|
158 |
|
|
<tr><td colspan="5">
|
159 |
|
|
<p>
|
160 |
|
|
Welcome to the NRS Data Registry. This is the primary source for
|
161 |
|
|
comprehensive information about scientific and research data sets collected
|
162 |
|
|
within or under the auspices of the University of California's Natural
|
163 |
|
|
Reserve System.
|
164 |
|
|
</p>
|
165 |
2433
|
sgarg
|
</td></tr>
|
166 |
|
|
<tr><td colspan="5">
|
167 |
1999
|
jones
|
<p>
|
168 |
|
|
This project is a cooperative effort of the
|
169 |
|
|
<a href="http://nrs.ucop.edu">University of California's Natural Reserve System</a>,
|
170 |
|
|
and the <a href="http://www.nceas.ucsb.edu">National Center for
|
171 |
|
|
Ecological Analysis and Synthesis (NCEAS)</a>.
|
172 |
|
|
The Data Registry is based on software developed by the
|
173 |
|
|
<a href="http://knb.ecoinformatics.org">Knowledge Network for
|
174 |
|
|
Biocomplexity (KNB)</a>, and
|
175 |
|
|
houses metadata that are compliant with
|
176 |
|
|
<a href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata
|
177 |
|
|
Language (EML)</a>.
|
178 |
|
|
</p>
|
179 |
2433
|
sgarg
|
</td></tr>
|
180 |
|
|
<tr><td colspan="5">
|
181 |
1999
|
jones
|
<p>
|
182 |
|
|
Credit for the datasets in this registry goes to the investigators who
|
183 |
|
|
collected the data, and also to the NRS system for providing an effective and
|
184 |
|
|
pleasant environment for research and education at the individual reserves.
|
185 |
|
|
Our particular thanks go out to the NRS reserve managers and stewards, as
|
186 |
|
|
well as the system-wide NRS office maintained by the University of
|
187 |
|
|
California, for their comments and continuing support.
|
188 |
|
|
</p>
|
189 |
2433
|
sgarg
|
</td></tr>
|
190 |
|
|
<tr><td colspan="5">
|
191 |
1999
|
jones
|
<p><b>Registry Tools</b></p>
|
192 |
|
|
<p>
|
193 |
|
|
<menu>
|
194 |
2545
|
sgarg
|
<li><span class="searchbox"><a name="search"> Search for Data Sets</a></span><br />
|
195 |
|
|
<menu>
|
196 |
|
|
<form method="POST" action="@servlet-path@" target="_top" onSubmit="return checkSearch(this)">
|
197 |
|
|
<input value="UNION" name="operator" type="hidden">
|
198 |
|
|
<input size="14" name="searchstring" type="text" value="" id="searchBox">
|
199 |
|
|
<input name="query" type="hidden"/>
|
200 |
|
|
<input name="qformat" value="nrs" type="hidden">
|
201 |
|
|
<input name="enableediting" value="true" type="hidden">
|
202 |
|
|
<input type="hidden" name="action" value="squery">
|
203 |
|
|
<input value="Search" type="submit">
|
204 |
|
|
</form>
|
205 |
|
|
<input type="CHECKBOX" name="searchAll" onClick="searchAll()" id="searchCheckBox" >
|
206 |
|
|
<span class="regtext">Search All Fields</span>
|
207 |
|
|
<br><br>
|
208 |
|
|
This tool allows you to search the registry for data
|
209 |
|
|
sets of interest. When you type text in the box and
|
210 |
|
|
click on the "Search" button, the search will only
|
211 |
|
|
be conducted within the title, author, abstract,
|
212 |
|
|
and keyword fields. Checking the "Search All Fields"
|
213 |
|
|
box will search on these and all other existing
|
214 |
|
|
fields (this search will take more time).
|
215 |
|
|
<br><br>
|
216 |
|
|
You can use the '%' character as a wildcard in your
|
217 |
|
|
searches (e.g., '%biodiversity%' would locate any
|
218 |
|
|
phrase with the word biodiversity embedded within it).
|
219 |
|
|
</menu>
|
220 |
|
|
<br><br>
|
221 |
|
|
</li>
|
222 |
|
|
|
223 |
2227
|
sgarg
|
<li><a href="@servlet-path@?action=query&operator=INTERSECT&anyfield=%25&organizationName=University%20of%20California%20Natural%20Reserve%20System&qformat=nrs&enableediting=true&returndoctype=eml://ecoinformatics.org/eml-2.0.1&returndoctype=eml://ecoinformatics.org/eml-2.0.0&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&returnfield=dataset/title&returnfield=keyword&returnfield=originator/individualName/surName&returnfield=creator/individualName/surName&returnfield=originator/organizationName&returnfield=creator/organizationName">Browse existing NRS data sets</a><br />
|
224 |
1999
|
jones
|
<menu>
|
225 |
|
|
The registry search system is used to locate data sets of interest
|
226 |
|
|
by searching through existing registered data sets.
|
227 |
|
|
Presently the search covers all fields, including
|
228 |
|
|
author, title, abstract, keywords, and other documentation
|
229 |
|
|
for each dataset. (More sophisticated search capabilities,
|
230 |
|
|
including boolean field searches, will be available in future.)
|
231 |
|
|
</menu>
|
232 |
|
|
</li>
|
233 |
|
|
<p> </p>
|
234 |
|
|
<li><a href="@cgi-prefix@/register-dataset.cgi?cfg=nrs">Register a new UCNRS
|
235 |
|
|
data set</a><br />
|
236 |
|
|
<menu>
|
237 |
|
|
The registration page is used to submit information about a <b>new</b>
|
238 |
|
|
data set associated with UCNRS research. The documentation about the
|
239 |
|
|
data set will be reviewed and then submitted to the Registry.
|
240 |
|
|
</menu>
|
241 |
|
|
</li>
|
242 |
|
|
</menu>
|
243 |
|
|
</p>
|
244 |
|
|
</td></tr>
|
245 |
|
|
</table>
|
246 |
|
|
<p> </p>
|
247 |
|
|
<script language="JavaScript">
|
248 |
|
|
insertTemplateClosing();
|
249 |
|
|
</script>
|
250 |
|
|
</body>
|
251 |
|
|
</html>
|