source: trunk/gsdl/macros/build.dm@ 725

Last change on this file since 725 was 725, checked in by davidb, 25 years ago

Macros to support webpage based collection building
and internal and external links in collection documents

  • Property svn:keywords set to Author Date Id Revision
File size: 43.3 KB
RevLine 
[725]1package build
2
3_header_ {
4<html>
5<head>
6<title>_1_</title>
7</head>
8<body bgcolor="#ffffff" text="#000000" link="#006666"
9 alink="#cc9900" vlink="#666633">
10<table width=100%>
11 <tr>
12 <td><img src="/gsdl/images/gsdl_height.gif" width=2 height=77></td>
13 <td>_iconblankbar_
14 <center><h2>_1_</h2></center>
15 _iconblankbar_</td>
16 </tr>
17</table>
18}
19
20
21_footer_ {
22_iconblankbar_
23
24</body>
25</html>
26}
27
28
29_frameheader_ {
30<html>
31<head>
32<title>_1_</title>
33</head>
34}
35
36_framefooter_ {
37</html>
38}
39
40_wizardfooter_ {
41
42</body>
43</html>
44}
45
46
47_iconwizardnext_{<img src="_httpiconmore_" align=absbottom
48width=_widthmore_ height=_heightmore_ border=0 alt="_texticonwizardnext_">}
49_iconwizardnext_[v=1] {_texticonwizardnext_}
50
51_iconwizardcurr_{<img src="_httpiconmore_" align=absbottom
52width=_widthmore_ height=_heightmore_ border=0 alt="_texticonwizardcurr_">}
53
54_iconwizardprev_{<img src="_httpiconless_" align=absbottom
55width=_widthless_ height=_heightless_ border=0 alt="_texticonwizardprev_">}
56_iconwizardprev_[v=1] {_texticonwizardprev_}
57
58_iconwizardreset_{<img src="_httpiconstop_" align=absbottom
59width=_widthstop_ height=_heightstop_ border=0 alt="_texticonwizardreset_">}
60_iconwizardreset_[v=1] {_texticonwizardreset_}
61
62_texticonwizardnext_ {to next page}
63_texticonwizardcurr_ {this page}
64_texticonwizardprev_ {to previous page}
65_texticonwizardreset_ {reset page}
66
67
68# new collection
69_bcargfullname_ {}
70_bcargcontactemail_ {}
71_bcargaboutdesc_ {}
72_bcargsrcformat_ {TEXT}
73_bcargfileorurl_ {file}
74_bcarginputdir_ {}
75_bcargcopydir_ {}
76_bcargingsdlarea_ {no}
77_bcargacronyms_ {off}
78_bcargrefine_ {}
79
80# delete collection
81_bcargfullnameindex_ {0}
82_bcargdeletearea_ {archives}
83_bcargdirname_ {}
84
85# build collection
86_bcargcopydata_ {false}
87_bcargdoimport_ {true}
88_bcargdobuild_ {true}
89
90
91_commonjavascript_ {
92 function simulate_get_action(args)
93 \{
94 var form = document.form;
95 args += "&bc1fullname=" + escape(form.bc1fullname.value);
96 args += "&bc1contactemail=" + escape(form.bc1contactemail.value);
97 args += "&bc1aboutdesc=" + escape(form.bc1aboutdesc.value);
98 args += "&bc1srcformat=" + escape(form.bc1srcformat.value);
99 args += "&bc1fileorurl=" + escape(form.bc1fileorurl.value);
100 args += "&bc1inputdir=" + escape(form.bc1inputdir.value);
101 args += "&bc1copydir=" + escape(form.bc1copydir.value);
102 args += "&bc1ingsdlarea=" + escape(form.bc1ingsdlarea.value);
103 args += "&bc1acronyms=" + escape(form.bc1acronyms.value);
104 args += "&bc1refine=" + escape(form.bc1refine.value);
105 args += "&wizard=" + escape(form.wizard.value);
106
107 document.location = args;
108 \}
109
110 function prev_page(new_wizard) \{
111 var form = document.form;
112 form.wizard.value = new_wizard;
113
114 simulate_get_action("_httpbuild_&bca=newcol");
115 \}
116}
117
118_wizardbarforu_ {
119 _wizardlink_(:archiveopts,Archive options)
120}
121
122_wizardlink_ {
123<script language="javascript">
124 <!-- Hide code from non-js browsers
125 var bgcol = "";
126 var fgcol = "";
127 var text = "";
128
129 var wizard = "_wizard_";
130 if (wizard.match(/_1_/)) \{
131
132 if (wizard.match(/_1_$/)) \{
133 // change here to give current page different background
134 // to previous pages
135 bgcol = "bgcolor=\\"#cece00\\"";
136 fgcol = "color=\\"#006666\\"";
137 text = "_2_";
138 \}
139 else \{
140 bgcol = "bgcolor=\\"#ce9c00\\"";
141 fgcol = "color=\\"#006666\\"";
142 var page = "_1_";
143 var break_pt = wizard.indexOf(page) + page.length;
144 var wizard_direct = wizard.substring(0,break_pt);
145 text = "<a href=javascript:prev_page(\\""+wizard_direct+"\\")>_2_</a>";
146 \}
147
148
149 \}
150 else \{
151 fgcol = "color=\\"#006666\\"";
152 text = "_2_";
153 \}
154
155
156 document.writeln("<td "+bgcol+">");
157 document.writeln(" <font "+fgcol+">");
158 document.writeln(" "+text);
159 document.writeln(" </font>");
160 document.writeln("</td>");
161
162 // end hiding -->
163</script>
164}
165
166_wizardbar_ {
167<center>
168<table border=0 cellspacing=1 cellpadding=3>
169<tr bgcolor="#90c098">
170 <td bgcolor="#ffffff">
171 <font color="#000000">
172 Wizard page:
173 </font>
174 </td>
175 <td bgcolor="#ce9c00">
176 <font color="#006666">
177 <a href="_httpbuild_&bca=newcol">Reset</a>
178 </font>
179 </td>
180 _wizardlink_(textinfo,Textual information)
181 _wizardlink_(:source,Source data)
182 _If_("_bcargfileorurl_" eq "file", _wizardbarforu_)
183 _wizardlink_(:metadata,Metadata)
184 <td>
185 <font color="#006666">
186 Save
187 </font>
188 </td>
189</tr>
190</table>
191</font>
192</center>
193}
194
195#---------------------------------------------------------------------------#
196# Create a new collection
197#---------------------------------------------------------------------------#
198
199_headmesstextinfo_ { New collection wizard: textual information }
200
201
202_contenttextinfo_ {
203
204
205<script language="javascript">
206
207 <!-- Hide code from non-js browsers
208 _commonjavascript_
209
210 function next_page() \{
211 _fullnamelist_
212 var form = document.form;
213
214 // check args
215 if (form.bc1fullname.value.match(/^\\s*$/))
216 \{
217 alert("Collection name needs to be specified");
218 form.bc1fullname.focus();
219 return;
220 \}
221 else if (form.bc1contactemail.value.match(/^\\s*$/))
222 \{
223 var mess = "Email address of the person responsible";
224 mess += " for the collection needs";
225 alert(mess);
226 form.bc1contactemail.focus();
227 return;
228 \}
229 else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/))
230 \{
231 alert("Please specify email address in the form: usename@domain");
232 form.bc1contactemail.focus();
233 return;
234 \}
235 else if (form.bc1aboutdesc.value.match(/^\\s*$/))
236 \{
237 alert("Description for about this collection needs to be specified");
238 form.bc1aboutdesc.focus();
239 return;
240 \}
241 var i;
242 for (i=0; i<fullnamelist.length; i++)
243 \{
244 var j;
245 for (j=0; j<fullnamelist[i].length; j++)
246 \{
247 var fn_re = "/"+fullnamelist[i][j]+"/i";
248 if (form.bc1fullname.value == fullnamelist[i][j])
249 \{
250 alert("Collection title already exists");
251 form.bc1fullname.focus();
252 return;
253 \}
254 \}
255 \}
256
257 // if control reached here then args check out
258 form.wizard.value += ":source";
259
260 simulate_get_action("_httpbuild_&bca=newcol");
261 \}
262 // end hiding -->
263
264
265</script>
266
267<center><table><tr><td>
268<form name="form" method="post" action="_gwcgi_" >
269<input type=hidden name="gsdlhome" value="_gsdlhome_">
270<input type=hidden name="a" value="bc">
271<input type=hidden name="bc" value="newcol">
272_hiddenargs_
273
274<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
275<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
276<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
277<input type=hidden name="bc1copydir" value="_bcargcopydir_">
278<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
279<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
280<input type=hidden name="bc1refine" value="_bcargrefine_">
281
282<table border=0>
283<tr>
284 <td colspan=4>
285 To create a new collection you are required to enter some preliminary
286 information about the source data.
287 This process is structured as a series of Web pages, overseen by the
288 new-collection &quot;wizard.&quot The wizard bar at the bottom of the page
289 shows you the sequences of pages to be completed. You can return to
290 a previously page by clicking on the corresponding item in the wizard bar.
291 </td>
292</tr>
293<tr>
294 <td>Title for collection:</td>
295 <td colspan=3>
296 <input type="text" name="bc1fullname"
297 value="_bcargfullname_") size=50>
298 </td>
299<tr>
300 <td></td>
301 <td colspan=3>
302 <font color="#909090">The collection title is a text phrase that encapsulates
303 the content of the collection and is used throughout the digital library.
304 Example titles include &quot;Computer Science Technical Reports&quot; and
305 &quot;Humanity Development Library.&quot;
306 </font>
307 </td>
308</tr>
309
310<tr>
311 <td>Contact email address:</td>
312 <td colspan=3>
313 <input type="text" name="bc1contactemail"
314 value="_bcargcontactemail_" size=50>
315 </td>
316</tr>
317<tr>
318 <td></td>
319 <td colspan=3>
320 <font color="#909090">This email address specifies the first point of
321 contact for the collection. If the collection software detects a problem,
322 then a diagnostic report is sent to this address. Enter an email address
323 in its full form: <tt>name@domain</tt>.
324 </font>
325 </td>
326</tr>
327
328<tr>
329 <td>About this collection:</td>
330
331 <td colspan=3>
332 <textarea name="bc1aboutdesc" cols=50 rows=6
333 wrap=physical>_bcargaboutdesc_</textarea>
334 </td>
335</tr>
336<tr>
337 <td></td>
338 <td colspan=3>
339 <font color="#909090">
340 A statement describing the principles governing what is included in the collection.
341 </font>
342 </td>
343</tr>
344
345<tr><td><p>&nbsp;</td></tr>
346<tr><td colspan=4 align=middle>
347 <a href="javascript:next_page();">Next page_iconwizardnext_</a>
348</table>
349</form>
350</td></tr></table></center>
351
352_wizardbar_
353}
354
355
356#---------------------------------------------------------------------------#
357
358_headmesssource_ { New collection wizard: source data }
359
360_fileortextinput_ {
361 _If_("_bcarginputdir_" eq "",
362 <input type="file" name="bc1inputdir" size=42>,
363 <input type="text" name="bc1inputdir" value="_bcarginputdir_" size=50>)
364}
365
366_contentsource_ {
367
368
369<script language="javascript">
370
371 <!-- Hide code from non-js browsers
372 _commonjavascript_
373
374 function next_page() \{
375 _fullnamelist_
376 var form = document.form;
377 if (form.bc1inputdir.value.match(/^\\s*$/))
378 \{
379 if (form.bc1fileorurl.value == "file")
380 \{
381 alert("Directory for source files needs to be specified");
382 \}
383 else
384 \{
385 alert("At least one URL for source files needs to be specified");
386 \}
387
388 form.bc1inputdir.focus();
389 return;
390 \}
391
392 // work out the next newcol "wizard" page
393 if (form.bc1fileorurl.value == "file")
394 \{
395 var prefix_re
396 = new RegExp(form.gsdlhome.value + "/collect/([^/]+)/(import|archive)");
397
398 if (form.bc1inputdir.value.match(prefix_re))
399 \{
400 form.bc1ingsdlarea.value = "yes";
401 if (form.bc1inputdir.value != "_bcarginputdir_")
402 \{
403 // input dir has been changed
404 form.bc1copydir.value = "no";
405 \}
406 \}
407 else
408 \{
409 form.bc1ingsdlarea.value = "no";
410 \}
411 form.wizard.value += ":archiveopts";
412 \}
413 else
414 \{
415 form.bc1ingsdlarea.value = "no";
416 form.bc1copydir.value = "yes";
417 form.wizard.value += ":metadata";
418 \}
419
420 simulate_get_action("_httpbuild_&bca=newcol");
421 \}
422
423
424 function srcformat_changed() \{
425 var form = document.form;
426 var sf_index = form.bc1srcformatmenu.selectedIndex;
427 var sf_choice = form.bc1srcformatmenu.options[sf_index].value;
428 form.bc1srcformat.value = sf_choice;
429 \}
430
431 function datasource_changed() \{
432 var form = document.form;
433 var fou_index = form.bc1fileorurlmenu.selectedIndex;
434 var fou_choice = form.bc1fileorurlmenu.options[fou_index].value;
435 form.bc1fileorurl.value = fou_choice;
436
437 var inputdir = form.bc1inputdir.value;
438 if (fou_choice == "url")
439 \{
440 if (!inputdir.match(/^file:/i))
441 \{
442 form.bc1inputdir.value = "file:"+inputdir;
443 \}
444 \}
445 else
446 \{
447 var first_line_index = inputdir.indexOf("\\n",0);
448 var first_line
449 = (first_line_index>0) ? inputdir.substring(0,first_line_index-1) : inputdir;
450 if (first_line.match(/^file:/))
451 \{
452 var file = first_line.substring(5,inputdir.length);
453 form.bc1inputdir.value = file;
454 \}
455 \}
456
457 simulate_get_action("_httpbuild_&bca=newcol");
458 \}
459 // end hiding -->
460
461
462</script>
463
464<center><table><tr><td>
465<form name="form" method="post" action="_gwcgi_">
466<input type=hidden name="gsdlhome" value="_gsdlhome_">
467<input type=hidden name="a" value="bc">
468<input type=hidden name="bc" value="newcol">
469_hiddenargs_
470
471<input type=hidden name="bc1fullname" value="_bcargfullname_")>
472<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
473<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
474<input type=hidden name="bc1copydir" value="_bcargcopydir_">
475<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
476<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
477<input type=hidden name="bc1refine" value="_bcargrefine_">
478
479<table border=0>
480<tr>
481 <td>Type of data:</td>
482 <td>
483 <input type="hidden" name="bc1srcformat" value="_bcargsrcformat_">
484 <select name="bc1srcformatmenu" onChange=srcformat_changed()>
485 <option value="TEXT" _If_("_bcargsrcformat_" eq "TEXT",selected)>Plain TEXT&nbsp;&nbsp;(.txt)
486 <option value="HTML" _If_("_bcargsrcformat_" eq "HTML",selected)>HTML&nbsp;&nbsp;(.htm, html)
487 <option value="EMAIL" _If_("_bcargsrcformat_" eq "EMAIL",selected)>E-mail&nbsp;&nbsp;(.email)
488 <option value="BRS" _If_("_bcargsrcformat_" eq "BRS",selected)>BBC format&nbsp;&nbsp;(.brs)
489 </select>
490 </td>
491</tr>
492<tr>
493 <td></td>
494 <td colspan=3>
495 <font color="#909090">This pull-down menu specifies the type of file format the
496 source data is in: TEXT for plain text documents, HTML for Web pages and so for.
497 Also listed in the pull-down menu are the permissible file names extensions (for
498 instance <tt>.htm</tt> and <tt>.html</tt>) for the source files (Web pages
499 in this case).
500 </font>
501 </td>
502</tr>
503<tr>
504 <td>Source location:</td>
505 <td>
506 <input type="hidden" name="bc1fileorurl" value="_bcargfileorurl_">
507 <select name="bc1fileorurlmenu" onChange=datasource_changed()>
508 <option value="file" _If_("_bcargfileorurl_" eq "file",selected)>Local disk
509 <option value="url" _If_("_bcargfileorurl_" eq "url",selected)>The Internet
510 </select>
511 </td>
512</tr>
513<tr>
514 <td></td>
515 <td colspan=3>
516 <font color="#909090">
517 The source data used to build a collection can be on either the local disk
518 or externally accessible over the Web. Use this pull-down menu to
519 control this setting. On selecting an item from the menu this page will
520 automatically reconfigure itself so the request for input (below) will be
521 a local directory or a URL as appropriate.
522
523 _If_('"_bcargfileorurl_" eq "url"',
524 <p> When entering a URL it is important to distinguish between a directory
525 and a file. A directory must end with <tt>/</tt>
526 )
527
528 </font>
529 </td>
530</tr>
531
532<tr>
533 <td>
534 _If_('"_bcargfileorurl_" eq "file"',
535 Input directory:,Input URL/URLS)
536 </td>
537
538 <td colspan=3>
539 _If_('"_bcargfileorurl_" eq "file"',
540 _fileortextinput_,
541 <textarea name="bc1inputdir" cols=50 rows=3
542 wrap=physical>_bcarginputdir_</textarea>
543 )
544 </td>
545 </td>
546</tr>
547
548<tr>
549 <td></td>
550 <td colspan=3>
551 <font color="#909090">
552 _If_('"_bcargfileorurl_" eq "file"',
553 The input directory specifies where on the local disk the source data is
554 located.
555 ,
556 Any URL specified here is downloaded and any links within that page that
557 refer to further documents at that site\, contained within the same directory
558 structure are recursively copied. At least one URL needs to be specified.
559 )
560 </font>
561 </td>
562</tr>
563
564<tr><td><p>&nbsp;</td></tr>
565<tr><td colspan=4 align=middle>
566 <a href="javascript:next_page();">Next page_iconwizardnext_</a>
567</table>
568</form>
569</td></tr></table></center>
570
571_wizardbar_
572}
573
574
575
576#---------------------------------------------------------------------------#
577
578_headmessarchiveopts_ { New collection wizard: archive options }
579
580_contentarchiveopts_ {
581
582
583<script language="javascript">
584
585 <!-- Hide code from non-js browsers
586 _commonjavascript_
587
588 function next_page() \{
589 _fullnamelist_
590 var form = document.form;
591
592 form.wizard.value += ":metadata";
593
594 simulate_get_action("_httpbuild_&bca=newcol");
595 \}
596
597
598 function copydir_changed() \{
599 var form = document.form;
600 var cd_index = form.bc1copydirmenu.selectedIndex;
601 var cd_choice = form.bc1copydirmenu.options[cd_index].value;
602 form.bc1copydir.value = cd_choice;
603 \}
604 // end hiding -->
605
606
607</script>
608
609<center><table><tr><td>
610<form name="form" method="post" action="_gwcgi_">
611<input type=hidden name="gsdlhome" value="_gsdlhome_">
612<input type=hidden name="a" value="bc">
613<input type=hidden name="bc" value="newcol">
614_hiddenargs_
615
616<input type=hidden name="bc1fullname" value="_bcargfullname_")>
617<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
618<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
619<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
620<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
621<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
622<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
623<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
624<input type=hidden name="bc1refine" value="_bcargrefine_">
625
626<table border=0>
627<tr>
628
629 <td>Copy data:</td>
630 <td>
631 <input type="hidden" name="bc1copydir" value="_bcargcopydir_">
632 <select name="bc1copydirmenu" onChange=copydir_changed()>
633 <option value="yes" _If_("_bcargcopydir_" eq "yes",selected)>Yes, make a local copy for the digital library
634 <option value="no" _If_("_bcargcopydir_" eq "no",selected)>No, form a link in digital library to source data
635 </select>
636 </td>
637</tr>
638
639<tr>
640 <td></td>
641 <td colspan=3>
642 <font color="#909090">
643 _If_("_bcargingsdlarea_" eq "yes",
644 The input directory <tt>_bcarginputdir_</tt> is internal to the
645 Greenstone collection file area. In this situation the default
646 behaviour is to build the collection directly from this
647 source data. Use the pull-down menu to alter this behaviour.
648 ,
649 The input directory <tt>_bcarginputdir_</tt> is external to the
650 Greenstone collection file area. Use this pull-down menu to
651 control whether or not a copy of the data is made for collection
652 building purposes.
653 )
654 Note, once a collection has been built it
655 is not necessary for the source data to remain in the Greenstone
656 collection area -- the collection can be safely access, browsed
657 and searched without this. If you wish, however, to make changes
658 to the collection and then rebuilt it then
659 the source data must still be avialable.
660 </font>
661 </td>
662</tr>
663
664<tr><td><p>&nbsp;</td></tr>
665<tr><td colspan=4 align=middle>
666 <a href="javascript:next_page();">Next page_iconwizardnext_</a>
667</table>
668</form>
669</td></tr></table></center>
670
671_wizardbar_
672}
673
674
675#---------------------------------------------------------------------------#
676
677_headmessmetadata_ { New collection wizard: metadata }
678
679_contentmetadata_ {
680
681
682<script language="javascript">
683
684 <!-- Hide code from non-js browsers
685 _commonjavascript_
686
687 function save() \{
688 _fullnamelist_
689 var form = document.form;
690
691 var bc1refine = "";
692 if (form.bc1acronyms == "on") \{
693 bc1refine += "AcronymPlug ";
694 \}
695
696 form.wizard.value += ":definished"; //*****
697
698 var cgi_prefix = "webpage_mkcol.pl";
699 cgi_prefix += "?gsdlhome=" + escape("_gsdlhome_");
700 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
701 cgi_prefix += "&bc1refine=" + escape(bc1refine);
702
703 simulate_get_action(cgi_prefix);
704 \}
705 // end hiding -->
706
707
708</script>
709
710<center><table><tr><td>
711<form name="form" method="post" action="_gwcgi_">
712<input type=hidden name="gsdlhome" value="_gsdlhome_">
713<input type=hidden name="a" value="bc">
714<input type=hidden name="bc" value="newcol">
715_hiddenargs_
716
717<input type=hidden name="bc1fullname" value="_bcargfullname_")>
718<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
719<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
720<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
721<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
722<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
723<input type=hidden name="bc1copydir" value="_bcargcopydir_">
724<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
725<input type=hidden name="bc1refine" value="_bcargrefine_">
726
727<table border=0>
728<tr>
729 <td>
730 Extract acronyms:
731 </td>
732 <td colspan=3>
733 <input type=hidden name="bc1acronyms" value="_bcargacronyms_">
734 <input type=radio name="bc1acronymsradio" value="on"
735 onClick=document.form.bc1acronyms.value="on"
736 _If_('"_bcargacronyms_" eq "on"', checked)> on
737 &nbsp;&nbsp;&nbsp;&nbsp;
738 <input type=radio name="bc1acronymsradio" value="off"
739 onClick=document.form.bc1acronyms.value="off"
740 _If_('"_bcargacronyms_" eq "off"', checked)> off
741 </td>
742</tr>
743<tr>
744 <td></td>
745 <td colspan=3>
746 <font color="#909090">
747 Switch this option on if you want acronyms in the
748 text extracted as metadata.
749 </font>
750 </td>
751</tr>
752
753<tr><td><p>&nbsp;</td></tr>
754<tr><td colspan=4 align=middle>
755 <a href="javascript:save()">Save_iconwizardnext_</a>
756</table>
757</form>
758</td></tr></table></center>
759
760_wizardbar_
761}
762
763
764#---------------------------------------------------------------------------#
765
766_headmessdefinished_ { New collection wizard: data entry finished }
767
768_contentdefinished_ {
769
770
771<script language="javascript">
772
773 <!-- Hide code from non-js browsers
774 _commonjavascript_
775 //********** page never used!!!
776 // end hiding -->
777
778
779</script>
780
781<center><table><tr><td>
782<form name="form" method="post" action="_gwcgi_">
783<input type=hidden name="gsdlhome" value="_gsdlhome_">
784<input type=hidden name="a" value="bc">
785<input type=hidden name="bc" value="newcol">
786_hiddenargs_
787
788<input type=hidden name="bc1fullname" value="_bcargfullname_")>
789<input type=hidden name="bc1contactemail" value="_bcargcontactemail_")>
790<input type=hidden name="bc1aboutdesc" value="_bcargaboutdesc_")>
791<input type=hidden name="bc1srcformat" value="_bcargsrcformat_">
792<input type=hidden name="bc1fileorurl" value="_bcargfileorurl_">
793<input type=hidden name="bc1inputdir" value="_bcarginputdir_">
794<input type=hidden name="bc1copydir" value="_bcargcopydir_">
795<input type=hidden name="bc1ingsdlarea" value="_bcargingsdlarea_">
796<input type=hidden name="bc1acronyms" value="_bcargacronyms_">
797<input type=hidden name="bc1refine" value="_bcargrefine_">
798
799<table border=0>
800<tr>
801 <td>
802 This concludes the data entry required to build a new collection.
803
804
805 Away to (download) and then create config file
806
807 possible want to re-edit
808 build stuff
809 </td>
810</tr>
811
812<tr><td><p>&nbsp;</td></tr>
813<tr><td align=middle>
814 <a href="javascript:next_page();">Create new collection_iconwizardnext_</a>
815</table>
816</form>
817</td></tr></table></center>
818
819}
820
821#---------------------------------------------------------------------------#
822# Edit a collection
823#---------------------------------------------------------------------------#
824
825_headmesseditcol_ { Edit a collection }
826
827
828_contenteditcol_ {
829
830
831<script language="javascript">
832
833 <!-- Hide code from non-js browsers
834 function simulate_get_action(args)
835 \{
836 var form = document.form;
837
838// args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value);
839 args += "&bc1dirname=" + escape(form.bc1dirname.value);
840
841 document.location = args;
842 \}
843
844 function save() \{
845 _dirnamelist_
846 var form = document.form;
847
848 var fn_index = form.bc1fullnameindex.value;
849 var fullname = form.bc1fullnamemenu.options[fn_index].value;
850 form.bc1dirname.value = dirnamelist[fn_index];
851
852 var do_save = true;
853 if (form.bc1cfgfile.value.match(/^\\s*$/))
854 \{
855 var confirm_mess = "Configuration data to \\"" + fullname + "\\"";
856 confirm_mess += " is empty. Are you sure you want to save?";
857
858 do_save = confirm(confirm_mess);
859 \}
860 if (do_save)
861 \{
862 var cgi_prefix = "webpage_editcol.pl";
863 cgi_prefix += "?gsdlhome=" + escape("_gsdlhome_");
864 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
865 cgi_prefix += "&bc1cfgfile=" + escape(form.bc1cfgfile.value);
866
867 simulate_get_action(cgi_prefix);
868 \}
869 \}
870
871 function fullnameindex_changed() \{
872 _dirnamelist_
873 var form = document.form;
874
875 var fn_index = form.bc1fullnamemenu.selectedIndex;
876 form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
877 form.bc1dirname.value = dirnamelist[fn_index];
878
879 var cgi_prefix = "_httpbuild_&bca=editcol";
880 simulate_get_action(cgi_prefix);
881 \}
882
883 // end hiding -->
884
885</script>
886
887<center><table><tr><td>
888<form name="form" method="post" action="_gwcgi_" >
889<input type=hidden name="gsdlhome" value="_gsdlhome_">
890<input type=hidden name="a" value="bc">
891<input type=hidden name="bc" value="editcol">
892_hiddenargs_
893
894
895<table border=0>
896<tr>
897 <td colspan=4>
898
899 To edit the configuration settings for collection,
900 first choose the collection to edit through the pulldown
901 menu, then edit the data that appears. To commit your
902 changes to disk, click on &quot;Save&quot;.
903 </td>
904</tr>
905
906
907<tr>
908 <td>Colletion to edit:</td>
909 <td colspan=3>
910 _fullnamemenu_
911 <input type="hidden" name="bc1dirname" value="_bcargdirname_">
912 </td>
913<tr>
914 <td></td>
915 <td colspan=3>
916 <font color="#909090">
917 Use this pull-down menu to specify the collection to edit.
918 </font>
919 </td>
920</tr>
921
922<tr>
923 <td>Configuration settings:</td>
924 <td colspan=3>
925 <textarea name="bc1cfgfile" cols=50 rows=18 wrap=physical>_cfgfile_</textarea>
926 </td>
927</tr>
928<tr>
929 <td></td>
930 <td colspan=3>
931 <font color="#909090">
932 Alter the above data to change the configuration settings for a collection.
933 Click on &quot;Save&quot; to commit your changes to disk.
934 </font>
935 </td>
936</tr>
937
938
939<tr><td><p>&nbsp;</td></tr>
940<tr><td colspan=4 align=middle>
941 <table border=0>
942 <tr>
943 <td>
944 &nbsp;<a href="_httpbuild_&bca=editcol">_iconwizardreset_Reset page</a>
945 </td>
946 <td>&nbsp;&nbsp;&nbsp;&nbsp;</td>
947 <td>
948 <a href="javascript:save();">Save configuration data_iconwizardnext_</a>&nbsp;<br>
949 <a href="_httpbuild_&bca=mess&head=_headnosave_&mess=_messnosave_&bc1dirname=_bcargdirname_">Don't
950 Save configuration data_iconwizardnext_</a>&nbsp;
951 </td>
952 </tr>
953 </table>
954</table>
955</form>
956</td></tr></table></center>
957
958}
959
960
961#---------------------------------------------------------------------------#
962# Build a collection
963#---------------------------------------------------------------------------#
964
965_headmessbuildcol_ { Build a collection }
966
967
968_allowcopydatano_ {
969 <td>
970 <input type=radio name="bc1copydataradio" value=false
971 _If_("_bcargcopydata_" eq "false", checked)
972 onClick=document.form.bc1copydata.value=false>No
973 </td>
974}
975
976_copydatatext_ {
977<tr>
978 <td>Copy data:</td>
979 <td>
980 <input type=hidden name="bc1copydata" value="_bcargcopydata_">
981 <input type=radio name="bc1copydataradio" value=true
982 _If_("_bcargcopydata_" eq "true", checked)
983 onClick=document.form.bc1copydata.value=true>Yes
984 </td>
985 _If_("_bcargfirsttime_" eq "false",_allowcopydatano_)
986</tr>
987<tr>
988 <td></td>
989 <td colspan=3>
990 <font color="#909090">
991 <p> Copying the data is necessary the very first time the collection is
992 built. Subsequent builds do not need this option selected, unless new
993 data has been added to the original data, in which case the data should
994 be recopied.
995 </font>
996 </td>
997</tr>
998}
999
1000_contentbuildcol_ {
1001
1002
1003<script language="javascript">
1004
1005 <!-- Hide code from non-js browsers
1006 function simulate_get_action(args)
1007 \{
1008 var form = document.form;
1009
1010// args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value); //****
1011 args += "&bc1dirname=" + escape(form.bc1dirname.value);
1012 args += "&bc1copydata=" + escape(form.bc1copydata.value);
1013 args += "&bc1doimport=" + escape(form.bc1doimport.value);
1014 args += "&bc1dobuild=" + escape(form.bc1dobuild.value);
1015
1016 document.location = args;
1017 \}
1018
1019 function build() \{
1020 _dirnamelist_
1021 var form = document.form;
1022
1023 var fn_index = form.bc1fullnameindex.value;
1024 var fullname = form.bc1fullnamemenu.options[fn_index].value;
1025
1026 form.bc1dirname.value = dirnamelist[fn_index];
1027
1028 var cgi_prefix = "_httpbuild_&bca=buildcol";
1029 cgi_prefix += "&gsdlhome=" + escape("_gsdlhome_");
1030 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
1031 cgi_prefix += "&wizard=buildframe";
1032
1033 simulate_get_action(cgi_prefix);
1034 \}
1035
1036 function fullnameindex_changed() \{
1037 _dirnamelist_
1038
1039 var form = document.form;
1040 var fn_index = form.bc1fullnamemenu.selectedIndex;
1041 form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
1042 form.bc1dirname.value = dirnamelist[fn_index];
1043
1044 var cgi_prefix = "_httpbuild_&bca=buildcol";
1045 cgi_prefix += "&gsdlhome=" + escape("_gsdlhome_");
1046 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
1047 cgi_prefix += "&wizard=buildcol";
1048
1049 simulate_get_action(cgi_prefix);
1050 \}
1051
1052 // end hiding -->
1053
1054</script>
1055
1056<center><table><tr><td>
1057<form name="form" method="post" action="_gwcgi_" >
1058<input type=hidden name="gsdlhome" value="_gsdlhome_">
1059<input type=hidden name="a" value="bc">
1060<input type=hidden name="bc" value="buildcol">
1061_hiddenargs_
1062
1063
1064<table border=0>
1065<tr>
1066 <td colspan=4>
1067 Building a collection is a multi-staged process. After selecting the
1068 collection you wish to be built, you must specify with stages of
1069 the building process you want executed.
1070 </td>
1071</tr>
1072
1073
1074<tr>
1075 <td>Collection to build:</td>
1076 <td colspan=3>
1077 _fullnamemenu_
1078 <input type="hidden" name="bc1dirname" value="_bcargdirname_">
1079 </td>
1080<tr>
1081 <td></td>
1082 <td colspan=3>
1083 <font color="#909090">
1084 Select from the pull-down menu the collection you wish to build.
1085 </font>
1086 </td>
1087</tr>
1088
1089
1090_If_("_bcargcopydir_" eq "yes",
1091 _copydatatext_
1092 ,
1093 <input type=hidden name="bc1copydata" value="false">
1094)
1095
1096
1097<tr>
1098 <td>Cache intermediate data:</td>
1099 <td>
1100 <input type=hidden name="bc1doimport" value="_bcargdoimport_">
1101 <input type=radio name="bc1doimportradio" value=true
1102 _If_("_bcargdoimport_" eq "true", checked)
1103 onClick=document.form.bc1doimport.value=true>Yes
1104 </td>
1105 <td>
1106 <input type=radio name="bc1doimportradio" value=false
1107 _If_("_bcargdoimport_" eq "false", checked)
1108 onClick=document.form.bc1doimport.value=false>No
1109 </td>
1110</tr>
1111<tr>
1112 <td></td>
1113 <td colspan=3>
1114 <font color="#909090">
1115 <p> To speed up the collection building process, intermediate data can be
1116 cached to file. Set this option to &quot;yes&quot; (the default) unless
1117 the collection is prohibitively large or the amount of available disk space
1118 is small.
1119 </font>
1120 </td>
1121</tr>
1122
1123<tr>
1124 <td>Create indexes:</td>
1125 <td>
1126 <input type=hidden name="bc1dobuild" value="_bcargdobuild_">
1127 <input type=radio name="bc1dobuildradio" value=true
1128 _If_("_bcargdobuild_" eq "true", checked)
1129 onClick=document.form.bc1dobuild.value=true>Yes
1130 </td>
1131 <td>
1132 <input type=radio name="bc1dobuildradio" value=false
1133 _If_("_bcargdobuild_" eq "false", checked)
1134 onClick=document.form.bc1dobuild.value=false>No
1135 </td>
1136</tr>
1137<tr>
1138 <td></td>
1139 <td colspan=3>
1140 <font color="#909090">
1141 <p> The final stage of building a collection is the creation of the indexes.
1142 Except in very unusual circumstances this option should be
1143 set to &quot;yes&quot; (the default).
1144 </font>
1145 </td>
1146</tr>
1147
1148
1149
1150<tr><td><p>&nbsp;</td></tr>
1151<tr><td colspan=4 align=middle>
1152 &nbsp;<a href="_httpbuild_&bca=buildcol">_iconwizardreset_Reset page</a>&nbsp;&nbsp;&nbsp;&nbsp;
1153 <a href="javascript:build();">Build collection_iconwizardnext_</a>&nbsp;
1154</table>
1155</form>
1156</td></tr></table></center>
1157
1158}
1159
1160
1161#---------------------------------------------------------------------------#
1162
1163_headmessbuildframe_ { Executing build commands }
1164
1165
1166_contentbuildframe_ {
1167
1168<frameset rows="*,150,*" border=0>
1169 <noframes><body bgcolor="#ffffff">
1170 <p>You must have a frame enabled browser to view this.</p>
1171 </body>
1172 </noframes>
1173 <frame src="_httpbuild_&bca=buildcol&wizard=buildexec&bc1dirname=_bcargdirname_&bc1tmpname=_bcargtmpname_" name=infoframe>
1174 <frame src="_httpbuild_&bca=buildstatus&bc1tmpname=_bcargtmpname_" name=execframe>
1175 <frame src="_httpbuild_&bca=blankpage" name=blankframe>
1176</frameset>
1177}
1178
1179
1180#---------------------------------------------------------------------------#
1181
1182_headmessbuildexec_ { Executing build commands }
1183
1184
1185_contentbuildexec_ {
1186
1187
1188<script language="javascript">
1189
1190 <!-- Hide code from non-js browsers
1191 var timer = 5;
1192 function restart_count_down() \{
1193 timer=5;
1194 setTimeout("count_down()",1000);
1195 \}
1196
1197 function count_down() \{
1198 if (timer==0)
1199 \{
1200 update_status_page();
1201 \}
1202 else
1203 \{
1204 window.status = "Building status update in "+timer+" seconds";
1205 timer--;
1206 setTimeout("count_down()",1000);
1207 \}
1208 \}
1209
1210 function update_status_page() \{
1211 var cgi_cmd = "webpage_buildstatus.pl";
1212 cgi_cmd += "?gsdlhome=" + escape("_gsdlhome_");
1213 cgi_cmd += "&httpbuild=" + escape("_httpbuild_");
1214 cgi_cmd += "&bc1dirname=" + escape("_bcargdirname_");
1215 cgi_cmd += "&bc1tmpname=" + escape("_bcargtmpname_");
1216 parent.execframe.document.location = cgi_cmd;
1217
1218 var finished = document.form.bc1finished.value;
1219 if (finished==0)
1220 \{
1221// setTimeout("update_status_page()",5000); //****
1222// setTimeout("count_down()",1000);
1223 restart_count_down();
1224 \}
1225 else
1226 \{
1227 var cgi_cmd = "_httpbuild_&bca=mess";
1228 if (finished>0)
1229 \{
1230 cgi_cmd += "&head=_headdone_&mess=_messdonebuildcol_";
1231 \}
1232 else
1233 \{
1234 cgi_cmd += "&head=_headerror_&mess=_messerrorbuildcol_";
1235 \}
1236
1237 cgi_cmd += "&gsdlhome=" + escape("_gsdlhome_");
1238 cgi_cmd += "&httpbuild=" + escape("_httpbuild_");
1239 cgi_cmd += "&bc1dirname=" + escape("_bcargdirname_");
1240 parent.document.location = cgi_cmd;
1241 \}
1242 \}
1243
1244 // end hiding -->
1245
1246</script>
1247
1248<center><table><tr><td>
1249<form name="form" method="post" action="_gwcgi_" >
1250<!-- <input type=hidden name="gsdlhome" value="_gsdlhome_">
1251<input type=hidden name="httpbuild" value="_httpbuild_"> ********* and others !!! -->
1252<input type=hidden name="a" value="bc">
1253<input type=hidden name="bc" value="buildcol">
1254_hiddenargs_
1255
1256<input type=hidden name="bc1finished" value=0>
1257
1258
1259
1260<table border=0>
1261<tr>
1262 <td colspan=4>
1263 The collection is now being built. See the building status line
1264 below for feedback on how the operation is progressing.
1265 </td>
1266</tr>
1267
1268</table>
1269</form>
1270</td></tr></table></center>
1271
1272<script language="javascript">
1273 <!-- Hide code from non-js browsers
1274 update_status_page();
1275 // end hiding -->
1276</script>
1277
1278}
1279
1280package buildstatus
1281
1282_header_ {
1283<html>
1284<head>
1285<title>Building status</title>
1286</head>
1287<body bgcolor="#ffffff" text="#000000" link="#006666"
1288 alink="#cc9900" vlink="#666633">
1289<h3>Building status:</h3>
1290}
1291
1292_footer_ {
1293</body>
1294</html>
1295}
1296
1297_content_ {
1298
1299<script language="javascript">
1300 <!-- Hide code from non-js browsers
1301 if (parent.infoframe.document.form) // form loaded
1302 \{
1303 parent.infoframe.document.form.bc1finished.value = "_build:bcargfinished_";
1304 \}
1305 // end hiding -->
1306</script>
1307
1308 _contentpara_
1309}
1310
1311
1312#---------------------------------------------------------------------------#
1313# Delete a collection
1314#---------------------------------------------------------------------------#
1315
1316package build
1317
1318_headmessdelcol_ { Delete a collection }
1319
1320
1321_contentdelcol_ {
1322
1323
1324<script language="javascript">
1325
1326 <!-- Hide code from non-js browsers
1327 function simulate_get_action(args)
1328 \{
1329 var form = document.form;
1330
1331// args += "&bc1fullnameindex=" + escape(form.bc1fullnameindex.value);
1332 args += "&bc1dirname=" + escape(form.bc1dirname.value);
1333 args += "&bc1deletearea=" + escape(form.bc1deletearea.value);
1334
1335 document.location = args;
1336 \}
1337
1338 function delete_area() \{
1339 _dirnamelist_
1340 var form = document.form;
1341
1342 var fn_index = form.bc1fullnameindex.value;
1343 var fullname = form.bc1fullnamemenu.options[fn_index].value;
1344 var deletearea = form.bc1deletearea.value;
1345
1346 form.bc1dirname.value = dirnamelist[fn_index];
1347
1348 var da_mess = "";
1349 if (deletearea == "archives") \{ da_mess = "cached building data"; \}
1350 else if (deletearea == "import") \{ da_mess = "source data"; \}
1351 else \{ da_mess = "all data"; \}
1352
1353 var confirm_mess = "Confirm deletion of \\"" + da_mess + "\\"";
1354 confirm_mess += " from \\"the " + fullname + " collection\\"";
1355
1356 var do_delete = confirm(confirm_mess);
1357 if (do_delete)
1358 \{
1359 var cgi_prefix = "webpage_delcol.pl";
1360 cgi_prefix += "?gsdlhome=" + escape("_gsdlhome_");
1361 cgi_prefix += "&httpbuild=" + escape("_httpbuild_");
1362
1363 simulate_get_action(cgi_prefix);
1364 \}
1365 \}
1366
1367 function fullnameindex_changed() \{
1368 var form = document.form;
1369 var fn_index = form.bc1fullnamemenu.selectedIndex;
1370 form.bc1fullnameindex.value = form.bc1fullnamemenu.selectedIndex;
1371 \}
1372
1373 // end hiding -->
1374
1375</script>
1376
1377<center><table><tr><td>
1378<form name="form" method="post" action="_gwcgi_" >
1379<input type=hidden name="gsdlhome" value="_gsdlhome_">
1380<input type=hidden name="a" value="bc">
1381<input type=hidden name="bc" value="delcol">
1382_hiddenargs_
1383
1384
1385<table border=0>
1386<tr>
1387 <td colspan=4>
1388
1389 Deletion of data from a collection can be selective or all encompassing.
1390 Use the options below to specified the required deletion operation.
1391 </td>
1392</tr>
1393
1394
1395<tr>
1396 <td>Colletion to delete:</td>
1397 <td colspan=3>
1398 _fullnamemenu_
1399 <input type="hidden" name="bc1dirname" value="_bcargdirname_">
1400 </td>
1401<tr>
1402 <td></td>
1403 <td colspan=3>
1404 <font color="#909090">
1405 Use this pull-down menu to target the collection that has files deleted.
1406 </font>
1407 </td>
1408</tr>
1409
1410<tr>
1411 <td>Type of data to delete:</td>
1412 <td>
1413 <input type=hidden name="bc1deletearea" value="_bcargdeletearea_">
1414 <input type=radio name="bc1deletearearadio" value="archives"
1415 onClick=document.form.bc1deletearea.value="archives"
1416 _If_("_bcargdeletearea_" eq "archives", checked)
1417 _If_("_bcargdeletearea_" eq "", checked)> cached data
1418 </td>
1419 <td>
1420 <input type=radio name="bc1deletearearadio" value="import"
1421 onClick=document.form.bc1deletearea.value="import"
1422 _If_('"_bcargdeletearea_" eq "import"', checked)> cached and source data
1423 </td>
1424 <td>
1425 <input type=radio name="bc1deletearearadio" value="all"
1426 onClick=document.form.bc1deletearea.value="all"
1427 _If_('"_bcargdeletearea_" eq "all"', checked)> all data
1428 </td>
1429</tr>
1430<tr>
1431 <td></td>
1432 <td colspan=3>
1433 <font color="#909090">
1434 There are three levels to deletion: cached data; cached and
1435 source data; and all data.
1436
1437 <p> Cached data is generated during
1438 a building operation, and is superfluous to a collection that
1439 is &quot;live&quot;. Keeping this data, however, can save
1440 time if the only required step in a rebuild is index creation.
1441
1442 <p> Source data, like cached data, is superflous to a collection
1443 that is &quot;live&quot;. However, you must keep this data if
1444 indend to rebuild the collection in the future.
1445
1446 <p> The final level to collection deletion is delete &quot;all data&quot;
1447 Selecting this option removes all traces of the collection
1448 from the digital library.
1449
1450 </font>
1451 </td>
1452</tr>
1453
1454
1455<tr><td><p>&nbsp;</td></tr>
1456<tr><td colspan=4 align=middle>
1457 &nbsp;<a href="_httpbuild_&bca=delcol">_iconwizardreset_Reset page</a>&nbsp;&nbsp;&nbsp;&nbsp;
1458 <a href="javascript:delete_area();">Delete specified data_iconwizardnext_</a>&nbsp;
1459</table>
1460</form>
1461</td></tr></table></center>
1462
1463}
1464
1465
1466
1467
1468
1469
1470package buildmess
1471
1472_headmess_ {}
1473_headdone_ {Successful Operation}
1474_headnosave_ {Configuration Unchanged}
1475_headerror_ {Error Encountered}
1476
1477_messdonenewcol_ {
1478 <p> Configuration of the new collection was successfully saved.
1479 Would you like to:
1480 <ul>
1481 <li><a href="_httpbuild_&bca=newcol">Make a new
1482 collection_build:iconwizardnext_</a>
1483 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1484 this collection's configuration file_build:iconwizardnext_</a>
1485 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1486 this collection_build:iconwizardnext_</a>
1487 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1488 collection_build:iconwizardnext_</a>
1489 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1490 page_build:iconwizardnext_</a>
1491 </ul>
1492}
1493
1494_messdoneeditcol_ {
1495 <p> Configuration of collection successfully updated.
1496 Would you like to:
1497 <ul>
1498 <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1499 this collection_build:iconwizardnext_</a>
1500 <li><a href="_httpbuild_&bca=newcol">Make a new
1501 collection_build:iconwizardnext_</a>
1502 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1503 this collection's configuration file_build:iconwizardnext_</a>
1504 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1505 this collection_build:iconwizardnext_</a>
1506 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1507 collection_build:iconwizardnext_</a>
1508 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1509 page_build:iconwizardnext_</a>
1510 </ul>
1511}
1512
1513_messnosave_ {
1514 <p> Configuration unchanged.
1515 Would you like to:
1516 <ul>
1517 <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1518 this collection_build:iconwizardnext_</a>
1519 <li><a href="_httpbuild_&bca=newcol">Make a new
1520 collection_build:iconwizardnext_</a>
1521 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1522 this collection's configuration file_build:iconwizardnext_</a>
1523 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Build
1524 this collection_build:iconwizardnext_</a>
1525 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1526 collection_build:iconwizardnext_</a>
1527 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1528 page_build:iconwizardnext_</a>
1529 </ul>
1530}
1531
1532_messdonebuildcol_ {
1533 <p> The collection has been successfully built.
1534 Would you like to:
1535 <ul>
1536 <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1537 the newly built collection_build:iconwizardnext_</a>
1538 <li><a href="_httpbuild_&bca=newcol">Make a new
1539 collection_build:iconwizardnext_</a>
1540 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1541 this collection's configuration file_build:iconwizardnext_</a>
1542 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Rebuild
1543 this collection_build:iconwizardnext_</a>
1544 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1545 collection_build:iconwizardnext_</a>
1546 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1547 page_build:iconwizardnext_</a>
1548 </ul>
1549}
1550
1551_messdonedelcol_ {
1552 <p> Files successfully deleted. Would you like to:
1553 <ul>
1554 <li><a href="_httpbuild_&bca=newcol">Make a new
1555 collection_build:iconwizardnext_</a>
1556 <li><a href="_httpbuild_&bca=editcol">Edit
1557 a collection's configuration file_build:iconwizardnext_</a>
1558 <li><a href="_httpbuild_&bca=buildcol">Build
1559 a collection_build:iconwizardnext_</a>
1560 <li><a href="_httpbuild_&bca=delcol">Delete data from another
1561 collection_build:iconwizardnext_</a>
1562 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1563 page_build:iconwizardnext_</a>
1564 </ul>
1565}
1566
1567_messnofn_ {
1568 <p> <center>Empty collection title</center> }
1569
1570_messconfigexists_ {
1571 <p> <center>A configuration file already exists for this collection.</center> }
1572
1573_messerrorbuildcol_ {
1574 <p> An error was encountered during the building operation, and
1575 consequently the generated files have not been
1576 transfered to the &quot;live&quot; collection. Would you like to:
1577
1578 <ul>
1579 <li><a href="_httppageabout_&c=_build:bcargdirname_" target="_top">Access
1580 the existing collection_build:iconwizardnext_</a>
1581 <li><a href="_httpbuild_&bca=newcol">Make a new
1582 collection_build:iconwizardnext_</a>
1583 <li><a href="_httpbuild_&bca=editcol&bc1dirname=_build:bcargdirname_">Edit
1584 this collection's configuration file_build:iconwizardnext_</a>
1585 <li><a href="_httpbuild_&bca=buildcol&bc1dirname=_build:bcargdirname_">Rebuild
1586 this collection_build:iconwizardnext_</a>
1587 <li><a href="_httpbuild_&bca=delcol">Delete data from a
1588 collection_build:iconwizardnext_</a>
1589 <li><a href="_httppagehome_" target="_top">Return to the Greenstone home
1590 page_build:iconwizardnext_</a>
1591 </ul>
1592
1593}
1594
1595_messerror_ {<center>An error was encountered.</center> }
1596
1597
1598_content_ {
1599 _contentpara_
1600}
1601
1602_colexists_ {
1603 <p> The collection title you have specified already exists. Please choose another.
1604
1605}
1606
1607
1608
1609
1610
1611
Note: See TracBrowser for help on using the repository browser.