Changeset 2777 for trunk/gsdl
- Timestamp:
- 2001-10-03T18:04:18+12:00 (23 years ago)
- Location:
- trunk/gsdl/macros
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/macros/collect.dm
r2774 r2777 42 42 43 43 _imagemore_ {<a href="javascript:more()" onMouseover="roll('more',1);" onMouseOut="roll('more',0);"><img 44 name="more" src="_httpimg_/moreof.gif" onLoad="gbutton(this,'_httpimg_/moreon.gif');" border=0 alt=" more"44 name="more" src="_httpimg_/moreof.gif" onLoad="gbutton(this,'_httpimg_/moreon.gif');" border=0 alt="_textmore_" 45 45 align=top></a>} 46 _imagemore_ [v=1] { more}47 48 _iconhcolect_ {<img src="_httpi mg_/h_colect.gif" alt="the collector" border=0>}46 _imagemore_ [v=1] {_textmore_} 47 48 _iconhcolect_ {<img src="_httpiconhcolect_" alt="_textcollector_" border=0>} 49 49 _icongreyarrow_ {<img src="_httpimg_/grarrow.gif">} 50 50 _icongreyuparrow_ {<img src="_httpimg_/guarrow.gif">} … … 56 56 _iconycinfoon_ {<img src="_httpiconycinfoon_" alt="_textinfo_">} 57 57 _iconncinfoof_ {<img src="_httpiconncinfoof_" alt="_textinfo_">} 58 _textinfo_ {collection information}59 58 60 59 _icongcsrceof_ {<img src="_httpicongcsrceof_" alt="_textsrce_">} … … 63 62 _iconycsrceon_ {<img src="_httpiconycsrceon_" alt="_textsrce_">} 64 63 _iconncsrceof_ {<img src="_httpiconncsrceof_" alt="_textsrce_">} 65 _textsrce_ {source data}66 64 67 65 _icongcconfof_ {<img src="_httpicongcconfof_" alt="_textconf_">} … … 70 68 _iconycconfon_ {<img src="_httpiconycconfon_" alt="_textconf_">} 71 69 _iconncconfof_ {<img src="_httpiconncconfof_" alt="_textconf_">} 72 _textconf_ {configure collection}73 70 74 71 _icongcbildof_ {<img src="_httpicongcbildof_" alt="_textbild_">} … … 77 74 _iconycbildon_ {<img src="_httpiconycbildon_" alt="_textbild_">} 78 75 _iconncbildof_ {<img src="_httpiconncbildof_" alt="_textbild_">} 79 _textbild_ {build}80 76 81 77 _icongcviewof_ {<img src="_httpicongcviewof_" alt="_textview_">} … … 84 80 _iconycviewon_ {<img src="_httpiconycviewon_" alt="_textview_">} 85 81 _iconncviewof_ {<img src="_httpiconncviewof_" alt="_textview_">} 86 _textview_ {view}87 82 88 83 _icongcdelof_ {<img src="_httpicongcdelof_" alt="_textdel_">} 89 84 _icongcdelon_ {<img src="_httpicongcdelon_" alt="_textdel_">} 90 _textdel_ {delete collection}91 85 92 86 # these buttons fixed width 77x26 fontsize 13 bgcolor #96c19b … … 94 88 _icongcexptof_ {<img src="_httpicongcexptof_" alt="_textexpt_">} 95 89 _icongcexpton_ {<img src="_httpicongcexpton_" alt="_textexpt_">} 96 _textexpt_ {export collection}97 90 98 91 ####################################################################### … … 107 100 _httpexpt_ {_gwcgi_?e=_compressedoptions_&p=expt} 108 101 109 _httpicongcinfoof_ {_httpimg_/gcinfoof.gif}110 _httpicongcinfoon_ {_httpimg_/gcinfoon.gif}111 _httpiconycinfoof_ {_httpimg_/ycinfoof.gif}112 _httpiconycinfoon_ {_httpimg_/ycinfoon.gif}113 _httpiconncinfoof_ {_httpimg_/ncinfoof.gif}114 115 _httpicongcsrceof_ {_httpimg_/gcsrceof.gif}116 _httpicongcsrceon_ {_httpimg_/gcsrceon.gif}117 _httpiconycsrceof_ {_httpimg_/ycsrceof.gif}118 _httpiconycsrceon_ {_httpimg_/ycsrceon.gif}119 _httpiconncsrceof_ {_httpimg_/ncsrceof.gif}120 121 _httpicongcconfof_ {_httpimg_/gcconfof.gif}122 _httpicongcconfon_ {_httpimg_/gcconfon.gif}123 _httpiconycconfof_ {_httpimg_/ycconfof.gif}124 _httpiconycconfon_ {_httpimg_/ycconfon.gif}125 _httpiconncconfof_ {_httpimg_/ncconfof.gif}126 127 _httpicongcbildof_ {_httpimg_/gcbildof.gif}128 _httpicongcbildon_ {_httpimg_/gcbildon.gif}129 _httpiconycbildof_ {_httpimg_/ycbildof.gif}130 _httpiconycbildon_ {_httpimg_/ycbildon.gif}131 _httpiconncbildof_ {_httpimg_/ncbildof.gif}132 133 _httpicongcviewof_ {_httpimg_/gcviewof.gif}134 _httpicongcviewon_ {_httpimg_/gcviewon.gif}135 _httpiconycviewof_ {_httpimg_/ycviewof.gif}136 _httpiconycviewon_ {_httpimg_/ycviewon.gif}137 _httpiconncviewof_ {_httpimg_/ncviewof.gif}138 139 _httpicongcdelof_ {_httpimg_/gcdelof.gif}140 _httpicongcdelon_ {_httpimg_/gcdelon.gif}141 142 _httpicongcexptof_ {_httpimg_/gcexptof.gif}143 _httpicongcexpton_ {_httpimg_/gcexpton.gif}144 145 102 146 103 ####################################################################### … … 159 116 _iconblankbar_ 160 117 <center> 161 <h2>The Collector</h2> 162 <p><i>The pen is mightier than the sword! 163 <br>Building and distributing information collections carries responsibilities 164 that you may want to reflect on before you begin. 165 There are legal issues of copyright: being able to access documents doesn't 166 mean you can necessarily give them to others. 167 There are social issues: collections should respect the customs of the 168 community out of which the documents arise. 169 And there are ethical issues: some things simply should not be made 170 available to others. 171 <br>Be sensitive to the power of information and use it wisely. 172 </i> 173 </center> 174 <p>_iconblankbar_ 175 176 <p>The Collector helps you to create new collections, modify or add to 177 existing ones, or delete collections. To do this you will be guided through a 178 sequence of Web pages which request the information that is needed. 179 180 <p>First, you must decide whether to 118 <h2>_textcollector_</h2> 119 <p>_textcollectorblurb_ 120 </center> 121 <p>_iconblankbar_ 122 <p>_textcb1_ 123 <p>_textcb2_ 181 124 <ul> 182 125 <input type=radio name=p value=new checked> 183 create a new collection 126 _textcnc_ 184 127 <br> 185 128 <input type=radio name=p value=existing> 186 work with an existing one, adding data to it or deleting it. 129 _textwec_ 187 130 </ul> 188 131 <p>_iconblankbar_ 189 190 <p>In order to build or modify digital library collections you must sign in. 191 This is to protect you from others logging in to your computer and altering the 192 information on it. Note: for security reasons you will be automatically logged 193 out once a 30 minute period has elapsed since you logged in. If this happens, 194 don't worry! -- you will be invited to log in again and can continue from where 195 you left off. 196 197 <p>Please enter your Greenstone username and password, and click the button to sign in. 198 199 <table><tr><td width=80>Name:</td> 132 <p>_textcb3_ 133 <p>_textcb4_ 134 135 <table><tr><td width=80>_authen:textusername_</td> 200 136 <td><input type="text" name="un" value="" size=10></td> 201 137 <td></td></tr> 202 <tr><td> Password:</td>138 <tr><td>_authen:textpassword_</td> 203 139 <td><input type="password" name="pw" size=10></td> 204 140 <td><input type="submit" value="sign in"></td> … … 242 178 243 179 _changeexisting_ { 244 <p>First select the collection that you want to work with (write protected 245 collections won't appear in this list). 180 <p>_textfsc_ 246 181 <br>_fullnamemenu_<br> 247 <p> With the collection you have selected, you can182 <p>_textwtc_ 248 183 249 184 <table cellspacing=6> 250 185 <tr><td width=20 align=right valign=bottom>1.</td> 251 186 <td valign=bottom>_gsjimage_( ,_collector:httpicongcsrceof_,_collector:httpicongcsrceon_,srce,_collector:textsrce_)</td> 252 <td valign=bottom> Add more data and rebuild the collection</td></tr>187 <td valign=bottom>_textamd_</td></tr> 253 188 <tr><td align=right valign=bottom>2.</td> 254 189 <td valign=bottom>_gsjimage_(_,_collector:httpicongcconfof_,_collector:httpicongcconfon_,conf,_collector:textconf_)</td> 255 <td valign=bottom> Edit the collection configuration file and rebuild the collection</td></tr>190 <td valign=bottom>_textetc_</td></tr> 256 191 <tr><td align=right valign=bottom>3.</td> 257 192 <td valign=bottom>_gsimage_(_collector:httpdel_,_collector:httpicongcdelof_,_collector:httpicongcdelon_,del,_collector:textdel_)</td> 258 <td valign=bottom> Delete the collection entirely</td></tr>193 <td valign=bottom>_textdtc_</td></tr> 259 194 <tr><td align=right valign=bottom>4.</td> 260 195 <td valign=bottom>_gsjimage_( ,_collector:httpicongcexptof_,_collector:httpicongcexpton_,expt,_collector:textexpt_)</td> 261 <td valign=bottom> Export the collection for writing to a self-installing Windows CD-ROM</td></tr>196 <td valign=bottom>_textetcfcd_</td></tr> 262 197 </table> 263 198 } … … 274 209 <tr><td> 275 210 _iconblankbar_ 276 <center><h2> Changing an existing collection</h2></center>277 _iconblankbar_ 278 _If_("_fullnamemenu_" eq "",<p> No write-enabled collections are available for modifying,_changeexisting_)211 <center><h2>_textcaec_</h2></center> 212 _iconblankbar_ 213 _If_("_fullnamemenu_" eq "",<p>_textnwec_,_changeexisting_) 279 214 <p>_iconblankbar_ 280 215 </td></tr> … … 295 230 <tr><td> 296 231 _iconblankbar_ 297 <center><h2> Creating a new collection</h2></center>298 _iconblankbar_ 299 300 <p> The sequence of steps needed to create a new digital library collection is:232 <center><h2>_textcianc_</h2></center> 233 _iconblankbar_ 234 235 <p>_texttsosn_ 301 236 <table cellspacing=6> 302 237 <tr><td width=20 align=right valign=bottom>1.</td> 303 238 <td valign=bottom>_iconncinfoof_</td> 304 <td valign=bottom> Specify its name (and associated information)</td></tr>239 <td valign=bottom>_textsin_</td></tr> 305 240 <tr><td align=right valign=bottom>2.</td> 306 241 <td valign=bottom>_iconncsrceof_</td> 307 <td valign=bottom> Specify where the source data comes from</td></tr>242 <td valign=bottom>_textswts_</td></tr> 308 243 <tr><td align=right valign=bottom>3.</td> 309 244 <td valign=bottom>_iconncconfof_</td> 310 <td valign=bottom> Adjust the configuration options (advanced users only)</td></tr>245 <td valign=bottom>_textatco_</td></tr> 311 246 <tr><td align=right valign=bottom>4.</td> 312 247 <td valign=bottom>_iconncbildof_</td> 313 <td valign=bottom> "Build" the collection (see below)</td></tr>248 <td valign=bottom>_textbtc_</td></tr> 314 249 <tr><td align=right valign=bottom>5.</td> 315 250 <td valign=bottom>_iconncviewof_</td> 316 <td valign=bottom> Proudly view your handiwork.</td></tr>251 <td valign=bottom>_textpvyh_</td></tr> 317 252 </table> 318 253 319 <p>The fourth step is where the computer does all the work. In the "building" 320 process the computer makes all the indexes and gathers together any other 321 information that is required to make things work. But first you have to 322 specify the information. 323 324 <p>_iconblankbar_ 325 326 <p>A diagram appears below that will help you keep track of where you are. The 327 green button is the one that you click to carry on in the sequence. As you go 328 through the sequence, the buttons will change to yellow. You can return to a 329 previous page by clicking on the corresponding yellow button in the diagram. 330 331 <p>When you are ready, click the green "collection information" button to 332 begin creating your new digital library collection! 333 254 <p>_texttfsiw_ 255 <p>_iconblankbar_ 256 <p>_textadab_ 257 <p>_textwyar_ 334 258 <p><center> 335 259 _collectorbar_ … … 350 274 if (form.bc1fullname.value.match(/^\\s*$/)) 351 275 \{ 352 alert(" Collection name must be specified");276 alert("_textcnmbs_"); 353 277 form.bc1fullname.focus(); 354 278 return; … … 356 280 else if (form.bc1contactemail.value.match(/^\\s*$/)) 357 281 \{ 358 alert(" Email address must be specified");282 alert("_texteambs_"); 359 283 form.bc1contactemail.focus(); 360 284 return; … … 362 286 else if (!form.bc1contactemail.value.match(/^([^@]+)@(.+)$/)) 363 287 \{ 364 alert(" Please specify email address in the form: usename@domain");288 alert("_textpsea_"); 365 289 form.bc1contactemail.focus(); 366 290 return; … … 368 292 else if (form.bc1aboutdesc.value.match(/^\\s*$/)) 369 293 \{ 370 alert(" Description of collection must be specified");294 alert("_textdocmbs_"); 371 295 form.bc1aboutdesc.focus(); 372 296 return; … … 388 312 _iconblankbar_ 389 313 <center> 390 <h2>Collection information</h2> 391 </center> 392 <p>_iconblankbar_ 393 394 <p>When creating a new collection you need to enter some preliminary 395 information about the source data. This process is structured as a series 396 of Web pages, overseen by The Collector. The bar at the bottom of the page 397 shows you the sequence of pages to be completed. 398 399 <h4>Title for collection:</h4> 314 <h2>_textinfo_</h2> 315 </center> 316 <p>_iconblankbar_ 317 318 <p>_textwcanc_ 319 <h4>_texttfc_</h4> 400 320 <input type="text" name="bc1fullname" value="_cgiargbc1fullname_" 401 321 onChange="document.collectorform.bc1infochanged.value=1;") size=72> 402 <br> 403 The collection title is a short phrase used throughout the digital library to 404 identify the content of the collection. Example titles 405 include "Computer Science Technical Reports" and "Humanity 406 Development Library." 407 408 <h4>Contact email address:</h4> 322 <br>_texttctiasp_ 323 <h4>_textcea_</h4> 409 324 <input type="text" name="bc1contactemail" value="_cgiargbc1contactemail_" 410 325 onChange="document.collectorform.bc1infochanged.value=1;" size=72> 411 326 <br> 412 This email address specifies the first point of contact for the collection. 413 If the Greenstone software detects a problem, a diagnostic report is 414 sent to this address. Enter an email address in its full form: 415 <tt>name@domain</tt>. 416 417 <h4>About this collection:</h4> 327 _textteas_ 328 329 <h4>_textatc_</h4> 418 330 <textarea name="bc1aboutdesc" cols=72 rows=6 wrap=physical 419 331 onChange="document.collectorform.bc1infochanged.value=1;"> 420 332 _cgiargbc1aboutdesc_ 421 333 </textarea> 422 <br> 423 This is statement describing the principles governing what is included in the 424 collection. It appears on the first page when the collection is presented. 425 426 <p>_iconblankbar_ 427 428 <p>Your position in the sequence is indicated by an arrow underneath--in this 429 case, the "collection information" stage. To proceed, click the green "source 430 data" button. 431 334 <br>_texttiasd_ 335 336 <p>_iconblankbar_ 337 338 <p>_textypits_ 432 339 <p><center> 433 340 _collectorbar_ … … 496 403 _srcenew_ { 497 404 <center> 498 <h2> Source data</h2>405 <h2>_textsrce_</h2> 499 406 </center> 500 407 <p>_iconblankbar_ … … 502 409 } 503 410 504 _srcebadsources_ {505 <p>One or more of the input sources you specified is unavailable (marked506 _iconcross_ below).507 508 <p>This might be because509 <ul>510 <li>The file, FTP site or URL does not exist.511 <li>You need to dial up your ISP first.512 <li>You are trying to access a URL from behind a firewall (this is the case513 if you normally have to present a username and password to access the514 internet).515 </ul>516 517 <p>If this is a URL that you can see in your browser, it may be coming from518 a locally cached copy. Unfortunately, locally cached copies are invisible519 to our mirroring process. In this case we recommend that you download the520 pages using your browser first.521 }522 523 411 _srcenewcontent_ { 524 <p>You may base your collection on either 525 <ul> 526 <li>The default structure 527 <dl><dd>The new collection may contain html documents (.htm, .html), plain text 528 documents (.txt, .text), MS Word documents (.doc), PDF documents (.pdf) or 529 email documents (.email).</dd></dl> 530 <li>An existing collection 531 <dl><dd>The files in your new collection must be exactly the same type as those 532 used to build the existing one.</dd></dl> 533 </ul> 534 535 <p>Base the collection on 412 _textymbyco_ 413 <p>_textbtco_ 536 414 _fullnamemenu_ 537 415 <p>_iconblankbar_ … … 540 418 _srceappend_ { 541 419 <center> 542 <h2>Add new data</h2> 543 </center> 544 <p>_iconblankbar_ 545 <h4>Adding data:</h4> 546 The files that you specify below will be added to the collection. Make sure 547 that you do not re-specify files that are already in the collection: 548 otherwise two copies will be included. Files are identified by their full 549 pathname, Web pages by their absolute Web address. 420 <h2>_textand_</h2> 421 </center> 422 <p>_iconblankbar_ 423 <h4>_textad_</h4> 424 _texttftysb_ 550 425 } 551 426 … … 566 441 567 442 <a name=sources> 568 <h4> Input sources:</h4>443 <h4>_textis_</h4> 569 444 _sourcelist_ 570 445 571 <p>If you use file:// or ftp:// to specify a file, that file will be 572 downloaded. 573 574 <p>If you use http:// it depends on whether the URL gives you a normal web 575 page in your browser, or a list of files. If a page, that page will be 576 downloaded -- and so will all pages it links to, and all pages they link 577 to, etc. -- provided they reside on the same site, below the URL. 578 579 <p>If you use file:// or ftp:// to specify a folder or directory, or give a 580 http:// URL that leads to a list of files, everything in the folder and all 581 its sub-folders will be included in the collection. 582 583 <p>Click the "more sources" button to get more input boxes. 584 585 <p>_iconblankbar_ 586 <p>Click one of the green buttons. If you are an advanced user you may want 587 to adjust the collection configuration. Alternatively, go straight to the 588 building stage. Remember, you can always revisit an earlier stage by 589 clicking its yellow button. 590 446 _textddd1_ 447 <p>_iconblankbar_ 448 _textddd2_ 591 449 <p><center> 592 450 _collectorbar_ … … 631 489 _iconblankbar_ 632 490 <center> 633 <h2>Configure collection</h2> 634 </center> 635 <p>_iconblankbar_ 636 637 <p>The building and presentation of your collection are controlled by 638 specifications in a special "configuration file". Advanced users may want 639 to alter the configuration settings. 640 641 <center><p><b>If you are not an advanced user, just go to the bottom of the 642 page.</b></center> 643 644 <p>To alter the configuration settings, edit the data that appears below. 645 If you make a mistake, click on "Reset" to reinstate the 646 original configuration settings. 491 <h2>_textconf_</h2> 492 </center> 493 <p>_iconblankbar_ 494 _textconf1_ 647 495 648 496 <p><textarea name="cfgfile" cols=72 rows=18 wrap=off onChange="changed=1;"> … … 651 499 <table><tr valign=top> 652 500 <td><a href="javascript:reset\_button();">_iconstop_</a></td> 653 <td><a href="javascript:reset\_button();"> Reset</a></td>501 <td><a href="javascript:reset\_button();">_textreset_</a></td> 654 502 </tr></table> 655 503 … … 747 595 _iconblankbar_ 748 596 <center> 749 <h2>Build</h2> 750 </center> 751 <p>_iconblankbar_ 752 <p> 753 The collection is now being built: this might take some time. The building 754 status line below gives feedback on how the operation is progressing. 597 <h2>_textbild_</h2> 598 </center> 599 <p>_iconblankbar_ 600 <p> 601 _textbild1_ 755 602 <p> 756 603 757 604 <table> 758 605 <tr valign=center><td> 759 To stop the building process at any time, click here. 760 <br>The collection you are working on will remain intact. 606 _textbild2_ 761 607 </td> 762 <td><input type="submit" value=" stop building"></td>608 <td><input type="submit" value="_textstopbuild_"></td> 763 609 </table> 764 610 765 611 <p> 766 If you leave this page (and have not cancelled the building process with 767 the "stop building" button) the collection will continue to build and will 768 be installed upon successful completion. 612 _textbild3_ 769 613 </td></tr> 770 614 </table></center> … … 795 639 _iconblankbar_ 796 640 <center> 797 <h2>Build cancelled</h2> 798 </center> 799 <p>_iconblankbar_ 800 <p> 801 The collection building process was cancelled. Use the yellow buttons below 802 to make changes to your collection or restart the building process. 641 <h2>_textbuildcancelled_</h2> 642 </center> 643 <p>_iconblankbar_ 644 <p> 645 _textbildcancel1_ 803 646 <p><center> 804 647 _collectorbar_ … … 834 677 \} else \{ 835 678 if (timer==1) \{ 836 window.status = " Building status update in 1 second";679 window.status = "_textbsupdate1_"; 837 680 \} else \{ 838 window.status = " Building status update in "+timer+" seconds";681 window.status = "_textbsupdate2_ "+timer+" _textseconds_"; 839 682 \} 840 683 timer--; … … 870 713 <table width=_pagewidth_> 871 714 <tr><td> 872 <p> Collection built successfully.715 <p>_textbildsuc_ 873 716 874 717 <p><center> … … 913 756 914 757 _textfailmsg1_ { 915 The collection could not be built as it contains no data. Make sure that at 916 least one of the directories or files you specified on the <i>source 917 data</i> page exists and is of a type or (in the case of a directory) 918 contains files of a type, that Greenstone can process. 758 _textfailmsg11_ 919 759 <p><center> 920 760 _collectorbar_ … … 925 765 926 766 _textfailmsg2_ { 927 The collection could not be built (import.pl failed). 928 <p> the build log contains the following information:767 _textfailmsg21_ 768 <p>_textblcont_ 929 769 <p>_faillog_ 930 <p>Please <a href="_httppagecollector_" target=_top>restart the collector</a> and try 931 again. 770 <p>_texttryagain_ 932 771 } 933 772 934 773 _textfailmsg3_ { 935 The collection could not be built (buildcol.pl failed). 936 <p> the build log contains the following information:774 _textfailmsg31_ 775 <p>_textblcont_ 937 776 <p>_faillog_ 938 <p>Please <a href="_httppagecollector_" target=_top>restart the collector</a> and try 939 again. 777 <p>_texttryagain_ 940 778 } 941 779 942 780 _textfailmsg4_ { 943 The collection was built successfully but could not be installed. 944 <p> the build log contains the following information:781 _textfailmsg41_ 782 <p>_textblcont_ 945 783 <p>_faillog_ 946 784 } … … 949 787 950 788 _textfailmsg7_ { 951 An unexpected error occurred while attepting to build your collection 952 <p>Please <a href="_httppagecollector_" target=_top>restart the collector</a> and try 953 again. 954 } 955 956 ####################################################################### 957 # expt 958 ####################################################################### 959 960 _exptscriptextra_ {} 961 _exptcontent_ {Sorry, this facility has not yet been implemented} 962 789 _textfailmsg71_ 790 <p>_texttryagain_ 791 } 963 792 964 793 ####################################################################### … … 978 807 _messagefoot_ { 979 808 <p> 980 <a href="javascript:document.collectorform.submit();"> Return to the collector</a>809 <a href="javascript:document.collectorform.submit();">_textretcoll_</a> 981 810 <p>_iconblankbar_ 982 811 </td></tr> … … 995 824 _messagehead_ 996 825 <p> 997 Some or all of the _cgiargbc1dirname_ collection could not be 998 deleted. Possible causes are: 999 <ul> 1000 <li> Greenstone does not have permission to delete the _gsdlhome_/collect/_cgiargbc1dirname_ 1001 directory.<br> 1002 You may need to remove this directory manually to complete the removal of the _cgiargbc1dirname_ 1003 collection from this computer. 1004 </ul> 826 _textdelperm_ 1005 827 _messagefoot_ 1006 828 } … … 1009 831 _messagehead_ 1010 832 <p> 1011 The _cgiargbc1dirname_ collection is protected or invalid. Deletion was cancelled. 833 _textdelinv_ 1012 834 _messagefoot_ 1013 835 } … … 1016 838 _messagehead_ 1017 839 <p> 1018 The _cgiargbc1dirname_ collection was successfully deleted. 840 _textdelsuc_ 1019 841 _messagefoot_ 1020 842 } … … 1023 845 _messagehead_ 1024 846 <input type=hidden name="bc1clone" value="0"> 1025 <p> 1026 The _cgiargclonecol_ collection cound not be cloned. Possible causes are: 1027 <ul> 1028 <li> The _cgiargclonecol_ collection doesn't exist 1029 <li> The _cgiargclonecol_ collection has no collect.cfg configuration file 1030 <li> Greenstone does not have permission to read the collect.cfg configuration file 847 <p>_textclonefail_ 1031 848 _messagefoot_ 1032 849 } … … 1034 851 _genericcontent_ { 1035 852 _messagehead_ 1036 <p> 1037 Collector error. 853 <p>_textcolerr_ 1038 854 _messagefoot_ 1039 855 } … … 1042 858 _messagehead_ 1043 859 <p> 1044 The collector failed to read from or write to a temporary file or 1045 directory. Possible causes are: 1046 <ul> 1047 <li> Greenstone does not have read/write access to the _gsdlhome_/tmp 1048 directory. 1049 </ul> 860 _texttmpfail_ 1050 861 _messagefoot_ 1051 862 } … … 1053 864 _mkcolfailcontent_ { 1054 865 _messagehead_ 1055 <p> 1056 1057 The collector failed to create the directory structure required by the new 1058 collection (mkcol.pl failed). Possible causes are: 1059 <ul> 1060 <li> Greenstone does not have permission to write to the _gsdlhome_/tmp 1061 directory. 1062 <li> mkcol.pl perl script errors. 1063 </ul> 866 <p>_textmkcolfail_ 1064 867 _messagefoot_ 1065 868 } … … 1067 870 _nocollectioncontent_ { 1068 871 _messagehead_ 1069 <p> 1070 Collector error: no collection name was provided for the new collection. Try 1071 restarting the Collector from the beginning. 1072 <br><a href="_httppagecollector_">Restart the Collector</a> 872 <p>_textnocontent_ 873 <br><a href="_httppagecollector_">_textrestart_</a> 1073 874 <p> 1074 875 _messagefootnolink_ … … 1077 878 _reloaderrorcontent_ { 1078 879 _messagehead_ 1079 <p> 1080 An error occurred while creating the new collection. This may have been due 1081 to Greenstone getting confused by the use of your browser's "reload" or 1082 "back" buttons (please try to avoid using these buttons while creating a 1083 collection with the Collector). It is recommended that you restart the 1084 Collector from the beginning. 1085 <br><a href="_httppagecollector_">Restart the Collector</a> 880 <p>_textreloaderror_ 881 <br><a href="_httppagecollector_">_textrestart_</a> 1086 882 <p> 1087 883 _messagefootnolink_ … … 1091 887 _messagehead_ 1092 888 <input type=hidden name=p value=existing> 1093 <p> 1094 1095 The _cgiargbc1dirname_ collection was successfully exported to the 1096 _gsdlhome_/tmp/exported\__cgiargbc1dirname_ directory. 1097 889 <p>_textexptsuc_ 1098 890 _messagefoot_ 1099 891 } … … 1102 894 _messagehead_ 1103 895 <input type=hidden name=p value=existing> 1104 1105 <p>Failed to export the _cgiargbc1dirname_ collection. 1106 1107 <p>This is likely to be because Greenstone was installed without the 1108 necessary components to support the "Export Collection" function. 1109 <ul> 1110 1111 <li>If you installed Greenstone from CD-ROM these components won't have 1112 been installed if you chose the "Compact" installation 1113 option. Please reinstall Greenstone using the "Typical" 1114 installation option. Alternatively you may download and install the 1115 additional components from the web (see below). 1116 1117 <li>If you installed Greenstone from a web distribution you will need to 1118 download and install an additional package to enable this function. Please 1119 visit <a href="http://www.greenstone.org">http://www.greenstone.org</a> or 1120 email <a 1121 href="mailto:[email protected]">[email protected]</a> 1122 for further details. 1123 1124 </ul> 1125 896 _textexptfail_ 1126 897 _messagefoot_ 1127 898 } -
trunk/gsdl/macros/english2.dm
r2767 r2777 24 24 25 25 _textpagetitle_ {Greenstone Digital Library} 26 _textadmin_ {Administration Page} 27 _textabgs_ {About Greenstone} 28 _textgsdocs_ {Greenstone Documentation} 29 30 _textimagecollector_ { 31 Helps you create new collections, modify or add to existing ones, or delete 32 collections 33 } 34 35 _textimageadmin_ { 36 Allows you to add new users, summarizes the collections in the system, 37 gives technical information on the Greenstone installation 38 } 39 40 _textimagegogreenstone_ { 41 Tells you about the Greenstone software and the New Zealand Digital Library 42 Project where it originated 43 } 26 44 27 45 _textpoem_ { … … 53 71 } 54 72 73 _textnocollections_ { 74 <p>There are currently no collections available to this Greenstone installation. 75 To add some collections you may either 76 <ul><li>Use <a href="_httppagecollector_">The Collector</a> to build new collections 77 <li>If you have a Greenstone cd-rom you may install collections from cd-rom 78 </ul> 79 } 55 80 56 81 #------------------------------------------------------------ … … 69 94 _altselcolgr_ {"Select a collection"} 70 95 96 97 ###################################################################### 98 # home help page 99 package homehelp 100 ###################################################################### 101 102 103 #------------------------------------------------------------ 104 # text macros 105 #------------------------------------------------------------ 106 107 _text4buts_ {There are four further buttons on the home page} 71 108 72 109 … … 179 216 _heightgsdocsgr_ {17} 180 217 218 219 ###################################################################### 220 # collectoraction 221 package collector 222 ###################################################################### 223 224 225 #------------------------------------------------------------ 226 # text macros 227 #------------------------------------------------------------ 228 229 _textmore_ {more} 230 _textcollector_ {The Collector} 231 _textinfo_ {Collection information} 232 _textsrce_ {Source data} 233 _textconf_ {Configure collection} 234 _textbild_ {Build} 235 _textview_ {view} 236 _textdel_ {delete collection} 237 _textexpt_ {export collection} 238 239 _textcollectorblurb_ { 240 <i>The pen is mightier than the sword! 241 <br>Building and distributing information collections carries responsibilities 242 that you may want to reflect on before you begin. 243 There are legal issues of copyright: being able to access documents doesn't 244 mean you can necessarily give them to others. 245 There are social issues: collections should respect the customs of the 246 community out of which the documents arise. 247 And there are ethical issues: some things simply should not be made 248 available to others. 249 <br>Be sensitive to the power of information and use it wisely. 250 </i> 251 } 252 253 _textcb1_ { 254 The Collector helps you to create new collections, modify or add to 255 existing ones, or delete collections. To do this you will be guided through a 256 sequence of Web pages which request the information that is needed. 257 } 258 259 _textcb2_ {First, you must decide whether to} 260 _textcnc_ {create a new collection} 261 _textwec_ {work with an existing one, adding data to it or deleting it.} 262 263 _textcb3_ { 264 In order to build or modify digital library collections you must sign in. 265 This is to protect you from others logging in to your computer and altering 266 the information on it. Note: for security reasons you will be 267 automatically logged out once a 30 minute period has elapsed since you 268 logged in. If this happens, don't worry! -- you will be invited to log in 269 again and can continue from where you left off. 270 } 271 272 _textcb4_ { 273 Please enter your Greenstone username and password, and click the button to 274 sign in. 275 } 276 277 _textfsc_ { 278 First select the collection that you want to work with (write protected 279 collections won't appear in this list). 280 } 281 282 _textwtc_ {With the collection you have selected, you can} 283 _textamd_ {Add more data and rebuild the collection} 284 _textetc_ {Edit the collection configuration file and rebuild the collection} 285 _textdtc_ {Delete the collection entirely} 286 _textetcfcd_ {Export the collection for writing to a self-installing Windows CD-ROM} 287 _textcaec_ {Changing an existing collection} 288 _textnwec_ {No write-enabled collections are available for modifying} 289 _textcianc_ {Creating a new collection} 290 _texttsosn_ {The sequence of steps needed to create a new digital library collection is:} 291 _textsin_ {Specify its name (and associated information)} 292 _textswts_ {Specify where the source data comes from} 293 _textatco_ {Adjust the configuration options (advanced users only)} 294 _textbtc_ {"Build" the collection (see below)} 295 _textpvyh_ {Proudly view your handiwork.} 296 297 _texttfsiw_ { 298 The fourth step is where the computer does all the work. In the "building" 299 process the computer makes all the indexes and gathers together any other 300 information that is required to make things work. But first you have to 301 specify the information. 302 } 303 304 _textadab_ { 305 A diagram appears below that will help you keep track of where you are. 306 The green button is the one that you click to carry on in the sequence. As 307 you go through the sequence, the buttons will change to yellow. You can 308 return to a previous page by clicking on the corresponding yellow button in 309 the diagram. 310 } 311 312 _textwyar_ { 313 When you are ready, click the green "collection information" button to 314 begin creating your new digital library collection! 315 } 316 317 _textcnmbs_ {Collection name must be specified} 318 _texteambs_ {Email address must be specified} 319 _textpsea_ {Please specify email address in the form: usename@domain} 320 _textdocmbs_ {Description of collection must be specified} 321 322 _textwcanc_ { 323 When creating a new collection you need to enter some preliminary 324 information about the source data. This process is structured as a series 325 of Web pages, overseen by The Collector. The bar at the bottom of the page 326 shows you the sequence of pages to be completed. 327 } 328 329 _texttfc_ {Title for collection:} 330 331 _texttctiasp_ { 332 The collection title is a short phrase used throughout the digital library 333 to identify the content of the collection. Example titles include 334 "Computer Science Technical Reports" and "Humanity Development Library." 335 } 336 337 _textcea_ {Contact email address:} 338 339 _textteas_ { 340 This email address specifies the first point of contact for the collection. 341 If the Greenstone software detects a problem, a diagnostic report is sent 342 to this address. Enter an email address in its full form: 343 <tt>name@domain</tt>. 344 } 345 346 _textatc_ {About this collection:} 347 348 _texttiasd_ { 349 This is a statement describing the principles governing what is included in 350 the collection. It appears on the first page when the collection is 351 presented. 352 } 353 354 _textypits_ { 355 Your position in the sequence is indicated by an arrow underneath--in this 356 case, the "collection information" stage. To proceed, click the green 357 "source data" button. 358 } 359 360 _srcebadsources_ { 361 <p>One or more of the input sources you specified is unavailable (marked 362 _iconcross_ below). 363 364 <p>This might be because 365 <ul> 366 <li>The file, FTP site or URL does not exist. 367 <li>You need to dial up your ISP first. 368 <li>You are trying to access a URL from behind a firewall (this is the case 369 if you normally have to present a username and password to access the 370 internet). 371 </ul> 372 373 <p>If this is a URL that you can see in your browser, it may be coming from 374 a locally cached copy. Unfortunately, locally cached copies are invisible 375 to our mirroring process. In this case we recommend that you download the 376 pages using your browser first. 377 } 378 379 _textymbyco_ { 380 <p>You may base your collection on either 381 <ul> 382 <li>The default structure 383 <dl><dd>The new collection may contain html documents (.htm, .html), plain text 384 documents (.txt, .text), MS Word documents (.doc), PDF documents (.pdf) or 385 email documents (.email).</dd></dl> 386 <li>An existing collection 387 <dl><dd>The files in your new collection must be exactly the same type as those 388 used to build the existing one.</dd></dl> 389 </ul> 390 } 391 392 _textbtco_ {Base the collection on} 393 _textand_ {Add new data} 394 _textad_ {Adding data:} 395 396 _texttftysb_ { 397 The files that you specify below will be added to the collection. Make sure 398 that you do not re-specify files that are already in the collection: 399 otherwise two copies will be included. Files are identified by their full 400 pathname, Web pages by their absolute Web address. 401 } 402 403 _textis_ {Input sources:} 404 405 _textddd1_ { 406 <p>If you use file:// or ftp:// to specify a file, that file will be 407 downloaded. 408 409 <p>If you use http:// it depends on whether the URL gives you a normal web 410 page in your browser, or a list of files. If a page, that page will be 411 downloaded -- and so will all pages it links to, and all pages they link 412 to, etc. -- provided they reside on the same site, below the URL. 413 414 <p>If you use file:// or ftp:// to specify a folder or directory, or give a 415 http:// URL that leads to a list of files, everything in the folder and all 416 its sub-folders will be included in the collection. 417 418 <p>Click the "more sources" button to get more input boxes. 419 } 420 421 _textddd2_ { 422 <p>Click one of the green buttons. If you are an advanced user you may want 423 to adjust the collection configuration. Alternatively, go straight to the 424 building stage. Remember, you can always revisit an earlier stage by 425 clicking its yellow button. 426 } 427 428 _textconf1_ { 429 <p>The building and presentation of your collection are controlled by 430 specifications in a special "configuration file". Advanced users may want 431 to alter the configuration settings. 432 433 <center><p><b>If you are not an advanced user, just go to the bottom of the 434 page.</b></center> 435 436 <p>To alter the configuration settings, edit the data that appears below. 437 If you make a mistake, click on "Reset" to reinstate the original 438 configuration settings. 439 } 440 441 _textreset_ {Reset} 442 443 _textbild1_ { 444 The collection is now being built: this might take some time. The building 445 status line below gives feedback on how the operation is progressing. 446 } 447 448 _textbild2_ { 449 To stop the building process at any time, click here. 450 <br>The collection you are working on will remain intact. 451 } 452 453 _textstopbuild_ {stop building} 454 455 _textbild3_ { 456 If you leave this page (and have not cancelled the building process with 457 the "stop building" button) the collection will continue to build and will 458 be installed upon successful completion. 459 } 460 461 _textbuildcancelled_ {Build cancelled} 462 463 _textbildcancel1_ { 464 The collection building process was cancelled. Use the yellow buttons below 465 to make changes to your collection or restart the building process. 466 } 467 468 _textbsupdate1_ {Building status update in 1 second} 469 _textbsupdate2_ {Building status update in} 470 _textseconds_ {seconds} 471 _textbildsuc_ {Collection built successfully.} 472 473 _textfailmsg11_ { 474 The collection could not be built as it contains no data. Make sure that at 475 least one of the directories or files you specified on the <i>source 476 data</i> page exists and is of a type or (in the case of a directory) 477 contains files of a type, that Greenstone can process. 478 } 479 480 _textfailmsg21_ {The collection could not be built (import.pl failed).} 481 _textblcont_ {The build log contains the following information:} 482 483 _texttryagain_ { 484 Please <a href="_httppagecollector_" target=_top>restart the collector</a> 485 and try again. 486 } 487 488 _textfailmsg31_ {The collection could not be built (buildcol.pl failed).} 489 _textfailmsg41_ {The collection was built successfully but could not be installed.} 490 _textfailmsg71_ {An unexpected error occurred while attepting to build your collection} 491 _textretcoll_ {Return to the collector} 492 493 _textdelperm_ { 494 Some or all of the _cgiargbc1dirname_ collection could not be 495 deleted. Possible causes are: 496 <ul> 497 <li> Greenstone does not have permission to delete the _gsdlhome_/collect/_cgiargbc1dirname_ 498 directory.<br> 499 You may need to remove this directory manually to complete the removal of the _cgiargbc1dirname_ 500 collection from this computer. 501 </ul> 502 } 503 504 _textdelinv_ { 505 The _cgiargbc1dirname_ collection is protected or invalid. Deletion was cancelled. 506 } 507 508 _textdelsuc_ {The _cgiargbc1dirname_ collection was successfully deleted.} 509 510 _textclonefail_ { 511 The _cgiargclonecol_ collection cound not be cloned. Possible causes are: 512 <ul> 513 <li> The _cgiargclonecol_ collection doesn't exist 514 <li> The _cgiargclonecol_ collection has no collect.cfg configuration file 515 <li> Greenstone does not have permission to read the collect.cfg configuration file 516 } 517 518 _textcolerr_ {Collector error.} 519 520 _texttmpfail_ { 521 The collector failed to read from or write to a temporary file or 522 directory. Possible causes are: 523 <ul> 524 <li> Greenstone does not have read/write access to the _gsdlhome_/tmp 525 directory. 526 </ul> 527 } 528 529 _textmkcolfail_ { 530 The collector failed to create the directory structure required by the new 531 collection (mkcol.pl failed). Possible causes are: 532 <ul> 533 <li> Greenstone does not have permission to write to the _gsdlhome_/tmp 534 directory. 535 <li> mkcol.pl perl script errors. 536 </ul> 537 } 538 539 _textnocontent_ { 540 Collector error: no collection name was provided for the new collection. Try 541 restarting the Collector from the beginning. 542 } 543 544 _textrestart_ {Restart the Collector} 545 546 _textreloaderror_ { 547 An error occurred while creating the new collection. This may have been due 548 to Greenstone getting confused by the use of your browser's "reload" or 549 "back" buttons (please try to avoid using these buttons while creating a 550 collection with the Collector). It is recommended that you restart the 551 Collector from the beginning. 552 } 553 554 _textexptsuc_ { 555 The _cgiargbc1dirname_ collection was successfully exported to the 556 _gsdlhome_/tmp/exported\__cgiargbc1dirname_ directory. 557 } 558 559 _textexptfail_ { 560 <p>Failed to export the _cgiargbc1dirname_ collection. 561 562 <p>This is likely to be because Greenstone was installed without the 563 necessary components to support the "Export Collection" function. 564 <ul> 565 566 <li>If you installed Greenstone from CD-ROM these components won't have 567 been installed if you chose the "Compact" installation 568 option. Please reinstall Greenstone using the "Typical" 569 installation option. Alternatively you may download and install the 570 additional components from the web (see below). 571 572 <li>If you installed Greenstone from a web distribution you will need to 573 download and install an additional package to enable this function. Please 574 visit <a href="http://www.greenstone.org">http://www.greenstone.org</a> or 575 email <a 576 href="mailto:[email protected]">[email protected]</a> 577 for further details. 578 579 </ul> 580 } 581 582 #------------------------------------------------------------ 583 # icons 584 #------------------------------------------------------------ 585 586 ## "The collector" ## green_title ## h_colect ## 587 _httpiconhabout_ {_httpimg_/h\_colect.gif} 588 589 ## "collection information" ## collector_bar_button ## info ## 590 _httpicongcinfoof_ {_httpimg_/gcinfoof.gif} 591 _httpicongcinfoon_ {_httpimg_/gcinfoon.gif} 592 _httpiconycinfoof_ {_httpimg_/ycinfoof.gif} 593 _httpiconycinfoon_ {_httpimg_/ycinfoon.gif} 594 _httpiconncinfoof_ {_httpimg_/ncinfoof.gif} 595 596 ## "source data" ## collector_bar_button ## srce ## 597 _httpicongcsrceof_ {_httpimg_/gcsrceof.gif} 598 _httpicongcsrceon_ {_httpimg_/gcsrceon.gif} 599 _httpiconycsrceof_ {_httpimg_/ycsrceof.gif} 600 _httpiconycsrceon_ {_httpimg_/ycsrceon.gif} 601 _httpiconncsrceof_ {_httpimg_/ncsrceof.gif} 602 603 ## "configure collection" ## collector_bar_button ## conf ## 604 _httpicongcconfof_ {_httpimg_/gcconfof.gif} 605 _httpicongcconfon_ {_httpimg_/gcconfon.gif} 606 _httpiconycconfof_ {_httpimg_/ycconfof.gif} 607 _httpiconycconfon_ {_httpimg_/ycconfon.gif} 608 _httpiconncconfof_ {_httpimg_/ncconfof.gif} 609 610 ## "build collection" ## collector_bar_button ## bild ## 611 _httpicongcbildof_ {_httpimg_/gcbildof.gif} 612 _httpicongcbildon_ {_httpimg_/gcbildon.gif} 613 _httpiconycbildof_ {_httpimg_/ycbildof.gif} 614 _httpiconycbildon_ {_httpimg_/ycbildon.gif} 615 _httpiconncbildof_ {_httpimg_/ncbildof.gif} 616 617 ## "view collection" ## collector_bar_button ## view ## 618 _httpicongcviewof_ {_httpimg_/gcviewof.gif} 619 _httpicongcviewon_ {_httpimg_/gcviewon.gif} 620 _httpiconycviewof_ {_httpimg_/ycviewof.gif} 621 _httpiconycviewon_ {_httpimg_/ycviewon.gif} 622 _httpiconncviewof_ {_httpimg_/ncviewof.gif} 623 624 ## "delete collection" ## collector_bar_button ## del ## 625 _httpicongcdelof_ {_httpimg_/gcdelof.gif} 626 _httpicongcdelon_ {_httpimg_/gcdelon.gif} 627 628 ## "export collection" ## collector_bar_button ## expt ## 629 _httpicongcexptof_ {_httpimg_/gcexptof.gif} 630 _httpicongcexpton_ {_httpimg_/gcexpton.gif} 631 632 633 ###################################################################### 634 # 'gsdl' page 635 package gsdl 636 ###################################################################### 637 638 639 #------------------------------------------------------------ 640 # text macros 641 #------------------------------------------------------------ 642 643 644 _textgreenstone1_ { 645 Greenstone is a suite of software which has the ability to serve digital 646 library collections and build new collections. It provides a new way of 647 organizing information and publishing it on the Internet or on CD-ROM. 648 Greenstone is produced by the New Zealand Digital Library Project at the 649 University of Waikato, and distributed in cooperation with UNESCO and the 650 Humanities Library Project. It is open-source software, available from 651 <i>http://greenstone.org</i> under the terms of the GNU General Public 652 License. 653 } 654 655 _textgreenstone2_ { 656 The New Zealand Digital Library website (<a 657 href="http://nzdl.org">http://nzdl.org</a>) contains numerous example 658 collections, all created with the Greenstone software, which are publicly 659 available for you to peruse. They exemplify various searching and browsing 660 options, and include collections in Arabic, Chinese, French, Maori, and 661 Spanish, as well as English. There are also some music collections. 662 } 663 664 _textgreenstone3_ { 665 Greenstone runs on Windows and Unix. The distribution includes ready-to-use 666 binaries for all versions of Windows, and for Linux. It also includes 667 complete source code for the system, which can be compiled using Microsoft 668 C++ or gcc. Greenstone works with associated software that is also freely 669 available: the Apache Webserver and PERL. The user interface uses a Web 670 browser: typically Netscape Navigator or Internet Explorer. 671 } 672 673 _textgreenstone4_ { 674 Many document collections are distributed on CD-ROM using the Greenstone 675 software. For example, the <i>Humanity Development Library</i> contains 676 1,230 publications ranging from accounting to water sanitation. It runs on 677 minimal computing facilities such as those typically found in developing 678 countries. The information can be accessed by searching, browsing by 679 subject, browsing by titles, browsing by organisation, browsing a list of 680 how-tos, and by randomly viewing the book covers. 681 } 682 683 _textgreenstone5_ { 684 Greenstone is specifically designed to be highly extensible and 685 customisable. New document and metadata formats are accommodated by writing 686 "plugins" (in Perl). Analogously, new metadata browsing structures can be 687 implemented by writing "classifiers." The user interface look-and-feel can 688 be altered using "macros" written in a simple macro language. A Corba 689 protocol allows agents (e.g. in Java) to use all the facilities associated 690 with document collections. Finally, the source code, in C++ and Perl, is 691 available and accessible for modification. 692 } 693 694 _textthreedocs_ {There are three documents that explain the Greenstone system:} 695 _textinstall_ {The Greenstone Digital Library Software Installer's Guide} 696 _textuser_ {The Greenstone Digital Library Software User's Guide} 697 _textdevelop_ {The Greenstone Digital Library Software Developer's Guide} 698 699 _textmailinglist_ { 700 There is a mailing list intended primarily for discussions about the 701 Greenstone digital library software. Active users of Greenstone should 702 consider joining the mailing list and contributing to the discussions. The 703 mailing list is hosted by the Pathfinder Library System in beautiful Grand 704 Junction, Colorado (John Campbell, [email protected]). To subscribe, send 705 email to <a href="mailto:[email protected]">[email protected]</a> 706 with the text <ul>subscribe greenstone </ul> (no subject, no name, nothing 707 else). To send a message to the list, address it to <a 708 href="mailto:[email protected]">[email protected]</a>. 709 } 710 711 _textreport_ { 712 We want to ensure that this software works well for you. Please report any 713 bugs to <a href="mailto:[email protected]">[email protected]</a> 714 } 715 716 _textcredits_ {credits} 717 718 _textwhoswho_ { 719 The Greenstone software is a collaborative effort between many 720 people. Rodger McNab and Stefan Boddie are the principal architects and 721 implementors. Contributions have been made by David Bainbridge, George 722 Buchanan, Hong Chen, Elke Duncker, Carl Gutwin, Geoff Holmes, John 723 McPherson, Craig Nevill-Manning, Gordon Paynter, Bernhard Pfahringer, Todd 724 Reed, Bill Rogers, and Stuart Yeates. Other members of the New Zealand 725 Digital Library project provided advice and inspiration in the design of 726 the system: Mark Apperley, Sally Jo Cunningham, Steve Jones, Te Taka 727 Keegan, Michel Loots, Malika Mahoui and Lloyd Smith. We would also like to 728 acknowledge all those who have contributed to the GNU-licensed packages 729 included in this distribution: MG, GDBM, WGET, WVWARE, PDFTOHTML. 730 } 731 732 733 #------------------------------------------------------------ 734 # icons 735 #------------------------------------------------------------ 736 737 738 ## "about the greenstone software" ## green_bar_left_aligned ## abgsgr ## 739 _httpiconabgsgr_ {_httpimg_/abgsgr.gif} 740 _widthabgsgr_ {_pagewidth_} 741 _heightabgsgr_ {17} 742 743 744 ###################################################################### 745 # 'users' page 746 package userslistusers 747 ###################################################################### 748 749 750 #------------------------------------------------------------ 751 # text macros 752 #------------------------------------------------------------ 753 754 _textlocu_ {List of current users} 755 _textuser_ {user} 756 _textas_ {account status} 757 _textgroups_ {groups} 758 _textcomment_ {comment} 759 _textadduser_ {add a new user} 760 _textedituser_ {edit} 761 _textdeleteuser_ {delete} 762 763 764 ###################################################################### 765 # 'users' page 766 package userseditusers 767 ###################################################################### 768 769 770 #------------------------------------------------------------ 771 # text macros 772 #------------------------------------------------------------ 773 774 775 _textedituser_ {Edit user information} 776 _textadduser_ {Add a new user} 777 778 _textaboutusername_ { 779 Usernames must be between 2 and 30 characters long. They can contain 780 alphanumeric characters, '.', and '_'. 781 } 782 783 _textaboutpassword_ { 784 Passwords must be between 3 and 8 characters long. They can contain any 785 normal printable ASCII characters. 786 } 787 788 _textoldpass_ {If this field is blank the old password will be kept.} 789 _textenabled_ {enabled} 790 _textdisabled_ {disabled} 791 792 _textaboutgroups_ { 793 Groups is a comma separated list, do not put spaces after the commas. 794 } 795 796 797 ###################################################################### 798 # 'users' page 799 package usersdeleteuser 800 ###################################################################### 801 802 803 #------------------------------------------------------------ 804 # text macros 805 #------------------------------------------------------------ 806 807 _textdeleteuser_ {Delete a user} 808 _textremwarn_ {Do you really want to permanently remove user <b>_cgiargumun_</b>?} 809 810 811 ###################################################################### 812 # 'users' page 813 package userschangepasswd 814 ###################################################################### 815 816 817 #------------------------------------------------------------ 818 # text macros 819 #------------------------------------------------------------ 820 821 _textchangepw_ {Change password} 822 _textoldpw_ {old password} 823 _textnewpw_ {new password} 824 _textretype_ {retype new password} 825 826 827 ###################################################################### 828 # 'users' page 829 package userschangepasswdok 830 ###################################################################### 831 832 833 #------------------------------------------------------------ 834 # text macros 835 #------------------------------------------------------------ 836 837 _textsuccess_ {Your password was successfully changed.} 838 839 840 ###################################################################### 841 # 'users' page 842 package users 843 ###################################################################### 844 845 846 #------------------------------------------------------------ 847 # text macros 848 #------------------------------------------------------------ 849 850 _textinvalidusername_ {The username is invalid.} 851 _textinvalidpassword_ {The password is invalid.} 852 _textemptypassword_ {Please enter an initial password for this user.} 853 _textuserexists_ {This user already exists, please enter another username.} 854 855 _textusernameempty_ {Please enter your username.} 856 _textpasswordempty_ {You must enter your old password.} 857 _textnewpass1empty_ {Enter your new password and then retype it.} 858 _textnewpassmismatch_ {The two versions of your new password did not match.} 859 _textnewinvalidpassword_ {You entered an invalid password.} 860 _textfailed_ {Either your username or password was incorrect.} 861 862 863 ###################################################################### 864 # 'status' pages 865 package status 866 ###################################################################### 867 868 869 #------------------------------------------------------------ 870 # text macros 871 #------------------------------------------------------------ 872 -
trunk/gsdl/macros/gsdl.dm
r2568 r2777 18 18 ####################################################################### 19 19 20 _iconabgsgr_ {<img src="_httpi mg_/abgsgr.gif">}20 _iconabgsgr_ {<img src="_httpiconabgsgr_">} 21 21 22 _pagetitle_ { Greenstone Digital Library Software}22 _pagetitle_ {_textimagegreenstone_} 23 23 24 24 _content_ { … … 31 31 <tr> 32 32 <td valign=top align=center>_imagegreenstone_</td> 33 <td valign=top> 34 Greenstone is a suite of software which has the ability to serve digital 35 library collections and build new collections. It provides a new way of 36 organizing information and publishing it on the Internet or on CD-ROM. 37 Greenstone is produced by the New Zealand Digital Library Project at the 38 University of Waikato, and distributed in cooperation with UNESCO and the 39 Humanities Library Project. It is open-source software, available from 40 <i>http://nzdl.org</i> under the terms of the GNU General Public License. 33 <td valign=top>_textgreenstone1_ 41 34 <br><br> 42 35 </td> … … 46 39 <h2><a href="http://nzdl.org">nzdl.org</a></h2> 47 40 </td> 48 <td valign=top> 49 The New Zealand Digital Library website (<a href="http://nzdl.org">http://nzdl.org</a>) contains 50 numerous example collections, all created with the Greenstone software, which 51 are publicly available for you to peruse. They exemplify various searching and 52 browsing options, and include collections in Arabic, Chinese, French, Maori, 53 and Spanish, as well as English. There are also some music 54 collections. 41 <td valign=top>_textgreenstone2_ 55 42 <br><br> 56 43 </td> … … 60 47 <h2>platform</h2> 61 48 </td> 62 <td valign=top> 63 Greenstone runs on Windows and Unix. The distribution includes ready-to-use 64 binaries for all versions of Windows, and for Linux. It also includes complete 65 source code for the system, which can be compiled using Microsoft C++ or gcc. 66 Greenstone works with associated software that is also freely available: the Apache 67 Webserver and PERL. The user interface uses a Web browser: typically Netscape 68 Navigator or Internet Explorer. 49 <td valign=top>_textgreenstone3_ 69 50 <br><br> 70 51 </td> … … 75 56 </td> 76 57 <td valign=top> 77 Many document collections are distributed on CD-ROM using the Greenstone 78 software. For example, the <i>Humanity Development Library</i> contains 1,230 79 publications ranging from accounting to water sanitation. It runs on minimal 80 computing facilities such as those typically found in developing countries. The 81 information can be accessed by searching, browsing by subject, browsing by 82 titles, browsing by organisation, browsing a list of how-tos, and by randomly 83 viewing the book covers. 58 _textgreenstone4_ 84 59 <br><br> 85 60 </td> … … 89 64 <h2>customisation</h2> 90 65 </td> 91 <td valign=top> 92 Greenstone is specifically designed to be highly extensible and 93 customisable. New document and metadata formats are accommodated by writing 94 "plugins" (in Perl). Analogously, new metadata browsing structures can be 95 implemented by writing "classifiers." The user interface look-and-feel can be 96 altered using "macros" written in a simple macro language. A Corba protocol 97 allows agents (e.g. in Java) to use all the facilities associated with document 98 collections. Finally, the source code, in C++ and Perl, is available and 99 accessible for modification. 66 <td valign=top>_textgreenstone5_ 100 67 <br><br> 101 68 </td> … … 106 73 </td> 107 74 <td valign=top> 108 There are three documents that explain the Greenstone system:75 _textthreedocs_ 109 76 <ul> 110 <li> The Greenstone Digital Library Software Installer's Guide111 <li> The Greenstone Digital Library Software User's Guide112 <li> The Greenstone Digital Library Software Developer's Guide77 <li>_textinstall_ 78 <li>_textuser_ 79 <li>_textdevelop_ 113 80 </ul><br> 114 81 </tr> … … 117 84 <h2>mailing list</h2> 118 85 </td> 119 <td valign=top> 120 There is a mailing list intended primarily for discussions about the Greenstone 121 digital library software. Active users of Greenstone should consider joining 122 the mailing list and contributing to the discussions. The mailing list is 123 hosted by the Pathfinder Library System in beautiful Grand Junction, Colorado 124 (John Campbell, [email protected]). To subscribe, send email to <a 125 href="mailto:[email protected]">[email protected]</a> with the text 126 <ul>subscribe greenstone </ul> (no subject, no name, nothing else). To send a 127 message to the list, address it to <a 128 href="mailto:[email protected]">[email protected]</a>. 86 <td valign=top>_textmailinglist_ 129 87 <br><br> 130 88 </tr> … … 133 91 <h2>bugs</h2> 134 92 </td> 135 <td valign=top> 136 We want to ensure that this software works well for you. Please report any 137 bugs to <a href="mailto:[email protected]">[email protected]</a> 93 <td valign=top>_textreport_ 138 94 <br><br> 139 95 </td> … … 141 97 <tr> 142 98 <td valign=top align=center> 143 <h2> credits</h2>99 <h2>_textcredits_</h2> 144 100 </td> 145 <td valign=top> 146 The Greenstone software is a collaborative effort between many people. Rodger 147 McNab and Stefan Boddie are the principal architects and implementors. 148 Contributions have been made by David Bainbridge, George Buchanan, Hong Chen, 149 Elke Duncker, Carl Gutwin, Geoff Holmes, John McPherson, Craig Nevill-Manning, 150 Gordon Paynter, Bernhard Pfahringer, Todd Reed, Bill Rogers, and Stuart 151 Yeates. Other members of the New Zealand Digital Library project provided 152 advice and inspiration in the design of the system: Mark Apperley, Sally Jo 153 Cunningham, Steve Jones, Te Taka Keegan, Michel Loots, Malika Mahoui and Lloyd 154 Smith. We would also like to acknowledge all those who have contributed to the 155 GNU-licensed packages included in this distribution: MG, GDBM, WGET, WVWARE, 156 PDFTOHTML. 101 <td valign=top>_textwhoswho_ 157 102 </td> 158 103 </tr> -
trunk/gsdl/macros/home.dm
r2562 r2777 34 34 35 35 36 _imagecollector_ {_gsimage_(_httppagecollector_,_httpimg_/ccolof.gif,_httpimg_/ccolon.gif,col, The Collector)}37 _imageadmin_ {_gsimage_(_httppagestatus_,_httpimg_/cadminof.gif,_httpimg_/cadminon.gif,admin, Administration Page)}38 _imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_httpimg_/cabgsof.gif,_httpimg_/cabgson.gif,gogs, About Greenstone)}39 _imagegodocs_ {_gsimage_(_home:httppagedocs_,_httpimg_/cgsdocof.gif,_httpimg_/cgsdocon.gif,docs, Greenstone Documentation)}36 _imagecollector_ {_gsimage_(_httppagecollector_,_httpimg_/ccolof.gif,_httpimg_/ccolon.gif,col,_collector:textcollector_)} 37 _imageadmin_ {_gsimage_(_httppagestatus_,_httpimg_/cadminof.gif,_httpimg_/cadminon.gif,admin,_textadmin_)} 38 _imagegogreenstone_ {_gsimage_(_home:httppagegsdl_,_httpimg_/cabgsof.gif,_httpimg_/cabgson.gif,gogs,_textabgs_)} 39 _imagegodocs_ {_gsimage_(_home:httppagedocs_,_httpimg_/cgsdocof.gif,_httpimg_/cgsdocon.gif,docs,_textgsdocs_)} 40 40 _imagehelp_ {_gsimage_(_home:httppagehomehelp_,_httpiconchelpof_,_httpiconchelpon_,help,_textimagehelp_)} 41 41 … … 70 70 <tr valign=top> 71 71 <td valign=top>_imagecollector_</td> 72 <td>Helps you create new collections, modify or add to existing ones, or 73 delete collections</td> 72 <td>_textimagecollector_</td> 74 73 </tr> 75 74 } … … 78 77 <tr valign=top> 79 78 <td valign=top>_imageadmin_</td> 80 <td>Allows you to add new users, summarizes the collections in the system, 81 gives technical information on the Greenstone installation</td> 79 <td>_textimageadmin_</td> 82 80 </tr> 83 81 } … … 86 84 <tr valign=top> 87 85 <td valign=top>_imagegogreenstone_</td> 88 <td>Tells you about the Greenstone software and the New Zealand Digital 89 Library Project where it originated</td> 86 <td>_textimagegogreenstone_</td> 90 87 </tr> 91 88 } … … 115 112 <tr> 116 113 <td valign=top align=center>_imagegreenstone_</td> 117 <td valign=top> 118 Greenstone is a suite of software which has the ability to serve digital 119 library collections and build new collections. It provides a new way of 120 organizing information and publishing it on the Internet or on CD-ROM. 121 Greenstone is produced by the New Zealand Digital Library Project at the 122 University of Waikato, and distributed in cooperation with UNESCO and the 123 Humanities Library Project. It is open-source software, available from 124 <i>http://nzdl.org</i> under the terms of the GNU General Public License. 114 <td valign=top>_gsdl:textgreenstone1_ 125 115 <br><br> 126 116 </td> … … 131 121 <p>_iconblankbar_ 132 122 </center> 133 _If_(_collectionlist_,_collectionlist_, 134 <p>There are currently no collections available to this Greenstone installation. 135 To add some collections you may either 136 <ul><li>Use <a href="_httppagecollector_">The Collector</a> to build new collections 137 <li>If you have a Greenstone cd-rom you may install collections from cd-rom 138 </ul>) 123 _If_(_collectionlist_,_collectionlist_,_textnocollections_) 139 124 140 125 <center> 141 126 <p>_iconblankbar_ 142 127 </center> 143 <p> There are four further buttons on the home page128 <p>_text4buts_ 144 129 <p><table> 145 130 _home:textgocollector_ -
trunk/gsdl/macros/users.dm
r1794 r2777 4 4 <html> 5 5 <head> 6 <title> List of current users</title>6 <title>_textlocu_</title> 7 7 </head> 8 8 <body bgcolor="#ffffff" text="#000000" link="#006666" … … 13 13 14 14 _contentstart_ { 15 <h2> List of current users</h2>15 <h2>_textlocu_</h2> 16 16 17 17 18 18 <table border=0 cellspacing=1 cellpadding=3 width=100%> 19 19 <tr> 20 <th bgcolor="\#d0d0d0"> user</th>21 <th bgcolor="\#d0d0d0"> account status</th>22 <th bgcolor="\#d0d0d0"> groups</th>23 <th bgcolor="\#d0d0d0"> comment</th>20 <th bgcolor="\#d0d0d0">_textuser_</th> 21 <th bgcolor="\#d0d0d0">_textas_</th> 22 <th bgcolor="\#d0d0d0">_textgroups_</th> 23 <th bgcolor="\#d0d0d0">_textcomment_</th> 24 24 <th> </th> 25 25 </tr> … … 29 29 </table> 30 30 } 31 32 _textadduser_ {add a new user}33 _textedituser_ {edit}34 _textdeleteuser_ {delete}35 31 36 32 _footer_ { … … 46 42 <html> 47 43 <head> 48 <title>_If_("_cgiarguma_" eq "edituser", Edit user information,Add a new user)</title>44 <title>_If_("_cgiarguma_" eq "edituser",_textedituser_,_textadduser_)</title> 49 45 </head> 50 46 <body bgcolor="#ffffff" text="#000000" link="#006666" … … 53 49 54 50 _content_ { 55 <h2>_If_("_cgiarguma_" eq "edituser", Edit user information,Add a new user)</h2>51 <h2>_If_("_cgiarguma_" eq "edituser",_textedituser_,_textadduser_)</h2> 56 52 57 53 … … 64 60 65 61 <table border=0> 66 <tr><td>username</td><td><input type="text" name="umun" value="_users:usersargun_" size=15></td> 67 <td><font color=gray>Usernames must be between 68 2 and 30 characters long. They can 69 contain alphanumeric characters, '.', and '_'. 70 </font></td> 62 <tr><td>_authen:textusername_</td><td><input type="text" name="umun" value="_users:usersargun_" size=15></td> 63 <td><font color=gray>_textaboutusername_</font></td> 71 64 </tr> 72 <tr><td>password</td><td><input type="text" name="umpw" value="_users:usersargpw_" size=9></td> 73 <td><font color=gray> 74 Passwords must be between 3 and 8 characters long. They can contain 75 any normal printable ASCII characters. 76 _If_("_cgiarguma_" eq "edituser",If this field is blank the old password will be kept.) 65 <tr><td>_authen:textpassword_</td><td><input type="text" name="umpw" value="_users:usersargpw_" size=9></td> 66 <td><font color=gray>_textaboutpassword_ 67 _If_("_cgiarguma_" eq "edituser",_textoldpass_) 77 68 </font></td></tr> 78 <tr><td> account status</td><td>69 <tr><td>_userslistusers:textas_</td><td> 79 70 <select name="umus"> 80 <option value="enabled"> enabled81 <option value="disabled"_If_("_users:usersargus_" ne "enabled", selected)> disabled71 <option value="enabled">_textenabled_ 72 <option value="disabled"_If_("_users:usersargus_" ne "enabled", selected)>_textdisabled_ 82 73 </select> 83 74 </td></tr> 84 <tr><td>groups</td><td><input type="text" name="umug" value="_users:usersargug_" size=15></td> 85 <td><font color=gray> 86 Groups is a comma separated list, do not put spaces after the commas. 87 </font></td></tr> 88 <tr><td>comment</td><td colspan=2><input type="text" name="umc" value="_users:usersargc_" size=50></td></tr> 75 <tr><td>_userslistusers:textgroups_</td><td><input type="text" name="umug" value="_users:usersargug_" size=15></td> 76 <td><font color=gray>_textaboutgroups_</font></td></tr> 77 <tr><td>_userslistusers:textcomment_</td><td colspan=2><input type="text" name="umc" value="_users:usersargc_" size=50></td></tr> 89 78 <tr><td></td><td colspan=2><input type="submit" name=beu value="submit"> 90 79 <input type="submit" name=uma value="cancel"></td></tr> … … 106 95 <html> 107 96 <head> 108 <title> Delete a user</title>97 <title>_textdeleteuser_</title> 109 98 </head> 110 99 <body bgcolor="#ffffff" text="#000000" link="#006666" … … 122 111 <input type=hidden name="uma" value="_cgiarguma_"> 123 112 <input type=hidden name="umun" value="_cgiargumun_"> 124 <font color=red> Do you really want to permanently remove user <b>_cgiargumun_</b>?</font>113 <font color=red>_textremwarn_</font> 125 114 <input type="submit" name=cm value="no"> 126 115 <input type="submit" name=cm value="yes"> … … 142 131 <html> 143 132 <head> 144 <title> Change password</title>133 <title>_textchangepw_</title> 145 134 </head> 146 135 <body bgcolor="#ffffff" text="#000000" link="#006666" … … 149 138 150 139 _content_ { 151 <h2>Change password</h2> 152 <p><font color=gray>Passwords must be between 3 and 8 characters long. 153 They can contain any normal printable ASCII characters.</font> 140 <h2>_textchangepw_</h2> 141 <p><font color=gray>_userseditusers:textaboutpassword_</font> 154 142 155 143 <p>_users:messagestatus_ … … 161 149 <input type=hidden name="uma" value="_cgiarguma_"> 162 150 <table border=0> 163 <tr><td align=right> old password</td><td><input type="text" name="umpw" size=9></td></tr>164 <tr><td align=right> new password</td><td><input type="password" name="umnpw1" size=9></td></tr>165 <tr><td align=right> retype new password</td><td><input type="password" name="umnpw2" size=9></td></tr>151 <tr><td align=right>_textoldpw_</td><td><input type="text" name="umpw" size=9></td></tr> 152 <tr><td align=right>_textnewpw_</td><td><input type="password" name="umnpw1" size=9></td></tr> 153 <tr><td align=right>_textretype_</td><td><input type="password" name="umnpw2" size=9></td></tr> 166 154 <tr><td></td><td><input type="submit" name=bcp value="submit"></td></tr> 167 155 </table> … … 177 165 <html> 178 166 <head> 179 <title> Change password</title>167 <title>_userschangepasswd:textchangepw_</title> 180 168 </head> 181 169 <body bgcolor="#ffffff" text="#000000" link="#006666" … … 184 172 185 173 _content_ { 186 <h2> Change password</h2>174 <h2>_userschangepasswd:textchangepw_</h2> 187 175 188 <p> Your password was successfully changed.176 <p>_textsuccess_ 189 177 } 190 178 … … 193 181 package users 194 182 195 _messageinvalidusername_ {<font color=red>The username is invalid.</font> } 196 _messageinvalidpassword_ {<font color=red>The password is invalid.</font> } 197 _messageemptypassword_ {<font color=red>Please enter an initial password for this user.</font> } 198 _messageuserexists_ {<font color=red>This user already exists, 199 please enter in another username.</font> } 183 _messageinvalidusername_ {<font color=red>_textinvalidusername_</font>} 184 _messageinvalidpassword_ {<font color=red>_textinvalidpassword_</font>} 185 _messageemptypassword_ {<font color=red>_textemptypassword_</font>} 186 _messageuserexists_ {<font color=red>_textuserexists_</font>} 200 187 201 _messageusernameempty_ {<font color=red> Please enter your username.</font>}202 _messagepasswordempty_ {<font color=red> You must enter your old password.</font>}203 _messagenewpass1empty_ {<font color=red> Enter your new password and then retype it.</font>}188 _messageusernameempty_ {<font color=red>_textusernameempty_</font>} 189 _messagepasswordempty_ {<font color=red>_textpasswordempty_</font>} 190 _messagenewpass1empty_ {<font color=red>_textnewpass1empty_</font>} 204 191 _messagenewpass2empty_ {_messagenewpass1empty_} 205 _messagenewpassmismatch_ {<font color=red> The two versions of your new password did not match.</font>}206 _messagenewinvalidpassword_ {<font color=red> You entered an invalid password.</font>}207 _messagefailed_ {<font color=red> Either your username or password was incorrect.</font>}192 _messagenewpassmismatch_ {<font color=red>_textnewpassmismatch_</font>} 193 _messagenewinvalidpassword_ {<font color=red>_textnewinvalidpassword_</font>} 194 _messagefailed_ {<font color=red>_textfailed_</font>}
Note:
See TracChangeset
for help on using the changeset viewer.