1
|
<%@ page language="java" %>
|
2
|
<%
|
3
|
/**
|
4
|
*
|
5
|
* '$RCSfile$'
|
6
|
* Copyright: 2008 Regents of the University of California and the
|
7
|
* National Center for Ecological Analysis and Synthesis
|
8
|
* '$Author: daigle $'
|
9
|
* '$Date: 2008-11-03 16:09:04 -0800 (Mon, 03 Nov 2008) $'
|
10
|
* '$Revision: 4505 $'
|
11
|
*
|
12
|
* This program is free software; you can redistribute it and/or modify
|
13
|
* it under the terms of the GNU General Public License as published by
|
14
|
* the Free Software Foundation; either version 2 of the License, or
|
15
|
* (at your option) any later version.
|
16
|
*
|
17
|
* This program is distributed in the hope that it will be useful,
|
18
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
20
|
* GNU General Public License for more details.
|
21
|
|
22
|
* You should have received a copy of the GNU General Public License
|
23
|
* along with this program; if not, write to the Free Software
|
24
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
25
|
*/
|
26
|
%>
|
27
|
|
28
|
<%@ include file="../../common/common-settings.jsp"%>
|
29
|
<%@ include file="../../common/configure-check.jsp"%>
|
30
|
|
31
|
<!--____________________________max_width____________________________________-->
|
32
|
|
33
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
34
|
<html>
|
35
|
<head>
|
36
|
<title>OBFS Data Registry</title>
|
37
|
<link rel="stylesheet" type="text/css"
|
38
|
href="<%=STYLE_SKINS_URL%>/obfs/obfs.css"></link>
|
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
|
if (searchString=="") {
|
47
|
searchString="%";
|
48
|
}
|
49
|
|
50
|
submitFormObj.query.value = "<pathquery version=\"1.2\">"
|
51
|
+"<querytitle>Web-Search</querytitle>"
|
52
|
+"<returndoctype>eml://ecoinformatics.org/eml-2.1.0</returndoctype>"
|
53
|
+"<returndoctype>eml://ecoinformatics.org/eml-2.0.1</returndoctype>"
|
54
|
+"<returndoctype>eml://ecoinformatics.org/eml-2.0.0</returndoctype>"
|
55
|
+"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN</returndoctype>"
|
56
|
+"<returndoctype>-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN</returndoctype>"
|
57
|
+"<returndoctype>-//NCEAS//resource//EN</returndoctype>"
|
58
|
+"<returndoctype>-//NCEAS//eml-dataset//EN</returndoctype>"
|
59
|
+"<returnfield>originator/individualName/surName</returnfield>"
|
60
|
+"<returnfield>originator/individualName/givenName</returnfield>"
|
61
|
+"<returnfield>creator/individualName/surName</returnfield>"
|
62
|
+"<returnfield>creator/individualName/givenName</returnfield>"
|
63
|
+"<returnfield>originator/organizationName</returnfield>"
|
64
|
+"<returnfield>creator/organizationName</returnfield>"
|
65
|
+"<returnfield>dataset/title</returnfield>"
|
66
|
+"<returnfield>keyword</returnfield>"
|
67
|
+"<querygroup operator=\"INTERSECT\">"
|
68
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
69
|
+"<value>Organization of Biological Field Stations</value>"
|
70
|
+"<pathexpr>organizationName</pathexpr>"
|
71
|
+"</queryterm>"
|
72
|
+"<querygroup operator=\"UNION\">"
|
73
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
74
|
+"<value>" + searchString + "</value>"
|
75
|
+"<pathexpr>surName</pathexpr>"
|
76
|
+"</queryterm>"
|
77
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
78
|
+"<value>" + searchString + "</value>"
|
79
|
+"<pathexpr>givenName</pathexpr>"
|
80
|
+"</queryterm>"
|
81
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
82
|
+"<value>" + searchString + "</value>"
|
83
|
+"<pathexpr>keyword</pathexpr>"
|
84
|
+"</queryterm>"
|
85
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
86
|
+"<value>" + searchString + "</value>"
|
87
|
+"<pathexpr>para</pathexpr>"
|
88
|
+"</queryterm>"
|
89
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
90
|
+"<value>" + searchString + "</value>"
|
91
|
+"<pathexpr>geographicDescription</pathexpr>"
|
92
|
+"</queryterm>"
|
93
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
94
|
+"<value>" + searchString + "</value>"
|
95
|
+"<pathexpr>literalLayout</pathexpr>"
|
96
|
+"</queryterm>"
|
97
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
98
|
+"<value>" + searchString + "</value>"
|
99
|
+"<pathexpr>title</pathexpr>"
|
100
|
+"</queryterm>"
|
101
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
102
|
+"<value>" + searchString + "</value>"
|
103
|
+"<pathexpr>@packageId</pathexpr>"
|
104
|
+"</queryterm>"
|
105
|
+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
|
106
|
+"<value>" + searchString + "</value>"
|
107
|
+"<pathexpr>abstract/para</pathexpr>"
|
108
|
+"</queryterm>"
|
109
|
+"</querygroup>"
|
110
|
+"</querygroup>"
|
111
|
+"</pathquery>";
|
112
|
return true;
|
113
|
}
|
114
|
</script>
|
115
|
|
116
|
</head>
|
117
|
|
118
|
<body>
|
119
|
<table width="760" border="0" cellspacing="0" cellpadding="0">
|
120
|
<tr>
|
121
|
<td valign="middle" colspan="4" class="title">Organization of Biological
|
122
|
Field Stations<br> Data Registry</td>
|
123
|
<td rowspan="3" width="20%" valign="top">
|
124
|
<div align="right"><img src="<%=STYLE_SKINS_URL%>/obfs/obfs-logo.png"></div>
|
125
|
</td>
|
126
|
</tr>
|
127
|
<tr>
|
128
|
<td class="spacerrow" valign="top" colspan="4"> </td>
|
129
|
</tr>
|
130
|
<tr>
|
131
|
<td valign="top" width="20%">
|
132
|
<p><a href="http://www.obfs.org" target="_top"> OBFS Home</a></p>
|
133
|
</td>
|
134
|
<td valign="top" width="20%">
|
135
|
<p><a href="<%=STYLE_SKINS_URL%>/obfs/index.jsp" target="_top">Registry Home</a></p>
|
136
|
</td>
|
137
|
<td valign="top" width="20%">
|
138
|
<p><a href="<%=CGI_URL%>/register-dataset.cgi?cfg=obfs" target="_top">Register a <br>New Data Set</a></p>
|
139
|
</td>
|
140
|
<td valign="top" width="20%">
|
141
|
<!--
|
142
|
<p>
|
143
|
<a href="<%=SERVLET_URL%>?action=query&operator=INTERSECT&anyfield=%25&organizationName=Organization%20of%20Biological%20Field%20Stations&qformat=obfs&returndoctype=eml://ecoinformatics.org/eml-2.1.0&returndoctype=eml://ecoinformatics.org/eml-2.0.1&returndoctype=eml://ecoinformatics.org/eml-2.0.0&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN&returndoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN&returnfield=dataset/title&returnfield=keyword&returnfield=originator/individualName/surName&returnfield=creator/individualName/surName&returnfield=originator/organizationName&returnfield=creator/organizationName" target="_top">Search for Data</a></p>
|
144
|
-->
|
145
|
<p class="searchbox">
|
146
|
Search for Data<br />
|
147
|
<form method="POST" action="<%=SERVLET_URL%>" target="_top" onSubmit="return checkSearch(this)">
|
148
|
<input value="INTERSECT" name="operator" type="hidden">
|
149
|
<input size="14" name="searchstring" type="text" value="">
|
150
|
<input name="query" type="hidden"/>
|
151
|
<input name="qformat" value="obfs" type="hidden">
|
152
|
<input name="enableediting" value="true" type="hidden">
|
153
|
<input type="hidden" name="action" value="squery">
|
154
|
<!-- <input value="Start Search" type="submit"> -->
|
155
|
</form>
|
156
|
</p>
|
157
|
</td>
|
158
|
</tr>
|
159
|
</table>
|
160
|
</body>
|
161
|
</html>
|