Project

General

Profile

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