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