Project

General

Profile

1
<!--
2
  *  '$RCSfile$'
3
  *      Authors: Matt Jones
4
  *    Copyright: 2000 Regents of the University of California and the
5
  *               National Center for Ecological Analysis and Synthesis
6
  *  For Details: http://www.nceas.ucsb.edu/
7
  *
8
  *   '$Author: sgarg $'
9
  *     '$Date: 2005-10-26 14:20:13 -0700 (Wed, 26 Oct 2005) $'
10
  * '$Revision: 2695 $'
11
  * 
12
  * This is an HTML document for displaying metadata catalog tools
13
  *
14
  * This program is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
16
  * the Free Software Foundation; either version 2 of the License, or
17
  * (at your option) any later version.
18
  *
19
  * This program is distributed in the hope that it will be useful,
20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
  * GNU General Public License for more details.
23
  *
24
  * You should have received a copy of the GNU General Public License
25
  * along with this program; if not, write to the Free Software
26
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27
-->
28
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29
<html>
30
<head>
31
<title>NCEAS Data Repository</title>
32
<link rel="stylesheet" href="@html-path@/style/default.css" type="text/css">
33
  <link rel="stylesheet" type="text/css" 
34
        href="@systemidserver@@style-skins-path@/nceas/nceas.css"></link>
35
  <script language="JavaScript" type="text/JavaScript"
36
          src="@systemidserver@@style-skins-path@/nceas/nceas.js"></script>
37
  <script language="JavaScript" type="text/JavaScript"
38
          src="@systemidserver@@style-common-path@/branding.js"></script>
39
  <script language="Javascript">
40
        function trim(stringToTrim) {
41
                return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
42
        }
43

    
44
        function checkSearch(submitFormObj) {
45
                var searchString = trim(submitFormObj.searchstring.value);
46
                var checkBox = document.getElementById("searchCheckBox");
47

    
48
                if (searchString=="") {
49
                        searchString="%";
50
                }
51

    
52
                if(checkBox.checked == false && searchString!="%"){
53
                        submitFormObj.query.value = "<pathquery version=\"1.2\">"
54
                                                           +"<querytitle>Web-Search</querytitle>"
55
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>"
56
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>"
57
                                                           +"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype>"
58
                                                           +"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype>"
59
                                                           +"<returndoctype>-//NCEAS//resource//EN</returndoctype>"
60
                                                           +"<returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>"
61
                                                           +"<returnfield>originator/individualName/surName</returnfield>"
62
                                                           +"<returnfield>originator/individualName/givenName</returnfield>"
63
                                                           +"<returnfield>creator/individualName/surName</returnfield>"
64
                                                           +"<returnfield>creator/individualName/givenName</returnfield>"
65
                                                           +"<returnfield>originator/organizationName</returnfield>"
66
                                                           +"<returnfield>creator/organizationName</returnfield>"
67
                                                           +"<returnfield>dataset/title</returnfield>"
68
                                                           +"<returnfield>keyword</returnfield>"
69
                                                           +"<querygroup operator=\"INTERSECT\">"
70
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
71
                                                                        +"<value>National Center for Ecological Analysis and Synthesis</value>"
72
                                                                        +"<pathexpr>organizationName</pathexpr>"
73
                                                                +"</queryterm>"
74
                                                                +"<querygroup operator=\"UNION\">"
75
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
76
                                                                                +"<value>" + searchString + "</value>"
77
                                                                                +"<pathexpr>surName</pathexpr>"
78
                                                                        +"</queryterm>"
79
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
80
                                                                                +"<value>" + searchString + "</value>"
81
                                                                                +"<pathexpr>givenName</pathexpr>"
82
                                                                        +"</queryterm>"
83
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
84
                                                                                +"<value>" + searchString + "</value>"
85
                                                                                +"<pathexpr>keyword</pathexpr>"
86
                                                                        +"</queryterm>"
87
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
88
                                                                                +"<value>" + searchString + "</value>"
89
                                                                         +"<pathexpr>para</pathexpr>"
90
                                                                        +"</queryterm>"
91
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
92
                                                                                +"<value>" + searchString + "</value>"
93
                                                                                +"<pathexpr>geographicDescription</pathexpr>"
94
                                                                        +"</queryterm>"
95
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
96
                                                                                +"<value>" + searchString + "</value>"
97
                                                                                +"<pathexpr>literalLayout</pathexpr>"
98
                                                                        +"</queryterm>"
99
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
100
                                                                                +"<value>" + searchString + "</value>"
101
                                                                                +"<pathexpr>abstract/para</pathexpr>"
102
                                                                        +"</queryterm>"
103
                                                                +"</querygroup>"
104
                                                          +"</querygroup>"
105
                                                  +"</pathquery>";
106
                } else {
107
                        queryTermString = "";
108
                        if(searchString != "%"){
109
                                queryTermString = "<queryterm searchmode=\"contains\" casesensitive=\"false\">"
110
                                                        +"<value>" + searchString + "</value>"
111
                                                 +"</queryterm>";
112
                        }
113
                        submitFormObj.query.value = "<pathquery version=\"1.2\">"
114
                                                           +"<querytitle>Web-Search</querytitle>"
115
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>"
116
                                                           +"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>"
117
                                                           +"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype>"
118
                                                           +"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype>"
119
                                                           +"<returndoctype>-//NCEAS//resource//EN</returndoctype>"
120
                                                           +"<returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>"
121
                                                           +"<returnfield>originator/individualName/surName</returnfield>"
122
                                                           +"<returnfield>originator/individualName/givenName</returnfield>"
123
                                                           +"<returnfield>creator/individualName/surName</returnfield>"
124
                                                           +"<returnfield>creator/individualName/givenName</returnfield>"
125
                                                           +"<returnfield>originator/organizationName</returnfield>"
126
                                                           +"<returnfield>creator/organizationName</returnfield>"
127
                                                           +"<returnfield>dataset/title</returnfield>"
128
                                                           +"<returnfield>keyword</returnfield>"
129
                                                           +"<querygroup operator=\"INTERSECT\">"
130
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
131
                                                                        +"<value>National Center for Ecological Analysis and Synthesis</value>"
132
                                                                        +"<pathexpr>organizationName</pathexpr>"
133
                                                                +"</queryterm>"
134
                                                                + queryTermString
135
                                                           +"</querygroup>"
136
                                                    +"</pathquery>";
137

    
138
                }
139
                return true;
140
        }
141

    
142
        function searchAll(){
143
                var checkBox = document.getElementById("searchCheckBox");
144
                if(checkBox.checked == true){
145
                        alert("You have selected to search all possible existing fields. This search will take longer.");
146
                }
147
        }
148
   </script>
149
</head>
150
<body>
151
      <script language="JavaScript">
152
          insertTemplateOpening();
153
          insertSearchBox();
154
      </script>
155
<table width="760" border="0" cellspacing="0" cellpadding="0">
156
  <tr><td colspan="5">
157
<p>
158
Welcome to the NCEAS Data Repository. This repository contains information 
159
about the research data sets collected and collated within or under the 
160
auspices of NCEAS' funded activities. A number of these data sets were
161
synthesized from multiple data sources that originated from the efforts
162
of many contributors, while others originated from a single investigator.
163
Credit for the data sets in this repository goes to the investigators who
164
collected the data, and also to the NCEAS working groups and scientists who
165
compiled the data for synthetic purposes. See each data package for a list
166
of the people and institutions involved.
167
</p>
168
<p>&nbsp;</p>
169
<p>Data documentation (metadata) can be contributed to the repository in 
170
several ways, each with its own strengths.  The 
171
<a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">Register a New Data Set</a>
172
web form is a simple way to get started with providing metadata about the
173
existence of a data set.  But it can not be used for fully documenting the
174
data, nor can you upload the data objects themselves through this form.
175
In order to provide a more complete description of data, we recommend using the
176
<a href="http://knb.ecoinformatics.org/morphoportal.jsp" target="_top">Morpho</a> 
177
software application which is fully compatible with this repository.
178
</p>
179
<p>&nbsp;</p>
180
<p><b>Repository Tools</b></p>
181
<p>
182
<menu>
183
<li><span class="searchbox"><a name="search"> Search for Data Sets</a></span><br />
184
    <menu>
185
<form method="POST" action="@servlet-path@" target="_top" onSubmit="return checkSearch(this)">
186
  <input value="UNION" name="operator" type="hidden">
187
  &nbsp;<input size="14" name="searchstring" type="text" value="" id="searchBox">
188
  <input name="query" type="hidden"/>
189
  <input name="qformat" value="nceas" type="hidden">
190
  <input name="enableediting" value="true" type="hidden">
191
  <input type="hidden" name="action" value="squery">
192
  <input value="Search" type="submit">
193
</form>
194
  <input type="CHECKBOX" name="searchAll" onClick="searchAll()" id="searchCheckBox" >
195
  <span class="regtext">Search All Fields</span>
196
   <br><br>
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).
204
     <br><br>
205
      You can use the '%' character as a wildcard in your
206
      searches (e.g., '%biodiversity%' would locate any
207
      phrase with the word biodiversity embedded within it).
208
      </menu>
209
    <br><br>
210
  </li>
211

    
212
  <li><a href="@servlet-path@?action=query&amp;operator=INTERSECT&amp;anyfield=%25&amp;organizationName=National%20Center%20for%20Ecological%20Analysis%20and%20Synthesis&amp;qformat=nceas&amp;enableediting=true&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.0&amp;returndoctype=eml://ecoinformatics.org/eml-2.0.1&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 existing NCEAS data sets</a><br />
213
    <menu>
214
      The repository search system is used to locate data sets of interest
215
      by searching through existing registered data sets.  
216
      Presently the search covers all fields, including
217
      author, title, abstract, keywords, and other documentation
218
      for each data set.  (More sophisticated search capabilities, 
219
      including boolean field searches, will be available in future.)
220
    </menu>
221
  </li>
222
  <p>&nbsp;</p>
223
  <li><a href="@cgi-prefix@/register-dataset.cgi?cfg=nceas">Register a new NCEAS data set</a><br />
224
    <menu>
225
      The registration page is used to submit information about a <b>new</b>
226
      data set associated with NCEAS research.  The documentation about the
227
      data set will be reviewed and then submitted to the repository.
228
    </menu>
229
  </li>
230
</menu>
231
</p>
232
<p>&nbsp;</p>
233
<p>
234
This repository is an effort of the <a href="http://www.nceas.ucsb.edu">National 
235
Center for Ecological Analysis and Synthesis (NCEAS)</a> and
236
is based on software developed by the
237
<a href="http://knb.ecoinformatics.org">Knowledge Network for 
238
Biocomplexity (KNB)</a>, and houses metadata that are compliant with 
239
<a href="http://knb.ecoinformatics.org/software/eml/">Ecological Metadata 
240
Language (EML)</a>.
241
</p>
242
<p>
243
If you have any questions, comments or problems regarding this form, please 
244
contact the repository administrator at 
245
<a href="mailto:help@nceas.ucsb.edu">help@nceas.ucsb.edu</a>.
246
</p>
247
  </td></tr>
248
</table>
249
<p>&nbsp;</p>
250
<script language="JavaScript">          
251
    insertTemplateClosing();
252
</script>
253
</body>
254
</html>
(2-2/8)