source: trunk/gsdl/macros/english.dm@ 13370

Last change on this file since 13370 was 13367, checked in by mdewsnip, 18 years ago

Moved a static English string out of the C++ code and into a macro, so it can be translated.

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