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