1 | package collector
|
---|
2 |
|
---|
3 | _imagethispage_ {<a href="_httppagecollector_">_iconhcolect_</a>}
|
---|
4 |
|
---|
5 | # _pagescriptextra_ will be set to the appropriate _***scriptextra_
|
---|
6 | # macro from within the server
|
---|
7 | _pagescriptextra_ {}
|
---|
8 |
|
---|
9 | # this is just like the _gsimage_ macro but it calls the check_submit() javascript
|
---|
10 | # function instead of linking directly to the page (_1_ argument isn't used)
|
---|
11 | _gsjimage_ {<a href="javascript:check\_submit('_4_');" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);"><img
|
---|
12 | name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_"></a>}
|
---|
13 | _gsjimage_ [v=1] {<a href="javascript:check\_submit('_4_');">_5_</a><br>}
|
---|
14 |
|
---|
15 | # _gstimage_ is also similar to _gsimage_ but is used where buttons occur in a sub-frame and
|
---|
16 | # require target=_top
|
---|
17 | _gstimage_ {<a href="_1_" onMouseover="roll('_4_',1);" onMouseOut="roll('_4_',0);" target="\_top"><img
|
---|
18 | name="_4_" src="_2_" onLoad="gbutton(this,'_3_');" border=0 alt="_5_"></a>}
|
---|
19 | _gstimage_ [v=1] {<a href="_1_" target="\_top">_5_</a><br>}
|
---|
20 |
|
---|
21 | # a plain header for those pages that need it (the _pagebanner_ macro
|
---|
22 | # will be set to this by the server for those pages.
|
---|
23 | _plainbanner_ {}
|
---|
24 |
|
---|
25 | # dont want links to "help" or "preferences" pages from within
|
---|
26 | # collector
|
---|
27 | _javalinks_ {_imagehome_}
|
---|
28 | _javalinks_ [v=1] {
|
---|
29 | _imagehome_<br>
|
---|
30 | }
|
---|
31 |
|
---|
32 |
|
---|
33 | #######################################################################
|
---|
34 | # icons
|
---|
35 |
|
---|
36 | _iconhcolect_ {<img src="_httpimg_/h_colect.gif" alt="the collector" border=0>}
|
---|
37 | _icongreyarrow_ {<img src="_httpimg_/grarrow.gif">}
|
---|
38 | _icongreyuparrow_ {<img src="_httpimg_/guarrow.gif">}
|
---|
39 | _iconstop_ {<img src="_httpimg_/stop.gif" border=0>}
|
---|
40 |
|
---|
41 | _icongcinfoof_ {<img src="_httpicongcinfoof_" alt="_textinfo_">}
|
---|
42 | _icongcinfoon_ {<img src="_httpicongcinfoon_" alt="_textinfo_">}
|
---|
43 | _iconycinfoof_ {<img src="_httpiconycinfoof_" alt="_textinfo_">}
|
---|
44 | _iconycinfoon_ {<img src="_httpiconycinfoon_" alt="_textinfo_">}
|
---|
45 | _iconncinfoof_ {<img src="_httpiconncinfoof_" alt="_textinfo_">}
|
---|
46 | _textinfo_ {collection information}
|
---|
47 |
|
---|
48 | _icongcsrceof_ {<img src="_httpicongcsrceof_" alt="_textsrce_">}
|
---|
49 | _icongcsrceon_ {<img src="_httpicongcsrceon_" alt="_textsrce_">}
|
---|
50 | _iconycsrceof_ {<img src="_httpiconycsrceof_" alt="_textsrce_">}
|
---|
51 | _iconycsrceon_ {<img src="_httpiconycsrceon_" alt="_textsrce_">}
|
---|
52 | _iconncsrceof_ {<img src="_httpiconncsrceof_" alt="_textsrce_">}
|
---|
53 | _textsrce_ {source data}
|
---|
54 |
|
---|
55 | _icongcconfof_ {<img src="_httpicongcconfof_" alt="_textconf_">}
|
---|
56 | _icongcconfon_ {<img src="_httpicongcconfon_" alt="_textconf_">}
|
---|
57 | _iconycconfof_ {<img src="_httpiconycconfof_" alt="_textconf_">}
|
---|
58 | _iconycconfon_ {<img src="_httpiconycconfon_" alt="_textconf_">}
|
---|
59 | _iconncconfof_ {<img src="_httpiconncconfof_" alt="_textconf_">}
|
---|
60 | _textconf_ {configure collection}
|
---|
61 |
|
---|
62 | _icongcbildof_ {<img src="_httpicongcbildof_" alt="_textbild_">}
|
---|
63 | _icongcbildon_ {<img src="_httpicongcbildon_" alt="_textbild_">}
|
---|
64 | _iconycbildof_ {<img src="_httpiconycbildof_" alt="_textbild_">}
|
---|
65 | _iconycbildon_ {<img src="_httpiconycbildon_" alt="_textbild_">}
|
---|
66 | _iconncbildof_ {<img src="_httpiconncbildof_" alt="_textbild_">}
|
---|
67 | _textbild_ {build}
|
---|
68 |
|
---|
69 | _icongcviewof_ {<img src="_httpicongcviewof_" alt="_textview_">}
|
---|
70 | _icongcviewon_ {<img src="_httpicongcviewon_" alt="_textview_">}
|
---|
71 | _iconycviewof_ {<img src="_httpiconycviewof_" alt="_textview_">}
|
---|
72 | _iconycviewon_ {<img src="_httpiconycviewon_" alt="_textview_">}
|
---|
73 | _iconncviewof_ {<img src="_httpiconncviewof_" alt="_textview_">}
|
---|
74 | _textview_ {view}
|
---|
75 |
|
---|
76 | _icongcdelof_ {<img src="_httpicongcdelof_" alt="_textdel_">}
|
---|
77 | _icongcdelon_ {<img src="_httpicongcdelon_" alt="_textdel_">}
|
---|
78 | _textdel_ {delete collection}
|
---|
79 |
|
---|
80 | #######################################################################
|
---|
81 | # http macros
|
---|
82 |
|
---|
83 | _httpinfo_ {_gwcgi_?e=_compressedoptions_&cp=info}
|
---|
84 | _httpsrce_ {_gwcgi_?e=_compressedoptions_&cp=srce}
|
---|
85 | _httpconf_ {_gwcgi_?e=_compressedoptions_&cp=conf}
|
---|
86 | _httpbild_ {_gwcgi_?e=_compressedoptions_&cp=bild}
|
---|
87 | _httpview_ {_gwcgi_?a=p&p=about&c=_cgiargbc1dirname_}
|
---|
88 | _httpdel_ {javascript:do_delete();}
|
---|
89 |
|
---|
90 | _httpicongcinfoof_ {_httpimg_/gcinfoof.gif}
|
---|
91 | _httpicongcinfoon_ {_httpimg_/gcinfoon.gif}
|
---|
92 | _httpiconycinfoof_ {_httpimg_/ycinfoof.gif}
|
---|
93 | _httpiconycinfoon_ {_httpimg_/ycinfoon.gif}
|
---|
94 | _httpiconncinfoof_ {_httpimg_/ncinfoof.gif}
|
---|
95 |
|
---|
96 | _httpicongcsrceof_ {_httpimg_/gcsrceof.gif}
|
---|
97 | _httpicongcsrceon_ {_httpimg_/gcsrceon.gif}
|
---|
98 | _httpiconycsrceof_ {_httpimg_/ycsrceof.gif}
|
---|
99 | _httpiconycsrceon_ {_httpimg_/ycsrceon.gif}
|
---|
100 | _httpiconncsrceof_ {_httpimg_/ncsrceof.gif}
|
---|
101 |
|
---|
102 | _httpicongcconfof_ {_httpimg_/gcconfof.gif}
|
---|
103 | _httpicongcconfon_ {_httpimg_/gcconfon.gif}
|
---|
104 | _httpiconycconfof_ {_httpimg_/ycconfof.gif}
|
---|
105 | _httpiconycconfon_ {_httpimg_/ycconfon.gif}
|
---|
106 | _httpiconncconfof_ {_httpimg_/ncconfof.gif}
|
---|
107 |
|
---|
108 | _httpicongcbildof_ {_httpimg_/gcbildof.gif}
|
---|
109 | _httpicongcbildon_ {_httpimg_/gcbildon.gif}
|
---|
110 | _httpiconycbildof_ {_httpimg_/ycbildof.gif}
|
---|
111 | _httpiconycbildon_ {_httpimg_/ycbildon.gif}
|
---|
112 | _httpiconncbildof_ {_httpimg_/ncbildof.gif}
|
---|
113 |
|
---|
114 | _httpicongcviewof_ {_httpimg_/gcviewof.gif}
|
---|
115 | _httpicongcviewon_ {_httpimg_/gcviewon.gif}
|
---|
116 | _httpiconycviewof_ {_httpimg_/ycviewof.gif}
|
---|
117 | _httpiconycviewon_ {_httpimg_/ycviewon.gif}
|
---|
118 | _httpiconncviewof_ {_httpimg_/ncviewof.gif}
|
---|
119 |
|
---|
120 | _httpicongcdelof_ {_httpimg_/gcdelof.gif}
|
---|
121 | _httpicongcdelon_ {_httpimg_/gcdelon.gif}
|
---|
122 |
|
---|
123 |
|
---|
124 | #######################################################################
|
---|
125 | # intro
|
---|
126 | #######################################################################
|
---|
127 |
|
---|
128 | _introscriptextra_ {}
|
---|
129 |
|
---|
130 | _introcontent_ {
|
---|
131 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
132 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
133 |
|
---|
134 | <center>
|
---|
135 | <table width=_pagewidth_>
|
---|
136 | <tr><td>
|
---|
137 | _iconblankbar_
|
---|
138 | <center>
|
---|
139 | <h2>The Collector</h2>
|
---|
140 | <p><i>The pen is mightier than the sword!
|
---|
141 | <br>Building and distributing information collections carries responsibilities
|
---|
142 | that you may want to reflect on before you begin.
|
---|
143 | There are legal issues of copyright: being able to access documents doesn't
|
---|
144 | mean you can necessarily give them to others.
|
---|
145 | There are social issues: collections should respect the customs of the
|
---|
146 | community out of which the documents arise.
|
---|
147 | And there are ethical issues: some things simply should not be made
|
---|
148 | available to others.
|
---|
149 | <br>Be sensitive to the power of information and use it wisely.
|
---|
150 | </i>
|
---|
151 | </center>
|
---|
152 | <p>_iconblankbar_
|
---|
153 |
|
---|
154 | <p>The Collector helps you to create new collections, modify or add to
|
---|
155 | existing ones, or delete collections. To do this you will be guided through a
|
---|
156 | sequence of Web pages which request the information that is needed.
|
---|
157 |
|
---|
158 | <p>First, you must decide whether to
|
---|
159 | <ul>
|
---|
160 | <input type=radio name=cp value=new checked>
|
---|
161 | create an entirely new collection
|
---|
162 | <br>
|
---|
163 | <input type=radio name=cp value=existing>
|
---|
164 | work with an existing one, adding data to it or deleting it.
|
---|
165 | </ul>
|
---|
166 | <p>_iconblankbar_
|
---|
167 |
|
---|
168 | <p>In order to build or modify digital library collections you must sign in.
|
---|
169 | This is to protect you from others logging in to your computer and altering the
|
---|
170 | information on it. Note: for security reasons you will be automatically logged
|
---|
171 | out once a 30 minute period has elapsed since you logged in. If this happens,
|
---|
172 | don't worry! -- you will be invited to log in again and can continue from where
|
---|
173 | you left off.
|
---|
174 |
|
---|
175 | <p>Please enter your username and password, and click the button to sign in.
|
---|
176 |
|
---|
177 | <table><tr><td width=80>Name:</td>
|
---|
178 | <td><input type="text" name="un" value="" size=10></td>
|
---|
179 | <td></td></tr>
|
---|
180 | <tr><td>Password:</td>
|
---|
181 | <td><input type="password" name="pw" size=10></td>
|
---|
182 | <td><input type="submit" value="sign in"></td>
|
---|
183 | </tr>
|
---|
184 | </table>
|
---|
185 | <p>_iconblankbar_
|
---|
186 | </td></tr>
|
---|
187 | </table></center>
|
---|
188 |
|
---|
189 | </form>
|
---|
190 | }
|
---|
191 |
|
---|
192 |
|
---|
193 | #######################################################################
|
---|
194 | # existing (Changing an existing collection page)
|
---|
195 | #######################################################################
|
---|
196 |
|
---|
197 | _existingscriptextra_ {
|
---|
198 | function check\_submit (gotopage) \{
|
---|
199 | var form = document.collectorform;
|
---|
200 | if (gotopage == "srce") \{
|
---|
201 | form.bc1esrce.value = "1";
|
---|
202 | \}
|
---|
203 | if (gotopage == "conf") \{
|
---|
204 | form.bc1econf.value = "1";
|
---|
205 | \}
|
---|
206 | form.cp.value = gotopage;
|
---|
207 | form.submit();
|
---|
208 | \}
|
---|
209 |
|
---|
210 | function do_delete () \{
|
---|
211 | var form = document.collectorform;
|
---|
212 | var i = form.bc1dirname.selectedIndex;
|
---|
213 | var del = confirm ("Confirm deletion of " + form.bc1dirname.options[i].value + " collection?");
|
---|
214 | if (del) \{
|
---|
215 | form.bc1dodelete.value = "1";
|
---|
216 | form.submit();
|
---|
217 | \}
|
---|
218 | \}
|
---|
219 | }
|
---|
220 |
|
---|
221 | _changeexisting_ {
|
---|
222 | <p>First select the collection that you want to work with (write protected
|
---|
223 | collections won't appear in this list).
|
---|
224 | <br>_fullnamemenu_<br>
|
---|
225 | <p>With the collection you have selected, you can
|
---|
226 |
|
---|
227 | <table cellspacing=6>
|
---|
228 | <tr><td width=20 align=right valign=bottom>1.</td>
|
---|
229 | <td valign=bottom>_gsjimage_( ,_collector:httpicongcsrceof_,_collector:httpicongcsrceon_,srce,_collector:textsrce_)</td>
|
---|
230 | <td valign=bottom>Add more data and rebuild the collection</td></tr>
|
---|
231 | <tr><td align=right valign=bottom>2.</td>
|
---|
232 | <td valign=bottom>_gsjimage_(_,_collector:httpicongcconfof_,_collector:httpicongcconfon_,conf,_collector:textconf_)</td>
|
---|
233 | <td valign=bottom>Edit the collection configuration file and rebuild the collection</td></tr>
|
---|
234 | <tr><td align=right valign=bottom>3.</td>
|
---|
235 | <td valign=bottom>_gsimage_(_collector:httpdel_,_collector:httpicongcdelof_,_collector:httpicongcdelon_,del,_collector:textdel_)</td>
|
---|
236 | <td valign=bottom>Delete the collection entirely</td></tr>
|
---|
237 | </table>
|
---|
238 | }
|
---|
239 |
|
---|
240 | _existingcontent_ {
|
---|
241 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
242 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
243 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
244 | <input type=hidden name="bc1dodelete" value="0">
|
---|
245 | <input type=hidden name="bc1esrce" value="0">
|
---|
246 | <input type=hidden name="bc1econf" value="0">
|
---|
247 | <center>
|
---|
248 | <table width=_pagewidth_>
|
---|
249 | <tr><td>
|
---|
250 | _iconblankbar_
|
---|
251 | <center><h2>Changing an existing collection</h2></center>
|
---|
252 | _iconblankbar_
|
---|
253 | _If_("_fullnamemenu_" eq "",<p>No write-enabled collections are available for modifying,_changeexisting_)
|
---|
254 | <p>_iconblankbar_
|
---|
255 | </td></tr>
|
---|
256 | </table></center>
|
---|
257 | </form>
|
---|
258 | }
|
---|
259 |
|
---|
260 |
|
---|
261 | #######################################################################
|
---|
262 | # new (Create a new collection page)
|
---|
263 | #######################################################################
|
---|
264 |
|
---|
265 | _newscriptextra_ {}
|
---|
266 |
|
---|
267 | _newcontent_ {
|
---|
268 | <center>
|
---|
269 | <table width=_pagewidth_>
|
---|
270 | <tr><td>
|
---|
271 | _iconblankbar_
|
---|
272 | <center><h2>Creating a new collection</h2></center>
|
---|
273 | _iconblankbar_
|
---|
274 |
|
---|
275 | <p>The sequence of steps needed to create a new digital library collection is:
|
---|
276 | <table cellspacing=6>
|
---|
277 | <tr><td width=20 align=right valign=bottom>1.</td>
|
---|
278 | <td valign=bottom>_iconncinfoof_</td>
|
---|
279 | <td valign=bottom>Specify its name (and associated information)</td></tr>
|
---|
280 | <tr><td align=right valign=bottom>2.</td>
|
---|
281 | <td valign=bottom>_iconncsrceof_</td>
|
---|
282 | <td valign=bottom>Specify where the source data comes from</td></tr>
|
---|
283 | <tr><td align=right valign=bottom>3.</td>
|
---|
284 | <td valign=bottom>_iconncconfof_</td>
|
---|
285 | <td valign=bottom>Adjust the configuration options (advanced users only)</td></tr>
|
---|
286 | <tr><td align=right valign=bottom>4.</td>
|
---|
287 | <td valign=bottom>_iconncbildof_</td>
|
---|
288 | <td valign=bottom>"Build" the collection (see below)</td></tr>
|
---|
289 | <tr><td align=right valign=bottom>5.</td>
|
---|
290 | <td valign=bottom>_iconncviewof_</td>
|
---|
291 | <td valign=bottom>Proudly view your handiwork.</td></tr>
|
---|
292 | </table>
|
---|
293 |
|
---|
294 | <p>The fourth step is where the computer does all the work. In the "building"
|
---|
295 | process the computer makes all the indexes and gathers together any other
|
---|
296 | information that is required to make things work. But first you have to
|
---|
297 | specify the information.
|
---|
298 |
|
---|
299 | <p>_iconblankbar_
|
---|
300 |
|
---|
301 | <p>A diagram appears below that will help you keep track of where you are. The
|
---|
302 | green button is the one that you click to carry on in the sequence. As you go
|
---|
303 | through the sequence, the buttons will change to yellow. You can return to a
|
---|
304 | previous page by clicking on the corresponding yellow button in the diagram.
|
---|
305 |
|
---|
306 | <p>When you are ready, click the green "collection information" button to
|
---|
307 | begin creating your new digital library collection!
|
---|
308 |
|
---|
309 | <p><center>
|
---|
310 | _collectorbar_
|
---|
311 | </center>
|
---|
312 |
|
---|
313 | </td></tr>
|
---|
314 | </table></center>
|
---|
315 | }
|
---|
316 |
|
---|
317 |
|
---|
318 | #######################################################################
|
---|
319 | # info (Collection information page)
|
---|
320 | #######################################################################
|
---|
321 |
|
---|
322 | _infoscriptextra_ {
|
---|
323 | function check\_submit (gotopage) \{
|
---|
324 | var form = document.collectorform;
|
---|
325 | if (form.bc1fullname.value.match(/^\\s*$/))
|
---|
326 | \{
|
---|
327 | alert("Collection name must be specified");
|
---|
328 | form.bc1fullname.focus();
|
---|
329 | return;
|
---|
330 | \}
|
---|
331 | else if (form.bc1contactemail.value.match(/^\\s*$/))
|
---|
332 | \{
|
---|
333 | alert("Email address must be specified");
|
---|
334 | form.bc1contactemail.focus();
|
---|
335 | return;
|
---|
336 | \}
|
---|
337 | else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/))
|
---|
338 | \{
|
---|
339 | alert("Please specify email address in the form: usename@domain");
|
---|
340 | form.bc1contactemail.focus();
|
---|
341 | return;
|
---|
342 | \}
|
---|
343 | else if (form.bc1aboutdesc.value.match(/^\\s*$/))
|
---|
344 | \{
|
---|
345 | alert("Description of collection must be specified");
|
---|
346 | form.bc1aboutdesc.focus();
|
---|
347 | return;
|
---|
348 | \}
|
---|
349 | form.cp.value = gotopage;
|
---|
350 | form.submit();
|
---|
351 | \}
|
---|
352 | }
|
---|
353 |
|
---|
354 | _infocontent_ {
|
---|
355 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
356 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
357 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
358 | <input type=hidden name="bc1infochanged" value="0">
|
---|
359 |
|
---|
360 | <center>
|
---|
361 | <table width=_pagewidth_>
|
---|
362 | <tr><td>
|
---|
363 | _iconblankbar_
|
---|
364 | <center>
|
---|
365 | <h2>Collection information</h2>
|
---|
366 | </center>
|
---|
367 | <p>_iconblankbar_
|
---|
368 |
|
---|
369 | <p>When creating a new collection you need to enter some preliminary
|
---|
370 | information about the source data. This process is structured as a series
|
---|
371 | of Web pages, overseen by The Collector. The bar at the bottom of the page
|
---|
372 | shows you the sequence of pages to be completed.
|
---|
373 |
|
---|
374 | <h4>Title for collection:</h4>
|
---|
375 | <input type="text" name="bc1fullname" value="_cgiargbc1fullname_"
|
---|
376 | onChange="document.collectorform.bc1infochanged.value=1;") size=72>
|
---|
377 | <br>
|
---|
378 | <font color="#909090">
|
---|
379 | The collection title is a short phrase used throughout the digital library to
|
---|
380 | identify the content of the collection. Example titles
|
---|
381 | include "Computer Science Technical Reports" and "Humanity
|
---|
382 | Development Library."
|
---|
383 | </font>
|
---|
384 |
|
---|
385 | <h4>Contact email address:</h4>
|
---|
386 | <input type="text" name="bc1contactemail" value="_cgiargbc1contactemail_"
|
---|
387 | onChange="document.collectorform.bc1infochanged.value=1;" size=72>
|
---|
388 | <br>
|
---|
389 | <font color="#909090">
|
---|
390 | This email address specifies the first point of contact for the collection.
|
---|
391 | If the Greenstone software detects a problem, a diagnostic report is
|
---|
392 | sent to this address. Enter an email address in its full form:
|
---|
393 | <tt>name@domain</tt>.
|
---|
394 | </font>
|
---|
395 |
|
---|
396 | <h4>About this collection:</h4>
|
---|
397 | <textarea name="bc1aboutdesc" cols=72 rows=6 wrap=physical
|
---|
398 | onChange="document.collectorform.bc1infochanged.value=1;">
|
---|
399 | _cgiargbc1aboutdesc_
|
---|
400 | </textarea>
|
---|
401 | <br>
|
---|
402 | <font color="#909090">
|
---|
403 | This is statement describing the principles governing what is included in the
|
---|
404 | collection. It appears on the first page when the collection is presented.
|
---|
405 | </font>
|
---|
406 |
|
---|
407 | <p>_iconblankbar_
|
---|
408 |
|
---|
409 | <p>Your position in the sequence is indicated by an arrow underneath--in this
|
---|
410 | case, the "collection information" stage. To proceed, click the green "source
|
---|
411 | data" button.
|
---|
412 |
|
---|
413 | <p><center>
|
---|
414 | _collectorbar_
|
---|
415 | </center>
|
---|
416 |
|
---|
417 | </td></tr>
|
---|
418 | </table></center>
|
---|
419 |
|
---|
420 | </form>
|
---|
421 | }
|
---|
422 |
|
---|
423 |
|
---|
424 | #######################################################################
|
---|
425 | # srce (Source data page)
|
---|
426 | #######################################################################
|
---|
427 |
|
---|
428 | # _fullnamemenu is set from within the server. If it's empty there are
|
---|
429 | # no valid collections
|
---|
430 | _fullnamemenu_ {}
|
---|
431 |
|
---|
432 | _srcescriptextra_ {
|
---|
433 | var cloneval = _cgiargbc1clone_;
|
---|
434 |
|
---|
435 | function check\_submit (gotopage) \{
|
---|
436 | var form = document.collectorform;
|
---|
437 | var found = 0;
|
---|
438 | var i = 0;
|
---|
439 | if (!form.bc1inputdir1.value.match(/^\\s*$/)) \{
|
---|
440 | if (!form.bc1inputdir1.value.match(/^\(http|ftp|file\):/)) \{
|
---|
441 | i = form.sel1.selectedIndex;
|
---|
442 | form.bc1inputdir1.value = form.sel1.options[i].value + form.bc1inputdir1.value;
|
---|
443 | \}
|
---|
444 | found = 1;
|
---|
445 | \}
|
---|
446 | if (!form.bc1inputdir2.value.match(/^\\s*$/)) \{
|
---|
447 | if (!form.bc1inputdir2.value.match(/^\(http|ftp|file\):/)) \{
|
---|
448 | i = form.sel2.selectedIndex;
|
---|
449 | form.bc1inputdir2.value = form.sel2.options[i].value + form.bc1inputdir2.value;
|
---|
450 | \}
|
---|
451 | found = 1;
|
---|
452 | \}
|
---|
453 | if (!form.bc1inputdir3.value.match(/^\\s*$/)) \{
|
---|
454 | if (!form.bc1inputdir3.value.match(/^\(http|ftp|file\):/)) \{
|
---|
455 | i = form.sel3.selectedIndex;
|
---|
456 | form.bc1inputdir3.value = form.sel3.options[i].value + form.bc1inputdir3.value;
|
---|
457 | \}
|
---|
458 | found = 1;
|
---|
459 | \}
|
---|
460 | if (!form.bc1inputdir4.value.match(/^\\s*$/)) \{
|
---|
461 | if (!form.bc1inputdir4.value.match(/^\(http|ftp|file\):/)) \{
|
---|
462 | i = form.sel4.selectedIndex;
|
---|
463 | form.bc1inputdir4.value = form.sel4.options[i].value + form.bc1inputdir4.value;
|
---|
464 | \}
|
---|
465 | found = 1;
|
---|
466 | \}
|
---|
467 |
|
---|
468 | if (!found)
|
---|
469 | \{
|
---|
470 | alert("At least one input source must be specified");
|
---|
471 | form.bc1inputdir1.focus();
|
---|
472 | return;
|
---|
473 | \}
|
---|
474 |
|
---|
475 | form.cp.value = gotopage;
|
---|
476 | form.submit();
|
---|
477 | \}
|
---|
478 |
|
---|
479 | function clone\_changed (changedto) \{
|
---|
480 | var form = document.collectorform;
|
---|
481 | if (changedto != cloneval) \{
|
---|
482 | form.bc1clonechanged.value = 1;
|
---|
483 | \} else \{
|
---|
484 | form.bc1clonechanged.value = 0;
|
---|
485 | \}
|
---|
486 | menuchange();
|
---|
487 | \}
|
---|
488 |
|
---|
489 | function menuchange () \{
|
---|
490 | var form = document.collectorform;
|
---|
491 | var warnlist = new Array (_warnindex_);
|
---|
492 |
|
---|
493 | if (warnlist[form.bc1clonecol.selectedIndex] == 1) \{
|
---|
494 | alert ("The collection you are cloning has a non-standard input file\\n" +
|
---|
495 | "format, and/or uses metadata specified in auxiliary files. If your\\n" +
|
---|
496 | "new input lacks this information, some browsing facilities may not\\n" +
|
---|
497 | "work properly.");
|
---|
498 | \}
|
---|
499 | \}
|
---|
500 | }
|
---|
501 |
|
---|
502 | _srcenew_ {
|
---|
503 | <center>
|
---|
504 | <h2>Source data</h2>
|
---|
505 | </center>
|
---|
506 | <p>_iconblankbar_
|
---|
507 |
|
---|
508 | <p>You can either create a completely new collection, or "clone" an existing one
|
---|
509 | -- that is, base the structure of your new collection on one that exists already.
|
---|
510 | <ul>
|
---|
511 | <input type=radio onClick="clone_changed(0);" name=bc1clone value=0
|
---|
512 | _If_("_cgiargbc1clone_" eq "0",checked)><b>Create new collection</b>
|
---|
513 | <br><font color="#909090">
|
---|
514 | Create a completely new collection. The collection may contain html documents (.htm, .html), plain text
|
---|
515 | documents (.txt, .text), or email documents (.email).
|
---|
516 | </font>
|
---|
517 | </ul>
|
---|
518 | <ul>_If_("_fullnamemenu_" eq "",
|
---|
519 | No collections available for cloning.,_srcemenu_)
|
---|
520 | </ul>
|
---|
521 | }
|
---|
522 |
|
---|
523 | _srceappend_ {
|
---|
524 | <center>
|
---|
525 | <h2>Add new data</h2>
|
---|
526 | </center>
|
---|
527 | <p>_iconblankbar_
|
---|
528 | <h4>Adding data:</h4>
|
---|
529 | The files that you specify below will be added to the collection. Make sure
|
---|
530 | that you do not re-specify files that are already in the collection:
|
---|
531 | otherwise two copies will be included. Files are identified by their full
|
---|
532 | pathname, Web pages by their absolute Web address.
|
---|
533 | }
|
---|
534 |
|
---|
535 | _srcecontent_ {
|
---|
536 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
537 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
538 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
539 | <input type=hidden name="bc1clonechanged" value="0">
|
---|
540 |
|
---|
541 | <center>
|
---|
542 | <table width=_pagewidth_>
|
---|
543 | <tr><td>
|
---|
544 | _iconblankbar_
|
---|
545 | _If_("_cgiargbc1esrce_" eq "1",_srceappend_,_srcenew_)
|
---|
546 |
|
---|
547 | <h4>Input source:</h4>
|
---|
548 | _typeselect_(1,file)<input type=text name="bc1inputdir1" value="_cgiargbc1inputdir1_" size=60>
|
---|
549 | <br>
|
---|
550 | _typeselect_(2,http)<input type=text name="bc1inputdir2" value="_cgiargbc1inputdir2_" size=60>
|
---|
551 | <br>
|
---|
552 | _typeselect_(3,ftp)<input type=text name="bc1inputdir3" value="_cgiargbc1inputdir3_" size=60>
|
---|
553 | <br>
|
---|
554 | _typeselect_(4,file)<input type=text name="bc1inputdir4" value="_cgiargbc1inputdir4_" size=60>
|
---|
555 | <br>
|
---|
556 | <font color="#909090">
|
---|
557 | These specify where the source data is located. There are three kinds of
|
---|
558 | location:
|
---|
559 | <ul>
|
---|
560 | <li> a directory name on your computer system (beginning with "file://"),
|
---|
561 | <li> an address beginning with "http://" for files to be downloaded from the
|
---|
562 | Web,
|
---|
563 | <li> an address beginning with "ftp://" for files to be downloaded using FTP
|
---|
564 | (file transfer protocol).
|
---|
565 | </ul>
|
---|
566 | In each case, the collection will include all files of the appropriate type in
|
---|
567 | the specified directory, in any directories it contains, in any directories
|
---|
568 | they contain, and so on.
|
---|
569 | <p>You can specify up to four different input sources. If you specify a
|
---|
570 | filename, just that file will be included.
|
---|
571 | </font>
|
---|
572 |
|
---|
573 | <p>_iconblankbar_
|
---|
574 | <p>Click one of the green buttons. If you are an advanced user you may want
|
---|
575 | to adjust the collection configuration. Alternatively, go straight to the
|
---|
576 | building stage. Remember, you can always revisit an earlier stage by
|
---|
577 | clicking its yellow button.
|
---|
578 |
|
---|
579 | <p><center>
|
---|
580 | _collectorbar_
|
---|
581 | </center>
|
---|
582 |
|
---|
583 | </td></tr>
|
---|
584 | </table></center>
|
---|
585 |
|
---|
586 | </form>
|
---|
587 | }
|
---|
588 |
|
---|
589 | _typeselect_ {<select name="sel_1_">
|
---|
590 | <option value="file://" _If_("_2_" eq "file",selected)>file://
|
---|
591 | <option value="http://" _If_("_2_" eq "http",selected)>http://
|
---|
592 | <option value="ftp://" _If_("_2_" eq "ftp",selected)>ftp://
|
---|
593 | </select>}
|
---|
594 |
|
---|
595 | _srcemenu_ {<input type=radio name=bc1clone onClick="clone_changed(1);" value=1
|
---|
596 | _If_("_cgiargbc1clone_" eq "1",checked)><b>Clone existing collection</b>
|
---|
597 | <br>_fullnamemenu_<br>
|
---|
598 | <font color=#909090>
|
---|
599 | This pull-down menu specifies which collection you want to clone. The files in
|
---|
600 | your new collection must be exactly the same type as those used to build
|
---|
601 | the existing one.
|
---|
602 | </font>
|
---|
603 | }
|
---|
604 |
|
---|
605 |
|
---|
606 | #######################################################################
|
---|
607 | # conf (Configure collection page)
|
---|
608 | #######################################################################
|
---|
609 |
|
---|
610 | _confscriptextra_ {
|
---|
611 | var changed = 0;
|
---|
612 |
|
---|
613 | function check\_submit (gotopage) \{
|
---|
614 | var form = document.collectorform;
|
---|
615 | form.bc1cfgchanged.value = changed;
|
---|
616 | form.cp.value = gotopage;
|
---|
617 | form.submit();
|
---|
618 | \}
|
---|
619 |
|
---|
620 | function reset\_button () \{
|
---|
621 | document.collectorform.reset();
|
---|
622 | changed = 0;
|
---|
623 | \}
|
---|
624 | }
|
---|
625 |
|
---|
626 | _confcontent_ {
|
---|
627 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
628 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
629 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
630 | <input type=hidden name="bc1cfgchanged" value="_cgiargbc1cfgchanged_">
|
---|
631 |
|
---|
632 | <center>
|
---|
633 | <table width=_pagewidth_>
|
---|
634 | <tr><td>
|
---|
635 | _iconblankbar_
|
---|
636 | <center>
|
---|
637 | <h2>Configure collection</h2>
|
---|
638 | </center>
|
---|
639 | <p>_iconblankbar_
|
---|
640 |
|
---|
641 | <p>The building and presentation of your collection are controlled by
|
---|
642 | specifications in a special "configuration file". Advanced users may want
|
---|
643 | to alter the configuration settings.
|
---|
644 |
|
---|
645 | <center><p><b>If you are not an advanced user, just go to the bottom of the
|
---|
646 | page.</b></center>
|
---|
647 |
|
---|
648 | <p>To alter the configuration settings, edit the data that appears below.
|
---|
649 | If you make a mistake, click on "Reset" to reinstate the
|
---|
650 | original configuration settings.
|
---|
651 |
|
---|
652 | <p><textarea name="bc1cfgfile" cols=72 rows=18 wrap=off onChange="changed=1;">
|
---|
653 | _cfgfile_
|
---|
654 | </textarea>
|
---|
655 | <table><tr valign=top>
|
---|
656 | <td><a href="javascript:reset\_button();">_iconstop_</a></td>
|
---|
657 | <td><a href="javascript:reset\_button();">Reset</a></td>
|
---|
658 | </tr></table>
|
---|
659 |
|
---|
660 | <p><center>
|
---|
661 | _collectorbar_
|
---|
662 | </center>
|
---|
663 |
|
---|
664 | </td></tr>
|
---|
665 | </table></center>
|
---|
666 |
|
---|
667 | </form>
|
---|
668 | }
|
---|
669 |
|
---|
670 |
|
---|
671 | #######################################################################
|
---|
672 | # bild (main frameset for build page)
|
---|
673 | #######################################################################
|
---|
674 |
|
---|
675 | _bildcontent_ {
|
---|
676 | <html>
|
---|
677 | <frameset rows="*,150" border=0>
|
---|
678 | <noframes><body bgcolor="#ffffff">
|
---|
679 | <p>You must have a frame enabled browser to obtain feedback
|
---|
680 | on how the building process is progressing. The collection <i>will</i>
|
---|
681 | continue to build as normal however.
|
---|
682 |
|
---|
683 | <table>
|
---|
684 | <tr valign=center><td>
|
---|
685 | To stop the building process at any time, click here.
|
---|
686 | <br>The collection you are working on will remain intact.
|
---|
687 | </td>
|
---|
688 | <td><input type="submit" value="stop building"></td>
|
---|
689 | </table>
|
---|
690 |
|
---|
691 | </body>
|
---|
692 | </noframes>
|
---|
693 | <frame src="_gwcgi_?e=_compressedoptions_&cp=bildframe1">
|
---|
694 | <frame src="_gwcgi_?e=_compressedoptions_&cp=bildstatus">
|
---|
695 | </frameset>
|
---|
696 | </html>
|
---|
697 | }
|
---|
698 |
|
---|
699 | #######################################################################
|
---|
700 | # bildframe1
|
---|
701 | #######################################################################
|
---|
702 |
|
---|
703 | # header overridden to allow base target to be set
|
---|
704 | _bildframe1header_ {_cgihead_
|
---|
705 | <html>
|
---|
706 | <head>
|
---|
707 | <base target=_top>
|
---|
708 | <title>_pagetitle_</title>
|
---|
709 | _globalscripts_
|
---|
710 | </head>
|
---|
711 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
712 | alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
|
---|
713 | _startspacer__pagebanner_
|
---|
714 | }
|
---|
715 | _bildframe1header_[v=1] {_cgihead_
|
---|
716 | <html>
|
---|
717 | <head>
|
---|
718 | <base target=_top>
|
---|
719 | <title>_pagetitle_</title>
|
---|
720 | _globalscripts_
|
---|
721 | </head>
|
---|
722 | <body bgcolor="\#ffffff" text="\#000000" link="\#006666"
|
---|
723 | alink="\#cc9900" vlink="\#666633" background="_httpiconchalk_">
|
---|
724 | _pagebanner_
|
---|
725 | }
|
---|
726 | _bildframe1scriptextra_ {
|
---|
727 | function check\_submit (gotopage) \{
|
---|
728 | var form = document.collectorform;
|
---|
729 | form.cp.value = gotopage;
|
---|
730 | form.submit();
|
---|
731 | \}
|
---|
732 | }
|
---|
733 | _bildframe1content_ {
|
---|
734 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
735 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
736 | <input type=hidden name="cp" value="bildcancel">
|
---|
737 | <center>
|
---|
738 | <table width=_pagewidth_>
|
---|
739 | <tr><td>
|
---|
740 | _iconblankbar_
|
---|
741 | <center>
|
---|
742 | <h2>Build</h2>
|
---|
743 | </center>
|
---|
744 | <p>_iconblankbar_
|
---|
745 | <p>
|
---|
746 | The collection is now being built: this might take some time. The building
|
---|
747 | status line below gives feedback on how the operation is progressing.
|
---|
748 | <p>
|
---|
749 |
|
---|
750 | <table>
|
---|
751 | <tr valign=center><td>
|
---|
752 | To stop the building process at any time, click here.
|
---|
753 | <br>The collection you are working on will remain intact.
|
---|
754 | </td>
|
---|
755 | <td><input type="submit" value="stop building"></td>
|
---|
756 | </table>
|
---|
757 |
|
---|
758 | <p>
|
---|
759 | If you leave this page (and have not cancelled the building process with
|
---|
760 | the "stop building" button) the collection will continue to build and will
|
---|
761 | be installed upon successful completion.
|
---|
762 | </td></tr>
|
---|
763 | </table></center>
|
---|
764 | </form>
|
---|
765 | }
|
---|
766 |
|
---|
767 |
|
---|
768 | #######################################################################
|
---|
769 | # bildcancel
|
---|
770 | #######################################################################
|
---|
771 |
|
---|
772 | _bildcancelscriptextra_ {
|
---|
773 | function check\_submit (gotopage) \{
|
---|
774 | var form = document.collectorform;
|
---|
775 | form.cp.value = gotopage;
|
---|
776 | form.submit();
|
---|
777 | \}
|
---|
778 | }
|
---|
779 | _bildcancelcontent_ {
|
---|
780 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
781 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
782 | <input type=hidden name="cp" value="_cgiargcp_">
|
---|
783 | <center>
|
---|
784 | <table width=_pagewidth_>
|
---|
785 | <tr><td>
|
---|
786 | _iconblankbar_
|
---|
787 | <center>
|
---|
788 | <h2>Build cancelled</h2>
|
---|
789 | </center>
|
---|
790 | <p>_iconblankbar_
|
---|
791 | <p>
|
---|
792 | The collection building process was cancelled. Use the yellow buttons below
|
---|
793 | to make changes to your collection or restart the building process.
|
---|
794 | <p><center>
|
---|
795 | _collectorbar_
|
---|
796 | </center>
|
---|
797 |
|
---|
798 | </td></tr>
|
---|
799 | </table></center>
|
---|
800 | </form>
|
---|
801 | }
|
---|
802 |
|
---|
803 |
|
---|
804 | #######################################################################
|
---|
805 | # bildstatus
|
---|
806 | #######################################################################
|
---|
807 |
|
---|
808 | # special header for status page
|
---|
809 | _bildstatusheader_ {_cgihead_
|
---|
810 | _htmlhead_(background="_httpiconchalk_" onLoad="initialize();")_startspacer_
|
---|
811 | }
|
---|
812 | _bildstatusheader_[v=1] {_cgihead_
|
---|
813 | _htmlhead_(onLoad="initialize();")
|
---|
814 | }
|
---|
815 |
|
---|
816 | _bildstatusscriptextra_ {
|
---|
817 | var timer = 5;
|
---|
818 | function initialize() \{
|
---|
819 | setTimeout("count_down()",1000);
|
---|
820 | \}
|
---|
821 |
|
---|
822 | function count_down() \{
|
---|
823 | if (timer==0) \{
|
---|
824 | window.status = "";
|
---|
825 | document.collectorform.submit();
|
---|
826 | \} else \{
|
---|
827 | window.status = "Building status update in "+timer+" seconds";
|
---|
828 | timer--;
|
---|
829 | setTimeout("count_down()",1000);
|
---|
830 | \}
|
---|
831 | \}
|
---|
832 | }
|
---|
833 |
|
---|
834 | _bildstatuscontent_ {
|
---|
835 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
836 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
837 | <center>
|
---|
838 | <table width=_pagewidth_>
|
---|
839 | <tr><td>
|
---|
840 | _statusline_
|
---|
841 | </td></tr>
|
---|
842 | </table></center>
|
---|
843 | </form>
|
---|
844 | }
|
---|
845 |
|
---|
846 |
|
---|
847 | #######################################################################
|
---|
848 | # bilddone
|
---|
849 | #######################################################################
|
---|
850 |
|
---|
851 | _bilddoneheader_ {_cgihead_
|
---|
852 | _htmlhead_(background="_httpiconchalk_")_startspacer_
|
---|
853 | }
|
---|
854 | _bilddonescriptextra_ {}
|
---|
855 | _bilddonecontent_ {
|
---|
856 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
857 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
858 | <center>
|
---|
859 | <table width=_pagewidth_>
|
---|
860 | <tr><td>
|
---|
861 | <p>Collection built successfully.
|
---|
862 |
|
---|
863 | <p><center>
|
---|
864 | _collectorbar_
|
---|
865 | </center>
|
---|
866 |
|
---|
867 | </td></tr>
|
---|
868 | </table></center>
|
---|
869 | </form>
|
---|
870 | }
|
---|
871 |
|
---|
872 |
|
---|
873 | #######################################################################
|
---|
874 | # bildfail
|
---|
875 | #######################################################################
|
---|
876 |
|
---|
877 | _bildfailheader_ {_cgihead_
|
---|
878 | _htmlhead_(background="_httpiconchalk_")_startspacer_
|
---|
879 | }
|
---|
880 | _bildfailscriptextra_ {}
|
---|
881 | _bildfailcontent_ {
|
---|
882 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
883 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
884 | <center>
|
---|
885 | <table width=_pagewidth_>
|
---|
886 | <tr><td>
|
---|
887 | <p>An error has occurred while attempting to build your collection.
|
---|
888 | <br> The build log contains the following:
|
---|
889 | <p>_faillog_
|
---|
890 | </td></tr>
|
---|
891 | </table></center>
|
---|
892 | </form>
|
---|
893 | }
|
---|
894 |
|
---|
895 |
|
---|
896 | #######################################################################
|
---|
897 | # Error and message pages
|
---|
898 | #######################################################################
|
---|
899 |
|
---|
900 | _messagehead_ {
|
---|
901 | <form name="collectorform" method=post action="_gwcgi_">
|
---|
902 | <input type=hidden name="e" value="_decodedcompressedoptions_">
|
---|
903 |
|
---|
904 | <center>
|
---|
905 | <table width=_pagewidth_>
|
---|
906 | <tr><td>
|
---|
907 | _iconblankbar_
|
---|
908 | }
|
---|
909 |
|
---|
910 | _messagefoot_ {
|
---|
911 | <p>
|
---|
912 | <a href="javascript:document.collectorform.submit();">Return to the collector</a>
|
---|
913 | <p>_iconblankbar_
|
---|
914 | </td></tr>
|
---|
915 | </table></center>
|
---|
916 | </form>
|
---|
917 | }
|
---|
918 |
|
---|
919 | _messagefootnolink_ {
|
---|
920 | <p>_iconblankbar_
|
---|
921 | </td></tr>
|
---|
922 | </table></center>
|
---|
923 | </form>
|
---|
924 | }
|
---|
925 |
|
---|
926 | _delpermissioncontent_ {
|
---|
927 | _messagehead_
|
---|
928 | <p>
|
---|
929 | Some or all of the _cgiargbc1dirname_ collection could not be
|
---|
930 | deleted. Possible causes are:
|
---|
931 | <ul>
|
---|
932 | <li> Greenstone does not have permission to delete the gsdl/collect/_cgibc1dirname_
|
---|
933 | directory.
|
---|
934 | </ul>
|
---|
935 | _messagefoot_
|
---|
936 | }
|
---|
937 |
|
---|
938 | _delinvalidcontent_ {
|
---|
939 | _messagehead_
|
---|
940 | <p>
|
---|
941 | The _cgiargbc1dirname_ collection is protected or invalid. Deletion was cancelled.
|
---|
942 | _messagefoot_
|
---|
943 | }
|
---|
944 |
|
---|
945 | _delsuccesscontent_ {
|
---|
946 | _messagehead_
|
---|
947 | <p>
|
---|
948 | The _cgiargbc1dirname_ collection was successfully deleted.
|
---|
949 | _messagefoot_
|
---|
950 | }
|
---|
951 |
|
---|
952 | _clonefailcontent_ {
|
---|
953 | _messagehead_
|
---|
954 | <input type=hidden name="bc1clone" value="0">
|
---|
955 | <p>
|
---|
956 | The _cgiargclonecol_ collection cound not be cloned. Possible causes are:
|
---|
957 | <ul>
|
---|
958 | <li> The _cgiargclonecol_ collection doesn't exist
|
---|
959 | <li> The _cgiargclonecol_ collection has no collect.cfg configuration file
|
---|
960 | <li> Greenstone does not have permission to read the collect.cfg configuration file
|
---|
961 | _messagefoot_
|
---|
962 | }
|
---|
963 |
|
---|
964 | _genericcontent_ {
|
---|
965 | _messagehead_
|
---|
966 | <p>
|
---|
967 | Collector error.
|
---|
968 | _messagefoot_
|
---|
969 | }
|
---|
970 |
|
---|
971 | _tmpfailcontent_ {
|
---|
972 | _messagehead_
|
---|
973 | <p>
|
---|
974 | The collector failed to read from or write to a temporary file or
|
---|
975 | directory. Possible causes are:
|
---|
976 | <ul>
|
---|
977 | <li> Greenstone does not have read/write access to the gsdl/tmp
|
---|
978 | directory.
|
---|
979 | </ul>
|
---|
980 | _messagefoot_
|
---|
981 | }
|
---|
982 |
|
---|
983 | _mkcolfailcontent_ {
|
---|
984 | _messagehead_
|
---|
985 | <p>
|
---|
986 |
|
---|
987 | The collector failed to create the directory structure required by the new
|
---|
988 | collection (mkcol.pl failed). Possible causes are:
|
---|
989 | <ul>
|
---|
990 | <li> Greenstone does not have permission to write to the gsdl/tmp
|
---|
991 | directory.
|
---|
992 | <li> mkcol.pl perl script errors.
|
---|
993 | </ul>
|
---|
994 | _messagefoot_
|
---|
995 | }
|
---|
996 |
|
---|
997 | _nocollectioncontent_ {
|
---|
998 | _messagehead_
|
---|
999 | <p>
|
---|
1000 | Collector error: no collection name was provided for the new collection. Try
|
---|
1001 | restarting the Collector from the beginning.
|
---|
1002 | <br><a href="_httppagecollector_">Restart the Collector</a>
|
---|
1003 | <p>
|
---|
1004 | _messagefootnolink_
|
---|
1005 | }
|
---|
1006 |
|
---|
1007 | _reloaderrorcontent_ {
|
---|
1008 | _messagehead_
|
---|
1009 | <p>
|
---|
1010 | An error occurred while creating the new collection. This may have been due
|
---|
1011 | to Greenstone getting confused by the use of your browser's "reload" or
|
---|
1012 | "back" buttons (please try to avoid using these buttons while creating a
|
---|
1013 | collection with the Collector). It is recommended that you restart the
|
---|
1014 | Collector from the beginning.
|
---|
1015 | <br><a href="_httppagecollector_">Restart the Collector</a>
|
---|
1016 | <p>
|
---|
1017 | _messagefootnolink_
|
---|
1018 | }
|
---|
1019 |
|
---|
1020 | _installfailcontent_ {
|
---|
1021 | _messagehead_
|
---|
1022 | <p>
|
---|
1023 |
|
---|
1024 | The collector failed to install your new collection correctly.
|
---|
1025 | Possible causes are:
|
---|
1026 | <ul>
|
---|
1027 | <li> Greenstone does not have permission to write to the gsdl/collect
|
---|
1028 | directory.
|
---|
1029 | <li> A _cgiargsbc1dirname_ collection already exists in the gsdl/collect
|
---|
1030 | directory.
|
---|
1031 | </ul>
|
---|
1032 | _messagefoot_
|
---|
1033 | }
|
---|