Project

General

Profile

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: daigle $'
12
 *     '$Date: 2010-01-27 09:51:32 -0800 (Wed, 27 Jan 2010) $'
13
 * '$Revision: 5202 $'
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 pid = document.getElementById("packageId");
81
        	                pid.value=searchString;
82
			} else {
83
	                        searchBox.name = "anyfield";
84
				searchBox.id = "searchBox";
85
				submitFormObj.surName.value = "";
86
                                submitFormObj.givenName.value = "";
87
                                submitFormObj.keyword.value = "";
88
                                submitFormObj.organizationName.value = "";
89
                                submitFormObj.para.value = "";
90
                                submitFormObj.geographicDescription.value = "";
91
                                submitFormObj.literalLayout.value = "";
92
                                submitFormObj.operator.value="INTERSECT";
93
                                var abs = document.getElementById("abstract");
94
                                abs.value="";
95
	                        var pid = document.getElementById("packageId");
96
        	                pid.value="";
97
			}
98
                } else {
99
                        searchBox.name = "anyfield";
100
			searchBox.id = "searchBox";
101
			submitFormObj.surName.value = "";
102
	                submitFormObj.givenName.value = "";
103
                        submitFormObj.keyword.value = "";
104
                        submitFormObj.organizationName.value = "";
105
                        submitFormObj.para.value = "";
106
                        submitFormObj.geographicDescription.value = "";
107
                        submitFormObj.literalLayout.value = "";
108
                        submitFormObj.operator.value="INTERSECT";
109
                        var abs = document.getElementById("abstract");
110
                        abs.value="";
111
	                var pid = document.getElementById("packageId");
112
        	        pid.value="";
113
		}
114

    
115
                var knbCheckBox = document.getElementById("knbCheckBox");
116
                if(knbCheckBox.checked == true){
117
                        document.forms[0].action = "http://knb.ecoinformatics.org/knb/servlet/metacat";
118
                        submitFormObj.qformat.value = "knb";
119
	                var pid = document.getElementById("packageId");
120
        	        pid.value="";
121
                }
122
                else {
123
                	document.forms[0].action = "<%=SERVLET_URL%>";
124
                	submitFormObj.qformat.value = "esa";
125
                }
126

    
127
                var actionField=document.createElement("input");
128
                actionField.setAttribute("type", "hidden");
129
                actionField.setAttribute("name", "action");
130
                actionField.setAttribute("value", "query");
131
                submitFormObj.appendChild(actionField);
132

    
133
                return true;
134
        }
135

    
136
  </script>
137
</head>
138
<body>
139
      <script language="JavaScript">
140
          insertTemplateOpening("<%=CONTEXT_URL%>");
141
          insertSearchBox("<%=CONTEXT_URL%>");
142
      </script>
143
<table width="760" border="0" cellspacing="0" cellpadding="0">
144
  <tr><td colspan="5">
145

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

    
153
<br><br>
154
<tr><td colspan="5">
155
<b>Registry Tools</b>
156

    
157
    
158
<li>
159
<span class="searchbox"><a name="search">Search for Data Sets</a></span><br />
160
<ul><table width="760" border="0" cellspacing="0" cellpadding="0"><tr>
161
<td>
162

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

    
290
<script language="JavaScript">          
291
    insertTemplateClosing("<%=CONTEXT_URL%>");
292
</script>
293
</body>
294
</html>
(14-14/17)