source: main/trunk/greenstone2/macros/english.dm@ 22051

Last change on this file since 22051 was 22051, checked in by davidb, 14 years ago

Macro support for sql-query page added

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 37.0 KB
Line 
1# this file must be UTF-8 encoded
2#####################################################################
3#
4# English Language text and icon macros
5#
6######################################################################
7#
8# This is the main macro file for translation when creating an
9# interface in another language.
10
11# Under the 'text macros' comments are text macros of the form:
12# _macroname_ {macro value}
13# Everything between the {} is the text to be translated. This text
14# may itself contain macros (i.e. characters other than space between
15# underscore characters, e.g. _about:numdocs_ or _textpage_). These
16# macro names occurring within text shouldn't be translated but should
17# be left as they are. Underscores or curly brackets occurring
18# naturally within the text should be escaped with a leading backslash
19# (i.e. '\_', '\{' or '\}).
20#
21# Comment lines (other than those described above) need not be
22# translated (i.e. any lines beginning with '#', like this line).
23#
24# The simplest way to translate this file is to save it as something
25# else (e.g. french.dm) and work through translating all the text
26# macro values and icon comments.
27#
28######################################################################
29
30
31######################################################################
32# Global (base) package
33package Global
34######################################################################
35
36
37#------------------------------------------------------------
38# text macros
39#------------------------------------------------------------
40
41_textperiodicals_ {Periodicals}
42
43# these three used by the default format statement of the demo and dls collections.
44_textsource_ {source ref: }
45_textdate_ {publication date: }
46_textnumpages_ {no. of pages: }
47
48_textsignin_ {sign in}
49
50_texttruncated_ {[truncated]}
51
52_textdefaultcontent_ {The requested page could not be found. Please use
53your browsers 'back' button or the above home button to return to the
54Greenstone Digital Library.}
55
56_textdefaulttitle_ {GSDL Error}
57
58_textbadcollection_ {This collection (called "_cvariable_") is not installed on this Greenstone digital library system.}
59
60_textselectpage_ {-- Select Page --}
61
62_collectionextra_ {This collection contains _about:numdocs_ documents.
63It was last built _about:builddate_ days ago.}
64
65# this is only used by the collector (where the above _collectionextra_
66# macro will always be set to another value)
67_collectorextra_ {
68<p>This collection contains _numdocs_ _If_("_numdocs_" eq "1",document,documents), a total of _numbytes_ of indexed text and metadata.
69<p><a href="_httppagex_(bsummary)">Click here</a> to view the build summary for this collection.
70}
71
72_textdescrcollection_ {}
73_textdescrabout_ {About page}
74_textdescrhome_ {Home page}
75_textdescrhelp_ {Help page}
76_textdescrpref_ {Preferences page}
77_textdescrgreenstone_ {Greenstone Digital Library Software}
78_textdescrusab_ {What did you find hard to use?}
79
80
81# Metadata names and navigation bar labels
82
83_textSearch_ {Search}
84_labelSearch_ {Search}
85
86# Dublin Core Metadata Element Set, Version 1.1
87_textTitle_ {Title}
88_labelTitle_ {Titles}
89_textCreator_ {Creator}
90_labelCreator_ {Creators}
91_textSubject_ {Subject}
92_labelSubject_ {Subjects}
93_textDescription_ {Description}
94_labelDescription_ {Descriptions}
95_textPublisher_ {Publisher}
96_labelPublisher_ {Publishers}
97_textContributor_ {Contributor}
98_labelContributor_ {Contributors}
99_textDate_ {Date}
100_labelDate_ {Dates}
101_textType_ {Type}
102_labelType_ {Types}
103_textFormat_ {Format}
104_labelFormat_ {Formats}
105_textIdentifier_ {Identifier}
106_labelIdentifier_ {Identifiers}
107_textSource_ {Filename} # Not true DC, kept for legacy reasons
108_labelSource_ {Filenames} # Not true DC, kept for legacy reasons
109_textLanguage_ {Language}
110_labelLanguage_ {Languages}
111_textRelation_ {Relation}
112_labelRelation_ {Relations}
113_textCoverage_ {Coverage}
114_labelCoverage_ {Coverage}
115_textRights_ {Rights}
116_labelRights_ {Rights}
117
118# DLS metadata set
119_textOrganization_ {Organization}
120_labelOrganization_ {Organizations}
121_textKeyword_ {Keyword}
122_labelKeyword_ {Keywords}
123_textHowto_ {How to}
124_labelHowto_ {How to}
125
126# Miscellaneous Greenstone metadata
127_textPhrase_ {Phrase}
128_labelPhrase_ {Phrases}
129_textCollage_ {Collage}
130_labelCollage_ {Collage}
131_textBrowse_ {Browse}
132_labelBrowse_ {Browse}
133_textTo_ {To}
134_labelTo_ {To}
135_textFrom_ {From}
136_labelFrom_ {From}
137_textAcronym_ {Acronym}
138_labelAcronym_ {Acronyms}
139_textAuthor_ {Author}
140_textAuthors_ {Authors}
141
142# Navigation bar tooltip - to customize this for a specific metadata, add a macro named _textdescrXXX_ where XXX is the metadata name
143_textdescrdefault_ {Browse by _1_}
144
145_textdescrSearch_ {Search for specific terms}
146_textdescrType_ {Browse by resource type}
147_textdescrIdentifier_ {Browse by resource identifier}
148_textdescrSource_ {Browse by original filename} # Not true DC, kept for legacy reasons
149_textdescrTo_ {Browse by To field}
150_textdescrFrom_ {Browse by From field}
151_textdescrCollage_ {Browse by image collage}
152_textdescrAcronym_ {Browse acronyms}
153_textdescrPhrase_ {Browse phrases}
154_textdescrHowto_ {Browse how to categories}
155_textdescrBrowse_ {Browse documents}
156_texticontext_ {View the document}
157_texticonclosedbook_ {open this document and view contents}
158_texticonnext_ {to next section}
159_texticonprev_ {to previous section}
160
161_texticonworld_ {View the web document}
162
163_texticonmidi_ {View the MIDI document}
164_texticonmsword_ {View the Microsoft Word document}
165_texticonmp3_ {View the MP3 document}
166_texticonpdf_ {View the PDF document}
167_texticonps_ {View the PostScript document}
168_texticonppt_ {View the PowerPoint document}
169_texticonrtf_ {View the RTF document}
170_texticonxls_ {View the Microsoft Excel document}
171_texticonogg_ {View the Ogg Vorbis document}
172_texticonrmvideo_ {View the Real Media document}
173
174_page_ {page }
175_pages_ {pages}
176_of_ { of }
177_vol_ {Volume}
178_num_ {No.}
179
180_textmonth00_ {}
181_textmonth01_ {January}
182_textmonth02_ {February}
183_textmonth03_ {March}
184_textmonth04_ {April}
185_textmonth05_ {May}
186_textmonth06_ {June}
187_textmonth07_ {July}
188_textmonth08_ {August}
189_textmonth09_ {September}
190_textmonth10_ {October}
191_textmonth11_ {November}
192_textmonth12_ {December}
193
194_texttext_ {Text}
195_labeltext_ {_texttext_}
196_textdocument_ {Document}
197_textsection_ {Section}
198_textparagraph_ {Paragraph}
199_textchapter_ {Chapter}
200_textbook_ {Book}
201
202_magazines_ {Magazines}
203
204_nzdlpagefooter_ {<div class="divbar">&nbsp;</div>
205<p><a href="http://www.nzdl.org">New Zealand Digital Library Project</a>
206<br><a href="http://www.cs.waikato.ac.nz">Department of Computer Science</a>,
207<a href="http://www.waikato.ac.nz">University of Waikato</a>,
208New Zealand}
209
210_linktextHOME_ {HOME}
211_linktextHELP_ {HELP}
212_linktextPREFERENCES_ {PREFERENCES}
213
214
215######################################################################
216# 'home' page
217package home
218######################################################################
219
220_textpagetitle_ {Greenstone Digital Library}
221
222_textnocollections_ {No valid (i.e. built and public) collections are available}
223
224_textadmin_ {Administration Page}
225_textabgs_ {About Greenstone}
226_textgsdocs_ {Greenstone Documentation}
227
228_textdescradmin_ {
229Allows you to add new users, summarizes the collections in the system,
230gives technical information on the Greenstone installation
231}
232
233_textdescrgogreenstone_ {
234Tells you about the Greenstone software and the New Zealand Digital Library
235Project where it originated
236}
237
238_textdescrgodocs_ {Greenstone manuals}
239
240#####################################################################
241# some macros used on the home page from other packages
242#####################################################################
243package gli
244
245_textgli_ {The Librarian Interface}
246_textdescrgli_ {
247Helps you create new collections, modify or add to existing ones, or delete
248collections
249}
250
251package collector
252
253_textcollector_ {The Collector}
254_textdescrcollector_ {
255This predates the Librarian Interface, and for most practical purposes the Librarian Interface should be used instead
256}
257
258package depositor
259
260_textdepositor_ {The Depositor}
261_textdescrdepositor_ {
262Helps you to add documents to existing collections
263}
264
265package gti
266
267_textgti_ {The Greenstone Translator Interface}
268_textdescrtranslator_ {
269Helps you keep the multilingual versions of the Greenstone interface
270up to date
271}
272
273
274######################################################################
275# 'about' page
276package about
277######################################################################
278
279
280#------------------------------------------------------------
281# text macros
282#------------------------------------------------------------
283
284_textabcol_ {About this collection}
285
286_textsubcols1_ {<p>The complete collection comprises _1_ subcollections.
287Those currently available are:
288<blockquote>}
289
290_textsubcols2_ {</blockquote>
291You can check (and alter) which subcollections you are
292currently using on the Preferences page.}
293
294_titleabout_ {about}
295
296
297######################################################################
298# document package
299package document
300######################################################################
301
302
303#------------------------------------------------------------
304# text macros
305#------------------------------------------------------------
306
307_texticonopenbookshelf_ {close this section of the library}
308_texticonclosedbookshelf_ {open this section of the library and view contents}
309_texticonopenbook_ {close this book}
310_texticonclosedfolder_ {Open this folder and view contents}
311_texticonclosedfolder2_ {open sub-section: }
312_texticonopenfolder_ {close this folder}
313_texticonopenfolder2_ {close sub-section: }
314_texticonsmalltext_ {View this section of the text}
315_texticonsmalltext2_ {view text: }
316_texticonpointer_ {current section}
317_texticondetach_ {Open this page in a new window}
318_texticonhighlight_ {Highlight search terms}
319_texticonnohighlight_ {Don't highlight search terms}
320_texticoncontracttoc_ {Collapse table of contents}
321_texticonexpandtoc_ {Expand table of contents}
322_texticonexpandtext_ {Display all text}
323_texticoncontracttext_ {Display text only for currently selected section}
324_texticonwarning_ {<b>Warning: </b>}
325_texticoncont_ {continue?}
326
327_textltwarning_ {<div class="buttons">_imagecont_</div>
328_iconwarning_Expanding the text here will generate a large
329amount of data for your browser to display
330}
331
332_textgoto_ {go to page}
333_textintro_ { <i>(introductory text)</i>}
334
335_textCONTINUE_ {CONTINUE?}
336
337_textEXPANDTEXT_ {EXPAND TEXT}
338
339_textCONTRACTCONTENTS_ {CONTRACT CONTENTS}
340
341_textDETACH_ {DETACH}
342
343_textEXPANDCONTENTS_ {EXPAND CONTENTS}
344
345_textCONTRACT_ {CONTRACT TEXT}
346
347_textHIGHLIGHT_ {HIGHLIGHTING}
348
349_textNOHIGHLIGHT_ {NO HIGHLIGHTING}
350
351_textPRINT_ {PRINT}
352
353_textnextsearchresult_{next search result}
354_textprevsearchresult_{previous search result}
355
356# macros for printing page
357_textreturnoriginal_ {Return to the original page}
358_textprintpage_ {Print this page}
359_textshowcontents_ {Show the table of contents}
360_texthidecontents_ {Hide the table of contents}
361
362######################################################################
363# 'search' page
364package query
365######################################################################
366
367
368#------------------------------------------------------------
369# text macros
370#------------------------------------------------------------
371
372# this if statement produces the text 'results n1 - nn for query: querystring' or
373# 'No matches for query: querystring', depending on whether or not there were
374# any matches
375_textquerytitle_ {_If_(_thislast_,results _thisfirst_ - _thislast_ for query: _cgiargq_,No matches for query: _cgiargq_)}
376_textnoquerytitle_ {Search page}
377
378_textsome_ {some}
379_textall_ {all}
380_textboolean_ {boolean}
381_textranked_ {ranked}
382_textnatural_ {natural}
383_textsortbyrank_ {relevance rank}
384_texticonsearchhistorybar_ {search history}
385
386_textifeellucky_ {I'm feeling lucky!}
387
388#alt text for query buttons
389_textusequery_ {use this query}
390_textfreqmsg1_ {Word count: }
391_textpostprocess_ {_If_(_quotedquery_,<br><i>post-processed to find _quotedquery_</i>
392)}
393_textinvalidquery_ {Invalid query syntax}
394_textstopwordsmsg_ {The following words are too common and were ignored: }
395_textlucenetoomanyclauses_ {Your query contained too many search terms; please try a more specific query.}
396
397_textmorethan_ {More than }
398_textapprox_ {About }
399_textnodocs_ {No documents matched the query.}
400_text1doc_ {1 document matched the query.}
401_textlotsdocs_ {documents matched the query.}
402_textmatches_ {Matches }
403_textbeginsearch_ {Begin Search}
404_textrunquery_ {Run Query}
405_textclearform_ {Clear Form}
406
407#these go together in form search:
408#"Words (fold, stem) ... in field"
409_textwordphrase_ {Words}
410_textinfield_ {... in field}
411_textfieldphrase_ {Field}
412_textinwords_ {... in word(s)}
413_textfoldstem_ {(fold, stem)}
414
415_textadvquery_ {Or enter a query directly:}
416_textallfields_ {all fields}
417_texttextonly_ {text only}
418_textand_ {and}
419_textor_ {or}
420_textandnot_ {and not}
421
422# _indexselection_, _jselection_, _nselection_ and _gselection_ are set from
423# within the server - _indexselection_ is always set, but the others may be
424# unset
425
426# the space after "level" (before the right bracket) is required, otherwise no space between "Search" and "in"
427
428_textsimplesearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\,_allowformbreak_ sorting results by _sfselection_) for _querytypeselection_ of the words}
429_textsimplesqlsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sqlsfselection_,\,_allowformbreak_ sorting results by _sqlsfselection_) for _querytypeselection_ of the words}
430
431_textadvancedsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language) using _querytypeselection_ query}
432
433_textadvancedmgppsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language), and display results in _formquerytypeadvancedselection_ order, for}
434
435_textadvancedlucenesearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\,_allowformbreak_ sorting results by _sfselection_\,) for }
436_textadvancedsqlsearch_ {Search in _indexselection__If_(_jselection_, associated with _jselection_)_If_(_gselection_, at _gselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sqlsfselection_,\,_allowformbreak_ sorting results by _sqlsfselection_\,) for }
437
438# the space after "Search" is required, otherwise no space between "Search" and "in"
439
440_textformsimplesearch_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\, sorting results by _sfselection_\,) for _formquerytypesimpleselection_ of }
441_textformsimplesearchsql_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sqlsfselection_,\, sorting results by _sqlsfselection_\,) for _formquerytypesimpleselection_ of }
442
443_textformadvancedsearchmgpp_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language), and display results in _formquerytypeadvancedselection_ order, for }
444
445_textformadvancedsearchlucene_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sfselection_,\, sorting results by _sfselection_\,) for }
446_textformadvancedsearchsql_ {Search _If_(_jselection_, in _jselection_)_If_(_gformselection_, at _gformselection_ level )_If_(_nselection_, in _nselection_ language)_If_(_sqlsfselection_,\, sorting results by _sqlsfselection_\,) for }
447
448_textnojsformwarning_ {Warning: Javascript is disabled in your web browser. <br>To use form searching, please enable it.}
449_textdatesearch_ {This collection can be searched for documents within a date range, or documents that contain a particular date. This is an optional feature of the search.}
450_textstartdate_ {Start (or only) date:}
451_textenddate_ {End date:}
452_textbc_ {B.C.E.}
453_textad_ {C.E.}
454_textexplaineras_ {C.E. and B.C.E are alternatives for A.D. and B.C. respectively. These terms are considered to be culture indiscriminate, and stand for "Common Era" and "Before the Common Era"}
455
456_textstemon_ { (ignoring word endings)}
457
458_textsearchhistory_ {Search History}
459
460#text macros for search history
461_textnohistory_ {No entries in the search history}
462_texthresult_ {result}
463_texthresults_ {results}
464_texthallwords_ {all words}
465_texthsomewords_ {some words}
466_texthboolean_ {boolean}
467_texthranked_ {ranked}
468_texthcaseon_ {case must match}
469_texthcaseoff_ {casefolded}
470_texthstemon_ {stemmed}
471_texthstemoff_ {unstemmed}
472
473
474######################################################################
475# 'preferences' page
476package preferences
477######################################################################
478
479
480#------------------------------------------------------------
481# text macros
482#------------------------------------------------------------
483
484_textprefschanged_ {
485Preferences have been set as follows. Do not use your browser's
486"back" button - it will unset them! Instead, click one of the
487buttons on the access bar above.
488}
489_textsetprefs_ {set preferences}
490_textsearchprefs_ {Search preferences}
491_textcollectionprefs_ {Collection preferences}
492_textpresentationprefs_ {Presentation preferences}
493_textpreferences_ {Preferences}
494_textcasediffs_ {Case differences:}
495_textignorecase_ {ignore case differences}
496_textmatchcase_ {upper/lower case must match}
497_textwordends_ {Word endings:}
498_textstem_ {ignore word endings}
499_textnostem_ {whole word must match}
500_textaccentdiffs_ {Accent differences:}
501_textignoreaccents_ {ignore accents}
502_textmatchaccents_ {accents must match}
503
504_textprefop_ {Return up to _maxdocoption_ hits with _hitsperpageoption_ hits per page.}
505_textextlink_ {Access to external Web pages:}
506_textintlink_ {Source documents retrieved from:}
507_textlanguage_ {Interface language:}
508_textencoding_ {Encoding:}
509_textformat_ {Interface format:}
510_textall_ {all}
511_textquerymode_ {Query mode:}
512_textsimplemode_ {simple query mode}
513_textadvancedmode_ {advanced query mode (allows boolean searching using !, &amp;, |, and parentheses)}
514_textlinkinterm_ {through intermediate page}
515_textlinkdirect_ {go directly there}
516_textdigitlib_ {the digital library}
517_textweb_ {the web}
518_textgraphical_ {Graphical}
519_texttextual_ {Textual}
520_textcollectionoption_ {<p>
521Subcollections to include:
522<br>}
523
524_textsearchtype_ {Query style:}
525_textformsearchtype_ {fielded with _formnumfieldoption_ fields}
526_textsqlformsearchtype_ {SQL fielded with _sqlformnumfieldoption_ fields}
527_textplainsearchtype_ {normal with _boxsizeoption_ query box}
528_textregularbox_ {single line}
529_textlargebox_ {large}
530
531_textrelateddocdisplay_ {display related documents}
532_textsearchhistory_ {Search history:}
533_textnohistory_ {No search history}
534_texthistorydisplay_ {display _historynumrecords_ search history records}
535_textnohistorydisplay_ {do not display search history}
536
537_textbookoption_ {Book viewer mode:}
538_textbookvieweron_ {on}
539_textbookvieweroff_ {off}
540
541# html options
542_textdoclayout_ {Document page layout:}
543_textlayoutnavbar_ {navigation bar at top}
544_textlayoutnonavbar_ {no navigation bar}
545
546_texttermhighlight_ {Search term highlighting:}
547_texttermhighlighton_ {highlight search terms}
548_texttermhighlightoff_ {don't highlight search terms}
549
550#####################################################################
551# 'browse' package for the dynamic browsing interface
552package browse
553#####################################################################
554
555_textsortby_ {Sort documents by}
556_textalsoshowing_ {also showing}
557_textwith_ {with at most}
558_textdocsperpage_ {documents per page}
559
560_textfilterby_ {Get documents containing}
561_textall_ {all}
562_textany_ {any}
563_textwords_ {of the words}
564_textleaveblank_ {leave this box blank to get all the documents}
565
566_browsebuttontext_ {"Sort Documents"}
567
568_nodata_ {<i>no data</i>}
569_docs_ {documents}
570######################################################################
571# 'help' page -- this is lower priority for translating than the
572# rest of this file
573package help
574######################################################################
575
576
577#------------------------------------------------------------
578# text macros
579#------------------------------------------------------------
580
581_textHelp_ {Help}
582
583# Macros giving a brief help message for navigation bar access buttons
584# The arguments to this will be _textXXX_ and _labelXXX_, where XXX is the metadata name. For example, to print out the help message for a titles classifier, the library will use _textdefaulthelp_(_textTitle_,_labelTitle_)
585# To customize this for a specific metadata, add a macro named _textXXXhelp_ where XXX is the metadata name
586_textdefaulthelp_{browse documents by _1_ by clicking the _2_ button}
587
588_textSearchhelp_ {search for particular words that appear in the text by clicking the _labelSearch_ button}
589_textTohelp_ {browse documents by To field by clicking the _labelTo_ button}
590_textFromhelp_ {browse documents by From field by clicking the _labelFrom_ button}
591_textBrowsehelp_ {browse documents}
592_textAcronymhelp_ {browse documents by acronym occurrence by clicking the _labelAcronym_ button}
593_textPhrasehelp_ {browse phrases occurring in documents by clicking the _labelPhrase_ button. This uses the phind phrase browser.}
594
595_texthelptopicstitle_ {Topics}
596
597_textreadingdocs_ {How to read the documents}
598
599_texthelpreadingdocs_ {
600<p>You can tell when you have arrived at an individual book or document
601because its title, or an image of the front cover, appears at the top
602left of the page. In some collections, a table of contents appears, while in others
603(eg. when the paged image option is used)
604just the page number is shown, along with a box that allows you to select a
605new page and go forward and backward. In the table of contents, the current
606section heading is in bold face, and the table is expandable -- click on the folders
607to open or close them; click on the open book at the top to close it.</p>
608
609<p>Underneath is the text of the current section. When you have read
610through it, there are arrows at the bottom to take you on to the next
611section or back to the previous one.</p>
612
613<p>Below the title or front-cover image are some buttons. Click on
614<i>_document:textEXPANDTEXT_</i> to expand out the whole text of the current section, or
615book. If the document is large, this could take a long time and use a lot
616of memory! Click on <i>_document:textEXPANDCONTENTS_</i> to expand out the whole table of
617contents so that you can see the titles of all chapters and
618subsections. Click on <i>_document:textDETACH_</i> to make a new browser window for this
619document. (This is useful if you want to compare documents, or read two at
620once.) Finally, when you do a search the words you search for are
621highlighted. Click on <i>_document:textNOHIGHLIGHT_</i> to remove highlighting.</p>
622}
623
624# help about the icons
625_texthelpopenbookshelf_ {Open this bookshelf}
626_texthelpopenbook_ {Open/close this book}
627_texthelpviewtextsection_ {View this section of the text}
628_texthelpexpandtext_ {Display all text, or not}
629_texthelpexpandcontents_ {Expand table of contents, or not}
630_texthelpdetachpage_ {Open this page in a new window}
631_texthelphighlight_ {Highlight search terms, or not}
632_texthelpsectionarrows_ {Go to the previous/next section}
633
634
635_texthelpsearchingtitle_ {How to search for particular words}
636
637_texthelpsearching_ {
638<p>
639 From the search page, you make a query in these simple steps:<p>
640
641 <ol><li>Specify what items you want to search
642 <li>Say whether you want to search for all or just some of the words
643 <li>Type in the words you want to search for
644 <li>Click the <i>Begin Search</i> button
645 </ol>
646
647<p>When you make a query, the titles of twenty matching documents will be shown.
648There is a button at the end to take you on to the next twenty documents. From
649there you will find buttons to take you on to the third twenty or back to the
650first twenty, and so on. Click the title of any document, or the little button
651beside it, to see it.
652
653<p>A maximum of 50 is imposed on the number of
654 documents returned. You can change this number by clicking the
655 <i>_Global:linktextPREFERENCES_</i> button at the top of the page.<p>
656}
657
658_texthelpquerytermstitle_ {Search terms}
659_texthelpqueryterms_ {
660<p>Whatever you type into the query box is interpreted as a list of words or phrases
661called "search terms." A term is a single word containing only letters and digits, or a phrase consisting of a sequence of words enclosed in double quotes ("..."). Terms are separated by white spaces. If any other characters such
662as punctuation appear, they serve to separate terms just as though they were
663spaces. And then they are ignored. You can't search for words that include
664punctuation.
665
666<p>For example, the query<p>
667 <ul><kbd>Agro-forestry in the Pacific Islands: Systems for Sustainability (1993)</kbd></ul>
668 <p>will be treated the same as<p>
669 <ul><kbd>Agro forestry in the Pacific Islands Systems for Sustainability 1993 </kbd></ul><p>
670}
671
672_texthelpmgppsearching_ {
673For collections built with MGPP a few other options are available.
674
675<ul>
676<li>A <b>*</b> at the end of a query term matches all words <b>starting with</b> that word, e.g. <b>comput*</b> matches all words starting with <b>comput</b>.
677<li><b>/x</b> can be used to give higher weight to one or more of the query terms, eg <b>computer/10 science</b> gives computer 10 times more weight than science when ranking documents.
678</ul>
679}
680
681_texthelplucenesearching_ {
682For collections built with Lucene a few other options are available.
683
684<ul>
685<li><b>?</b> can be used as a wildcard in place of a single letter. For example, <b>b?t</b> will match <b>bet</b>, <b>bit</b> and <b>bat</b> etc.
686<li><b>*</b> can be used as a wildcard in place of multiple letters. For example, <b>comput*</b> matches all words starting with <b>comput</b>.
687</ul>
688Both of these wildcards can be used in the middle of a term, or at the end. They cannot be used at the start of a search term.
689}
690
691_texthelpquerytypetitle_ {Query type}
692_texthelpquerytype_ {
693<p>There are two different kinds of query.
694
695<ul>
696 <li>Queries for <b>all</b> of the words. These look for documents (or
697 chapters, or titles) that contain all the words you have specified.
698 Documents that satisfy the query are displayed, in build order.
699<p>
700
701 <li>Queries for <b>some</b> of the words. Just list some terms that are
702 likely to appear in the documents you are looking for. Documents are
703 displayed in order of how closely they match the query. When determining
704 the degree of match,
705
706 <p><ul>
707 <li> the more search term occurrences a document contains, the closer it matches;
708 <li> terms which are rare in the collection as a whole are more important than common ones;
709 <li> short documents match better than long ones.
710 </ul>
711</ul>
712
713<p>Use as many search terms as you like--a whole sentence, or even a
714whole paragraph. If you specify only
715one term, documents will be ordered by its frequency of occurrence.<p>
716}
717
718_texthelpadvancedsearchtitle_ {Advanced searching using the _1_ search engine}
719
720_texthelpadvancedsearch_ {
721<p>If you have selected advanced query mode (in preferences) you have slightly different search options.
722}
723
724_texthelpadvsearchmg_ {
725Advanced searching in MG collections gives you two options, ranked and boolean.
726A <b>ranked</b> search is exactly the same as the <b>some</b> search descibed in <a href="\#query-type">_texthelpquerytypetitle_</a>.
727<p>_texthelpbooleansearch_
728}
729
730_texthelpbooleansearch_ {
731A <b>boolean</b> search allows you to combine terms
732using &amp; (for "and"), | (for "or"), and ! (for "not"), using parentheses for grouping if desired. The default operator is | (for "or").
733<p>
734For example, <b>snail &amp; farming</b> will match documents which contain both <b>snail</b> AND <b>farming</b>, whereas <b>snail | farming</b> will match documents that contain either <b>snail</b> OR <b>farming</b>.
735<b>snail !farming</b> will match documents that contain <b>snail</b> AND DO NOT contain <b>farming</b>.
736<p>
737More precise queries can be specified using combinations of operators and parentheses. For example, <b>(sheep | cattle) &amp; (farm | station)</b>, or <b>sheep | cattle | goat !pig</b>.
738}
739
740_texthelpadvsearchmgpp_ {
741Advanced searches in MGPP collections use boolean operators. _texthelpbooleansearch_
742<p>The results can be displayed in <b>ranked</b> order, as described for the <b>some</b> search in <a href="\#query-type">_texthelpquerytypetitle_</a>, or in "natural" (or "build") order. The latter is the order that documents were processed during the creation of the collection.
743<p>
744Further operators include <b>NEARx</b> and <b>WITHINx</b>.
745NEARx is used to specify the maximum distance (x words)
746which can separate two query terms for a document to match.
747WITHINx specifies that the second term must occur within x words <i>after</i> the first term. This is similar to NEAR but the order is important. The default distance is 20.
748}
749
750_texthelpadvancedsearchextra_{NOTE: These operators are all ignored if you are searching in simple query mode.}
751
752_texthelpadvsearchlucene_ {
753Advanced searches in Lucene collections use boolean operators. _texthelpbooleansearch_
754}
755
756_texthelpformsearchtitle_ {Fielded searching}
757
758_texthelpformsearch_ {
759<p>Fielded searching provides the opportunity to combine searches across fields. For example, one can search for "Smith" in Title AND "snail farming" in Subject. In simple query mode, each line of the form behaves like a normal single line search. The individual lines of the form are combined using AND (for an "all" search) or OR (for a "some" search). Terms inside the field are also combined the same way. In advanced mode, you can specify different combinations of AND/OR/NOT between the fields using the drop-down lists, and inside a field you can use boolean operators.
760}
761
762_texthelpformstemming_ {The "fold" and "stem" boxes allow you to specify whether the terms inside that field are casefolded or stemmed. These are both switched off by default for advanced form searching.}
763
764_textdatesearch_ {Searching with Dates}
765
766_texthelpdatesearch_ {
767Date search lets you find documents that, as well as matching your search
768terms, are about events within a certain timeframe. You can search for
769documents from a certain year or from a range of years. Note that you do not
770have to have any search terms -- you can search by date alone; and also that
771you do not have to use dates in your search, if you do not type any dates in it
772 is just the same as if the date search didn't exist.<p>
773}
774
775_texthelpdatehowtotitle_ {How to use this feature:}
776_texthelpdatehowto_ {
777<ul>
778 <li>To search for documents about a single year:<p>
779 <ul>
780 <li>Type in any ordinary search terms as you normally would.
781 <li>Type the year you want into the "Start (or only) date" box.
782 <li>If your date is from before the common era (also known as before
783 Christ), choose the "B.C.E" option from the pulldown menu next to that
784 box.
785 <li>Begin your search as you ordinarily would.
786 </ul>
787<p><li>To search for documents about a time period or range of years:<p>
788 <ul>
789 <li>Type in any ordinary search terms as you normally would.
790 <li>Type the earlier date into the "Start (or only) date" box.
791 <li>Type the later date into the "End date" box.
792 <li>Select "B.C.E" option from the pulldown menu next to any date from before
793 the common era (also known as before Christ).
794 <li>Begin your search as you ordinarily would.
795 </ul>
796</ul><p>
797}
798
799_texthelpdateresultstitle_ {The way results of your search work}
800_texthelpdateresults_ {
801Generally speaking a search for documents about the year 1903 will not return documents that, say, reference books written in 1903, just documents about 1903. However, the way that the documents' dates are found, it will return documents that have a date range (for example 1899-1911) that includes 1903, and also those documents which, as part of their text name the century that 1903 is a part of (for example 20th century or twentieth century). This means that for some documents, the dates in your search will not actually appear in the document text. For a range search, all of this applies to every date in the range.<p>
802}
803
804_textchangeprefs_ {Changing your preferences}
805
806_texthelppreferences_ {
807<p>When you click the <i>_Global:linktextPREFERENCES_</i> button at the top of the page you will
808be able to change some features of the interface to suit your own requirements.
809}
810
811_texthelpcollectionprefstitle_ {Collection preferences}
812_texthelpcollectionprefs_ {
813<p>Some collections comprise several subcollections, which can be searched
814independently or together, as one unit. If so, you can select which
815subcollections to include in your searches on the Preferences page.
816}
817
818_texthelplanguageprefstitle_ {Language preferences}
819_texthelplanguageprefs_ {
820<p>Each collection has a default presentation language, but you can switch to
821a different language if you like. You can also alter the encoding scheme
822used by Greenstone for output to the browser -- the software chooses
823sensible defaults, but with some browsers it may be necessary to switch to
824a different encoding scheme to ensure correct character display.
825All collections allow you to
826switch from the standard graphical interface format to a textual one. This
827is particularly useful for visually impaired users who use large screen
828fonts or speech synthesizers for output.
829}
830
831_texthelppresentationprefstitle_ {Presentation preferences}
832_texthelppresentationprefs_ {
833Depending on the particular collection, there may be several options you can
834set that control the presentation.
835
836<p>Collections of Web pages allow you to suppress the Greenstone navigation bar at
837the top of each document page, so that once you have done a search you land at
838the exact Web page that matches without any Greenstone header. To do another
839search you will have to use your browser's "back" button. These collections
840also allow you to suppress Greenstone's warning message when you click a link
841that takes you out of the digital library collection and on to the Web itself.
842And in some Web collections you can control whether the links on the search
843results page take you straight to the actual URL in question, rather than to
844the digital library's copy of the page.
845}
846
847_texthelpsearchprefstitle_ {Search preferences}
848_texthelpsearchprefs_ {
849<p>You can switch to an "advanced" query mode which allows you to combine terms
850using &amp; (for "and"), | (for "or"), and ! (for "not"), using parentheses for
851grouping if desired. This allows you to specify more precise queries.
852<p>_selectsearchtypeprefs_
853<p>_selectwordmodificationprefs_
854<p>You can turn on the search history feature, which shows you your last few
855queries. This makes it easy to repeat slightly modified versions of previous
856queries.
857<p>Finally, you can control the number of hits returned, and the
858number presented on each screenful.
859}
860
861_textcasefoldprefs_ {A pair of buttons controls whether upper and lower case must match when searching. For example, if "_preferences:textignorecase_" is selected, <i>snail farming</i> will be treated the same as <i>Snail Farming</i> and <i>SNAIL FARMING</i>.}
862_textstemprefs_{A pair of buttons controls whether to ignore word endings or not when searching. For example, if "_preferences:textstem_" is selected, <i>snail farming</i> will be treated the same as <i>snails farm</i> and <i>snail farmer</i>. This currently only works properly for English language text. _selectstemoptionsprefs_}
863_textaccentfoldprefs_ {A pair of buttons controls whether accented and unaccented letters must match when searching. For example, if "_preferences:textignoreaccents_" is selected, <i>fédération</i> will be treated the same as <i>fedération</i> and <i>federation</i>.}
864
865_textstemoptionsprefs_ {It may be more convenient and precise to use the search term truncation facility described above in "_texthelpquerytermstitle_".}
866
867_textsearchtypeprefsplain_ {It is possible to get a large query box, so that you can easily do paragraph-sized searching. It is surprisingly quick to search for large amounts of text.}
868
869_textsearchtypeprefsform_ {You can change the number of fields shown in the search form.}
870
871_textsearchtypeprefsboth_ {You can switch the search type of the collection between "normal" search, and "fielded" search.
872<ul>
873<li>Normal search provides a single query box. _textsearchtypeprefsplain_</li>
874<li>Fielded search provides a number of query boxes, each querying a different field of the index. This enables searching over different fields at once. _textsearchtypeprefsform_ </li>
875</ul>
876}
877
878
879
880_texttanumbrowseoptions_ {There are _numbrowseoptions_ ways to find information in this collection:}
881
882_textsimplehelpheading_ {How to find information in the _collectionname_ collection}
883
884_texthelpscopetitle_ {Scope of queries}
885_texthelpscope_ {
886<p>
887In most collections you are given a choice of different indexes to search. For example, there might
888be author or title indexes. Or there might be chapter or paragraph indexes. Generally,
889the full matching document is returned regardless of which index you search.
890<p>If documents are books, they will be opened at the appropriate place.
891}
Note: See TracBrowser for help on using the repository browser.