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: leinfelder $'
10
 *     '$Date: 2008-07-25 18:34:03 -0700 (Fri, 25 Jul 2008) $'
11
 * '$Revision: 4164 $'
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
                else {
117
                	document.forms[0].action = "<%=SERVLET_URL%>";
118
                	submitFormObj.qformat.value = "esa";
119
                }
120

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

    
283
<script language="JavaScript">          
284
    insertTemplateClosing("<%=CONTEXT_URL%>");
285
</script>
286
</body>
287
</html>
(14-14/17)