Project

General

Profile

1
<%@ 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: daigle $'
10
 *     '$Date: 2008-07-06 21:25:34 -0700 (Sun, 06 Jul 2008) $'
11
 * '$Revision: 4080 $'
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
 <%@ include file="../../common/configure-check.jsp"%>
33
 
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

    
117
                var actionField=document.createElement("input");
118
                actionField.setAttribute("type", "hidden");
119
                actionField.setAttribute("name", "action");
120
                actionField.setAttribute("value", "query");
121
                submitFormObj.appendChild(actionField);
122

    
123
                return true;
124
        }
125

    
126
  </script>
127
</head>
128
<body>
129
      <script language="JavaScript">
130
          insertTemplateOpening("<%=CONTEXT_URL%>");
131
          insertSearchBox("<%=CONTEXT_URL%>");
132
      </script>
133
<table width="760" border="0" cellspacing="0" cellpadding="0">
134
  <tr><td colspan="5">
135

    
136
Welcome to the ESA Data Registry. This is a publicly accessible registry
137
describing <b>scientific data sets on ecology and the environment</b>.  The
138
data sets registered here are associated with articles published in the
139
journals of the Ecological Society of America.  They are registered here
140
in order to facilitate communication and data sharing by scientists.  See
141
individual registry entries for citation information as well as usage rights.
142

    
143
<br><br>
144
<tr><td colspan="5">
145
<b>Registry Tools</b>
146

    
147
    
148
<li>
149
<span class="searchbox"><a name="search">Search for Data Sets</a></span><br />
150
<ul><table width="760" border="0" cellspacing="0" cellpadding="0"><tr>
151
<td>
152

    
153
<form method="POST" action="<%=SERVLET_URL%>" target="_top" onSubmit="return checkSearch(this)">
154
  <input value="INTERSECT" name="operator" type="hidden">
155
  <input type="hidden" name="organizationName">
156
  <input type="hidden" name="surName">
157
  <input type="hidden" name="givenName">
158
  <input type="hidden" name="keyword">
159
  <input type="hidden" name="para">
160
  <input type="hidden" name="geographicDescription">
161
  <input type="hidden" name="literalLayout">
162
  <input type="hidden" name="@packageId" id="packageId">
163
  <input type="hidden" name="abstract/para" id="abstract">
164
  <input name="qformat" value="esa" type="hidden">
165
  <input name="returnfield" value="originator/individualName/surName" type="hidden">
166
  <input name="returnfield" value="originator/individualName/givenName" type="hidden">
167
  <input name="returnfield" value="creator/individualName/surName" type="hidden">
168
  <input name="returnfield" value="creator/individualName/givenName" type="hidden">
169
  <input name="returnfield" value="originator/organizationName" type="hidden">
170
  <input name="returnfield" value="creator/organizationName" type="hidden">
171
  <input name="returnfield" value="dataset/title" type="hidden">
172
  <input name="returnfield" value="keyword" type="hidden">
173
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.1" type="hidden">
174
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.0" type="hidden">
175
  <input name="returndoctype" value="-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN" type="hidden">
176
  <input name="returndoctype" value="-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN" type="hidden">
177
  <input name="returndoctype" value="-//NCEAS//resource//EN" type="hidden">
178
  <input name="returndoctype" value="-//NCEAS//eml-dataset//EN" type="hidden">
179
  &nbsp;<input size="14" name="anyfield" type="text" value="" id="searchBox">
180
  <input value="Search" type="submit">
181
</form></td>
182
<td><form>
183
<input name="search" type="radio" checked><span class="text_plain"> Search only within the ESA Data Registry</span></input><br>
184
<input name="search" type="radio" id="knbCheckBox"><span class="text_plain"> Search entire Knowledge Network for Biocomplexity</span></input>
185
</form></td>
186
</tr>
187
</table>
188
<form>
189
  <input name="searchAll" type="radio" checked><span >Search Title, Abstract, Keywords, Personnel (Quicker)</span></input><br>
190
  <input name="searchAll" type="radio" id="searchCheckBox"><span >Search all fields (Slower)</span></input>
191
</form>
192
  
193
      This tool allows you to search the registry for data 
194
      sets of interest. When you type text in the box and 
195
      click on the "Search" button, the search will only 
196
      be conducted within the title, author, abstract,
197
      and keyword fields. Checking the "Search All Fields" 
198
      box will search on these and all other existing 
199
      fields (this search will take more time). Checking 
200
      the "Search Knowledge Network for Biocomplexity" box 
201
      will allow you to search the Knowledge Network for 
202
      Biocomplexity (KNB) in addition to the ESA Data 
203
      Registry. The KNB is an international data repository 
204
      dedicated to facilitating ecological and environmental 
205
      research. Click <a href="http://knb.ecoinformatics.org/">
206
      here </a> for more information on the KNB.
207
     <br><br>
208
      You can use the '%' character as a wildcard in your 
209
      searches (e.g., '%biodiversity%' would locate any 
210
      phrase with the word biodiversity embedded within it).
211
      </ul>
212
  </li>
213
  <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>
214
      <p>Browse all existing data sets by title.  This operation can be slow as the
215
      number of entries in the registry grows.</p>
216
      
217
    </ul>
218
  </li>
219
  
220
  <li>
221
      <a href="map.jsp"> View Interactive Map </a> 
222
      <ul> <p> View and query the geographic coverages of the data sets. </p> </ul> 
223
  </li>
224
 
225
  <li><a href="<%=CGI_URL%>/register-dataset.cgi?cfg=esa">Register a new 
226
       data set</a><br>
227
         <ul>
228
           <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>). 
229
           </p>
230
	   <br>
231
           <strong>Steps for registering an ESA data set</strong>
232
	    <br>
233
           <span class="greenbold">Step 1: Create an Account</span> <br>
234
           <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 
235
from institutions like NCEAS and LTER. If you already have an account please use that existing account rather than creating a new one. </p>
236
           <span class="greenbold">Step 2: Login</span><br>
237
	   <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>
238
           <span class="greenbold">Step 3: Register Data</span><br>
239
	  <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>
240
           <span class="greenbold">Step 4: Look for Feedback</span> <br>
241
<p>After you submit, watch for e-mail sent by the ESA moderator regarding whether your data set  has been accepted.</p>      </ul>
242
  
243
      <li><a href="<%=CGI_URL%>/ldapweb.cgi?cfg=esa">Create a new account</a>
244
    <ul>
245
        <li><a href="<%=CGI_URL%>/ldapweb.cgi?cfg=esa&amp;stage=changepass">Change your password</a>
246
        <li><a href="<%=CGI_URL%>/ldapweb.cgi?cfg=esa&amp;stage=resetpass">Reset your password</a>
247
    </ul>
248
        <ul>
249
      The account management tools are used to create and manage registry 
250
      accounts.   Accounts are free, and are used to identify contributors
251
      so that they can maintain their entries in the future.  
252
    </ul>
253
  </li>
254
</ul>
255
</p>
256
</td>
257
</tr>
258
 
259
  <tr><td>
260
   <br>
261
   <b>About the Registry</b>
262
    <p>
263
    This project is a cooperative effort of the
264
    <a href="http://www.esa.org">Ecological Society of
265
    America</a> and the <a href="http://www.nceas.ucsb.edu">National
266
    Center for Ecological Analysis and Synthesis (NCEAS)</a>.  
267
    The Data Registry is based on software developed by
268
    the <a href="http://knb.ecoinformatics.org">Knowledge Network for
269
    Biocomplexity (KNB)</a>, and houses metadata that are compliant with <a
270
    href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata
271
    Language (EML)</a>.  Consequently, data found in this registry
272
    also are accessible from the larger collection of data found in the
273
    <a href="http://knb.ecoinformatics.org">Knowledge Network for 
274
    Biocomplexity (KNB)</a>.  
275
    </p>
276
  </td></tr>
277
</table>
278

    
279
<script language="JavaScript">          
280
    insertTemplateClosing("<%=CONTEXT_URL%>");
281
</script>
282
</body>
283
</html>
(14-14/17)