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