1
|
<%@ page language="java" %>
|
2
|
<%@ page import="edu.ucsb.nceas.metacat.properties.SkinPropertyService" %>
|
3
|
|
4
|
<%
|
5
|
/**
|
6
|
* '$RCSfile$'
|
7
|
* Copyright: 2008 Regents of the University of California and the
|
8
|
* National Center for Ecological Analysis and Synthesis
|
9
|
* For Details: http://www.nceas.ucsb.edu/
|
10
|
*
|
11
|
* '$Author: leinfelder $'
|
12
|
* '$Date: 2011-01-18 17:04:51 -0800 (Tue, 18 Jan 2011) $'
|
13
|
* '$Revision: 5816 $'
|
14
|
*
|
15
|
* This is an HTML document for displaying metadata catalog tools
|
16
|
*
|
17
|
* This program is free software; you can redistribute it and/or modify
|
18
|
* it under the terms of the GNU General Public License as published by
|
19
|
* the Free Software Foundation; either version 2 of the License, or
|
20
|
* (at your option) any later version.
|
21
|
*
|
22
|
* This program is distributed in the hope that it will be useful,
|
23
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25
|
* GNU General Public License for more details.
|
26
|
*
|
27
|
* You should have received a copy of the GNU General Public License
|
28
|
* along with this program; if not, write to the Free Software
|
29
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
30
|
*/
|
31
|
%>
|
32
|
|
33
|
<%
|
34
|
String esaHome = SkinPropertyService.getProperty("esa","registryurl");
|
35
|
%>
|
36
|
|
37
|
<%@ include file="../../common/common-settings.jsp"%>
|
38
|
<%@ include file="../../common/configure-check.jsp"%>
|
39
|
|
40
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
41
|
<html>
|
42
|
<head>
|
43
|
<title>ESA Data Registry</title>
|
44
|
<link rel="stylesheet" type="text/css"
|
45
|
href="<%=STYLE_SKINS_URL%>/esa/esa.css"></link>
|
46
|
<script language="JavaScript" type="text/JavaScript"
|
47
|
src="<%=STYLE_SKINS_URL%>/esa/esa.js"></script>
|
48
|
<script language="JavaScript" type="text/JavaScript"
|
49
|
src="<%=STYLE_COMMON_URL%>/branding.js"></script>
|
50
|
<script language="Javascript">
|
51
|
|
52
|
function trim(stringToTrim) {
|
53
|
return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
|
54
|
}
|
55
|
|
56
|
function checkSearch(submitFormObj) {
|
57
|
var checkBox = document.getElementById("searchCheckBox");
|
58
|
var searchBox = document.getElementById("searchBox");
|
59
|
var searchString = trim(searchBox.value);
|
60
|
|
61
|
if (searchString=="") {
|
62
|
searchString="%";
|
63
|
}
|
64
|
|
65
|
if(checkBox.checked == false){
|
66
|
if(searchString!="%"){
|
67
|
searchBox.name = "title";
|
68
|
searchBox.id = "searchBox";
|
69
|
|
70
|
submitFormObj.surName.value = searchString;
|
71
|
submitFormObj.givenName.value = searchString;
|
72
|
submitFormObj.keyword.value = searchString;
|
73
|
submitFormObj.organizationName.value = searchString;
|
74
|
submitFormObj.para.value = searchString;
|
75
|
submitFormObj.geographicDescription.value = searchString;
|
76
|
submitFormObj.literalLayout.value = searchString;
|
77
|
submitFormObj.operator.value="UNION";
|
78
|
var abs = document.getElementById("abstract");
|
79
|
abs.value=searchString;
|
80
|
var abstractValue = document.getElementById("abstractValue");
|
81
|
abstractValue.value="";
|
82
|
var keywordValue = document.getElementById("keywordValue");
|
83
|
keywordValue.value="";
|
84
|
var pid = document.getElementById("packageId");
|
85
|
pid.value=searchString;
|
86
|
} else {
|
87
|
searchBox.name = "anyfield";
|
88
|
searchBox.id = "searchBox";
|
89
|
submitFormObj.surName.value = "";
|
90
|
submitFormObj.givenName.value = "";
|
91
|
submitFormObj.keyword.value = "";
|
92
|
submitFormObj.organizationName.value = "";
|
93
|
submitFormObj.para.value = "";
|
94
|
submitFormObj.geographicDescription.value = "";
|
95
|
submitFormObj.literalLayout.value = "";
|
96
|
submitFormObj.operator.value="INTERSECT";
|
97
|
var abs = document.getElementById("abstract");
|
98
|
abs.value="";
|
99
|
var abstractValue = document.getElementById("abstractValue");
|
100
|
abstractValue.value="";
|
101
|
var keywordValue = document.getElementById("keywordValue");
|
102
|
keywordValue.value="";
|
103
|
var pid = document.getElementById("packageId");
|
104
|
pid.value="";
|
105
|
}
|
106
|
} else {
|
107
|
searchBox.name = "anyfield";
|
108
|
searchBox.id = "searchBox";
|
109
|
submitFormObj.surName.value = "";
|
110
|
submitFormObj.givenName.value = "";
|
111
|
submitFormObj.keyword.value = "";
|
112
|
submitFormObj.organizationName.value = "";
|
113
|
submitFormObj.para.value = "";
|
114
|
submitFormObj.geographicDescription.value = "";
|
115
|
submitFormObj.literalLayout.value = "";
|
116
|
submitFormObj.operator.value="INTERSECT";
|
117
|
var abs = document.getElementById("abstract");
|
118
|
abs.value="";
|
119
|
var abstractValue = document.getElementById("abstractValue");
|
120
|
abstractValue.value="";
|
121
|
var keywordValue = document.getElementById("keywordValue");
|
122
|
keywordValue.value="";
|
123
|
var pid = document.getElementById("packageId");
|
124
|
pid.value="";
|
125
|
}
|
126
|
|
127
|
var knbCheckBox = document.getElementById("knbCheckBox");
|
128
|
if(knbCheckBox.checked == true){
|
129
|
document.forms[0].action = "http://knb.ecoinformatics.org/knb/servlet/metacat";
|
130
|
submitFormObj.qformat.value = "knb";
|
131
|
var pid = document.getElementById("packageId");
|
132
|
pid.value="";
|
133
|
}
|
134
|
else {
|
135
|
document.forms[0].action = "<%=SERVLET_URL%>";
|
136
|
submitFormObj.qformat.value = "esa";
|
137
|
}
|
138
|
|
139
|
var actionField=document.createElement("input");
|
140
|
actionField.setAttribute("type", "hidden");
|
141
|
actionField.setAttribute("name", "action");
|
142
|
actionField.setAttribute("value", "query");
|
143
|
submitFormObj.appendChild(actionField);
|
144
|
|
145
|
return true;
|
146
|
}
|
147
|
|
148
|
</script>
|
149
|
</head>
|
150
|
<body>
|
151
|
<script language="JavaScript">
|
152
|
insertTemplateOpening("<%=CONTEXT_URL%>");
|
153
|
insertSearchBox("<%=CONTEXT_URL%>");
|
154
|
</script>
|
155
|
<table width="760" border="0" cellspacing="0" cellpadding="0">
|
156
|
<tr><td colspan="5">
|
157
|
|
158
|
Welcome to the ESA Data Registry. This is a publicly accessible registry
|
159
|
describing <b>scientific data sets on ecology and the environment</b>. The
|
160
|
data sets registered here are associated with articles published in the
|
161
|
journals of the Ecological Society of America. They are registered here
|
162
|
in order to facilitate communication and data sharing by scientists. See
|
163
|
individual registry entries for citation information as well as usage rights.
|
164
|
|
165
|
<br><br>
|
166
|
<tr><td colspan="5">
|
167
|
<b>Registry Tools</b>
|
168
|
|
169
|
|
170
|
<li>
|
171
|
<span class="searchbox"><a name="search">Search for Data Sets</a></span><br />
|
172
|
<ul><table width="760" border="0" cellspacing="0" cellpadding="0"><tr>
|
173
|
<td>
|
174
|
|
175
|
<form method="POST" action="<%=SERVLET_URL%>" target="_top" onSubmit="return checkSearch(this)">
|
176
|
<input value="INTERSECT" name="operator" type="hidden">
|
177
|
<input type="hidden" name="organizationName">
|
178
|
<input type="hidden" name="surName">
|
179
|
<input type="hidden" name="givenName">
|
180
|
<input type="hidden" name="keyword">
|
181
|
<input type="hidden" name="keyword/value" id="keywordValue">
|
182
|
<input type="hidden" name="para">
|
183
|
<input type="hidden" name="geographicDescription">
|
184
|
<input type="hidden" name="literalLayout">
|
185
|
<input type="hidden" name="@packageId" id="packageId">
|
186
|
<input type="hidden" name="abstract/para" id="abstract">
|
187
|
<input type="hidden" name="abstract/para/value" id="abstractValue">
|
188
|
<input name="qformat" value="esa" type="hidden">
|
189
|
<input name="returnfield" value="originator/individualName/surName" type="hidden">
|
190
|
<input name="returnfield" value="originator/individualName/givenName" type="hidden">
|
191
|
<input name="returnfield" value="creator/individualName/surName" type="hidden">
|
192
|
<input name="returnfield" value="creator/individualName/givenName" type="hidden">
|
193
|
<input name="returnfield" value="originator/organizationName" type="hidden">
|
194
|
<input name="returnfield" value="creator/organizationName" type="hidden">
|
195
|
<input name="returnfield" value="dataset/title" type="hidden">
|
196
|
<input name="returnfield" value="dataset/title/value" type="hidden">
|
197
|
<input name="returnfield" value="keyword" type="hidden">
|
198
|
<input name="returnfield" value="keyword/value" type="hidden">
|
199
|
<input name="returndoctype" value="eml://ecoinformatics.org/eml-2.1.1" type="hidden">
|
200
|
<input name="returndoctype" value="eml://ecoinformatics.org/eml-2.1.0" type="hidden">
|
201
|
<input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.1" type="hidden">
|
202
|
<input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.0" type="hidden">
|
203
|
<input name="returndoctype" value="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN" type="hidden">
|
204
|
<input name="returndoctype" value="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN" type="hidden">
|
205
|
<input name="returndoctype" value="-//NCEAS//resource//EN" type="hidden">
|
206
|
<input name="returndoctype" value="-//NCEAS//eml-dataset//EN" type="hidden">
|
207
|
<input size="14" name="anyfield" type="text" value="" id="searchBox">
|
208
|
<input value="Search" type="submit">
|
209
|
</form></td>
|
210
|
<td><form>
|
211
|
<input name="search" type="radio" checked><span class="text_plain"> Search only within the ESA Data Registry</span></input><br>
|
212
|
<input name="search" type="radio" id="knbCheckBox"><span class="text_plain"> Search entire Knowledge Network for Biocomplexity</span></input>
|
213
|
</form></td>
|
214
|
</tr>
|
215
|
</table>
|
216
|
<form>
|
217
|
<input name="searchAll" type="radio" checked><span >Search Title, Abstract, Keywords, Personnel (Quicker)</span></input><br>
|
218
|
<input name="searchAll" type="radio" id="searchCheckBox"><span >Search all fields (Slower)</span></input>
|
219
|
</form>
|
220
|
|
221
|
This tool allows you to search the registry for data
|
222
|
sets of interest. When you type text in the box and
|
223
|
click on the "Search" button, the search will only
|
224
|
be conducted within the title, author, abstract,
|
225
|
and keyword fields. Checking the "Search All Fields"
|
226
|
box will search on these and all other existing
|
227
|
fields (this search will take more time). Checking
|
228
|
the "Search Knowledge Network for Biocomplexity" box
|
229
|
will allow you to search the Knowledge Network for
|
230
|
Biocomplexity (KNB) in addition to the ESA Data
|
231
|
Registry. The KNB is an international data repository
|
232
|
dedicated to facilitating ecological and environmental
|
233
|
research. Click <a href="http://knb.ecoinformatics.org/">
|
234
|
here </a> for more information on the KNB.
|
235
|
<br><br>
|
236
|
You can use the '%' character as a wildcard in your
|
237
|
searches (e.g., '%biodiversity%' would locate any
|
238
|
phrase with the word biodiversity embedded within it).
|
239
|
</ul>
|
240
|
</li>
|
241
|
<li><a href="<%=SERVLET_URL%>?action=query&operator=INTERSECT&anyfield=%25&qformat=esa&returndoctype=eml://ecoinformatics.org/eml-2.1.1&returndoctype=eml://ecoinformatics.org/eml-2.1.0&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 data sets</a> <ul>
|
242
|
<p>Browse all existing data sets by title. This operation can be slow as the
|
243
|
number of entries in the registry grows.</p>
|
244
|
|
245
|
</ul>
|
246
|
</li>
|
247
|
|
248
|
<li>
|
249
|
<a href="map.jsp"> View Interactive Map </a>
|
250
|
<ul> <p> View and query the geographic coverages of the data sets. </p> </ul>
|
251
|
</li>
|
252
|
|
253
|
<li><a href="<%=CGI_URL%>/register-dataset.cgi?cfg=esa">Register a new
|
254
|
data set</a><br>
|
255
|
<ul>
|
256
|
<p>The ESA Data Registry form is for registering data sets associated with articles published in the journals of the Ecological Society of America. Other Ecological data sets can be registered with the Knowledge Network for Biocomplexity (<a href="http://knb.ecoinformatics.org">KNB</a>).
|
257
|
</p>
|
258
|
<br>
|
259
|
<strong>Steps for registering an ESA data set</strong>
|
260
|
<br>
|
261
|
<span class="greenbold">Step 1: Create an Account</span> <br>
|
262
|
<p> <a href="<%=CGI_URL%>/cgi-bin/ldapweb.cgi?cfg=esa">Create an account</a> by registering with the <a href="http://knb.ecoinformatics.org">KNB</a>. Many scientists will already have accounts in the KNB, especially those
|
263
|
from institutions like NCEAS and LTER. If you already have an account please use that existing account rather than creating a new one. </p>
|
264
|
<span class="greenbold">Step 2: Login</span><br>
|
265
|
<p><a href="<%=CGI_URL%>/register-dataset.cgi?cfg=esa&stage=loginform">Login to the ESA Registry</a> website with the account you created. Fill out the ESA Data Registry Form.</p>
|
266
|
<span class="greenbold">Step 3: Register Data</span><br>
|
267
|
<p>Fill out the <a href="<%=CGI_URL%>/cgi-bin/register-dataset.cgi?cfg=esa">ESA Data Registry Form</a>. A page titled "Success" will appear when the form has been successfully submitted. </p>
|
268
|
<span class="greenbold">Step 4: Look for Feedback</span> <br>
|
269
|
<p>After you submit, watch for e-mail sent by the ESA moderator regarding whether your data set has been accepted.</p> </ul>
|
270
|
|
271
|
<li><a href="<%=CGI_URL%>/ldapweb.cgi?cfg=esa">Create a new account</a>
|
272
|
<ul>
|
273
|
<li><a href="<%=CGI_URL%>/ldapweb.cgi?cfg=esa&stage=changepass">Change your password</a>
|
274
|
<li><a href="<%=CGI_URL%>/ldapweb.cgi?cfg=esa&stage=resetpass">Reset your password</a>
|
275
|
</ul>
|
276
|
<ul>
|
277
|
The account management tools are used to create and manage registry
|
278
|
accounts. Accounts are free, and are used to identify contributors
|
279
|
so that they can maintain their entries in the future.
|
280
|
</ul>
|
281
|
</li>
|
282
|
</ul>
|
283
|
</p>
|
284
|
</td>
|
285
|
</tr>
|
286
|
|
287
|
<tr><td>
|
288
|
<br>
|
289
|
<b>About the Registry</b>
|
290
|
<p>
|
291
|
This project is a cooperative effort of the
|
292
|
<a href="http://www.esa.org">Ecological Society of
|
293
|
America</a> and the <a href="http://www.nceas.ucsb.edu">National
|
294
|
Center for Ecological Analysis and Synthesis (NCEAS)</a>.
|
295
|
The Data Registry is based on software developed by
|
296
|
the <a href="http://knb.ecoinformatics.org">Knowledge Network for
|
297
|
Biocomplexity (KNB)</a>, and houses metadata that are compliant with <a
|
298
|
href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata
|
299
|
Language (EML)</a>. Consequently, data found in this registry
|
300
|
also are accessible from the larger collection of data found in the
|
301
|
<a href="http://knb.ecoinformatics.org">Knowledge Network for
|
302
|
Biocomplexity (KNB)</a>.
|
303
|
</p>
|
304
|
</td></tr>
|
305
|
</table>
|
306
|
|
307
|
<script language="JavaScript">
|
308
|
insertTemplateClosing("<%=CONTEXT_URL%>");
|
309
|
</script>
|
310
|
</body>
|
311
|
</html>
|