source: collections/documented-examples/trunk/bibtex-e/etc/collect.cfg@ 20507

Last change on this file since 20507 was 20507, checked in by anna, 15 years ago

Improved Spanish translations of the documented example collections. Many thanks to Diego Spano.

  • Property svn:executable set to *
File size: 52.1 KB
Line 
1creator [email protected]
2maintainer [email protected]
3public true
4
5buildtype mgpp
6
7groupsize 200
8
9indexes text metadata
10
11plugin BibTexPlugin -OIDtype assigned -OIDmetadata Number
12plugin GreenstoneXMLPlugin
13plugin MetadataXMLPlugin
14plugin ArchivesInfPlugin
15plugin DirectoryPlugin
16
17classify AZList -metadata Title
18classify AZCompactList -metadata Author -buttonname Creator
19classify DateList -metadata Date
20
21classify Phind -text document:Title,document:Creator,document:Booktitle,document:Publisher
22
23format SearchTypes "form,plain"
24
25format VList "<td valign=top>[link][icon][/link]</td>
26<td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i>
27{If}{[Year], - [Month] [Year]}</td>"
28
29format CL2VList "<td valign=top>[link][icon][/link]</td>
30<td valign=top>{If}{[numleafdocs],<b>[Title]</b>,
31<b>[Author]</b> ([Creator]) -- <i>[Title]</i>}
32{If}{[Year], - [Month] [Year]}</td>"
33
34format DateList "<td valign=top>[link][icon][/link]</td>
35<td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i></td>"
36
37format HList "[link][highlight][ex.Title][/highlight][/link]"
38
39format DocumentHeading "<H1>[Title]</H1><hr><table>
40{If}{[Creator],<tr><td><b>_AuthoredBy_:</b></td><td>[Creator]</td></tr>}
41{If}{[Title],<tr><td><b>_PaperTitle_:</b></td><td>[Title]</td></tr>}
42{If}{[Editor],<tr><td><b>_Editors_:</b></td><td>[Editor]</td></tr>}
43{If}{[EditorRole],<tr><td><b>_EditorRole_:</b></td><td>[EditorRole]</td></tr>}
44{If}{[Booktitle],<tr><td><b>_BookJournalTitle_:</b></td><td>[Booktitle]</td></tr>}
45{If}{[Journal],<tr><td><b>_In_:</b></td><td>[Journal]</td></tr>}
46{If}{\\"[Volume][Number]\\",<tr><td>}
47{If}{[Number], <b>_Number_:</b></td><td> [Number]}
48{If}{[Volume], <b>_Vol_:</b> [Volume]}
49{If}{\\"[Volume][Number]\\",</td></tr>}
50{If}{[MeetingDate],<tr><td><b>_MeetingDate_:</b></td><td>[MeetingDate]</td></tr>}
51{If}{[MeetingPlace],<tr><td><b>_MeetingPlace_:</b></td><td>[MeetingPlace]</td></tr>}
52{If}{[PublicationPlace],<tr><td><b>_PublicationPlace_:</b></td><td>[PublicationPlace] </td></tr>}
53{If}{[Publisher],<tr><td><b>_Publisher_:</b></td><td>[Publisher]</td></tr>}
54{If}{[Year],<tr><td><b>_PublicationDate_:</b></td><td>[Month] [Year]</td></tr>}
55{If}{[Pages],<tr><td><b>_Pages_:</b></td><td>[Pages]</td></tr>}
56{If}{[DocType],<tr><td><b>_DocType_:</b></td><td>[DocType]</td></tr>}
57{If}{[Location],<tr><td><b>_LocationURL_:</b></td><td>[Location]</td></tr>}
58{If}{[Notes],<tr><td><b>_Annotations_:</b></td><td>[Notes]</td></tr>}
59{If}{[Abstract],<tr><td><b>_Abstract_:</b></td><td>[Abstract]</td></tr>}
60{If}{[Keywords],<tr><td><b>_Keywords_:</b></td><td>[Keywords]</td></tr>}
61</table><hr>"
62
63format DocumentText "{If}{_cgiargshowrecord_,
64<b>_BibTeXrecord_:</b><br/><tt>[Text]</tt><br><center>
65<a href=\'_gwcgi_?e=_cgiarge_&c=_cgiargc_&cl=_cgiargcl_&a=d&d=_cgiargd_\'>_HideBibTeXrecord_</a></center>,
66<center><a href=\'_gwcgi_?e=_cgiarge_&c=_cgiargc_&cl=_cgiargcl_&a=d&d=_cgiargd_&showrecord=1\'>
67_ShowBibTeXrecord_</a></center>}"
68
69format DocumentButtons ""
70format DocumentContents false
71
72collectionmeta sampleoid [l=en] "13/2004"
73
74collectionmeta collectionname [l=en] "Bibliography collection"
75collectionmeta .text [l=en] "full records"
76collectionmeta .Title [l=en] "titles"
77collectionmeta .Source [l=en] "filenames"
78
79collectionmeta AuthoredBy [l=en] "Authored By"
80collectionmeta PaperTitle [l=en] "Paper Title"
81collectionmeta Editors [l=en] "Editor(s)"
82collectionmeta EditorRole [l=en] "Editor Role"
83collectionmeta BookJournalTitle [l=en] "Book/Journal Title"
84collectionmeta In [l=en] "In"
85collectionmeta Number [l=en] "Number"
86collectionmeta Vol [l=en] "Vol."
87collectionmeta MeetingDate [l=en] "Meeting Date"
88collectionmeta MeetingPlace [l=en] "Meeting Place"
89collectionmeta PublicationPlace [l=en] "Publication Place"
90collectionmeta Publisher [l=en] "Publisher"
91collectionmeta PublicationDate [l=en] "Publication Date"
92collectionmeta Pages [l=en] "Pages"
93collectionmeta DocType [l=en] "DocType"
94collectionmeta LocationURL [l=en] "Location/URL"
95collectionmeta Annotations [l=en] "Annotations"
96collectionmeta Abstract [l=en] "Abstract"
97collectionmeta Keywords [l=en] "Keywords"
98
99collectionmeta BibTeXrecord [l=en] "BibTeX Record"
100collectionmeta ShowBibTeXrecord [l=en] "Show BibTeX Record"
101collectionmeta HideBibTeXrecord [l=en] "Hide BibTeX Record"
102
103# -- French strings ----------------
104collectionmeta collectionname [l=fr] "Collection bibliographie"
105
106collectionmeta .text [l=fr] "enregistrements complets"
107
108collectionmeta AuthoredBy [l=fr] "Nom de l\'auteur"
109collectionmeta PaperTitle [l=fr] "Titre de l\'article"
110collectionmeta Editors [l=fr] "Editeur(s)"
111collectionmeta EditorRole [l=fr] "RÎle de l\'éditeur"
112collectionmeta BookJournalTitle [l=fr] "Titre de Livre/Journal"
113collectionmeta In [l=fr] "Dans"
114collectionmeta Number [l=fr] "Numéro"
115collectionmeta Vol [l=fr] "Vol."
116collectionmeta MeetingDate [l=fr] "Date de rencontre"
117collectionmeta MeetingPlace [l=fr] "Lieu de rencontre"
118collectionmeta PublicationPlace [l=fr] "Lieu de publication"
119collectionmeta Publisher [l=fr] "Editeur"
120collectionmeta PublicationDate [l=fr] "Date de publication"
121collectionmeta Pages [l=fr] "Pages"
122collectionmeta DocType [l=fr] "TypeDocument"
123collectionmeta LocationURL [l=fr] "Emplacement/URL"
124collectionmeta Annotations [l=fr] "Annotations"
125collectionmeta Abstract [l=fr] "Résumé"
126collectionmeta Keywords [l=fr] "Mots-clés"
127
128collectionmeta BibTeXrecord [l=fr] "Enregistrement BibTeX"
129collectionmeta ShowBibTeXrecord [l=fr] "Montrer Enregistrement BibTeX"
130collectionmeta HideBibTeXrecord [l=fr] "Cacher l\'enregistrement BibTeX"
131
132# -- Spanish strings ----------------
133collectionmeta collectionname [l=es] "Colección bibliográfica"
134
135collectionmeta .text [l=es] "registros completos"
136collectionmeta .Title [l=es] "títulos"
137collectionmeta .Source [l=es] "nombres de archivos"
138
139collectionmeta AuthoredBy [l=es] "Autor"
140collectionmeta PaperTitle [l=es] "Título del documento"
141collectionmeta Editors [l=es] "Editor(es)"
142collectionmeta EditorRole [l=es] "Rol del editor"
143collectionmeta BookJournalTitle [l=es] "Título del libro o revista"
144collectionmeta In [l=es] "En"
145collectionmeta Number [l=es] "Número"
146collectionmeta Vol [l=es] "Volumen"
147collectionmeta MeetingDate [l=es] "Fecha de la reunión"
148collectionmeta MeetingPlace [l=es] "Lugar de la reunión"
149collectionmeta PublicationPlace [l=es] "Lugar de la publicación"
150collectionmeta Publisher [l=es] "Editorial"
151collectionmeta PublicationDate [l=es] "Fecha de publicación"
152collectionmeta Pages [l=es] "Páginas"
153collectionmeta DocType [l=es] "Tipo de documento"
154collectionmeta LocationURL [l=es] "Ubicación/URL"
155collectionmeta Annotations [l=es] "Anotaciones"
156collectionmeta Abstract [l=es] "Resumen"
157collectionmeta Keywords [l=es] "Palabras clave"
158
159collectionmeta BibTeXrecord [l=es] "Registro BibTeX"
160collectionmeta ShowBibTeXrecord [l=es] "Mostrar registro BibTeX"
161collectionmeta HideBibTeXrecord [l=es] "Ocultar registro BibTeX"
162
163# -- Russian strings ----------------
164collectionmeta collectionname [l=ru] "БОблОПграфОческая кПллекцОя"
165
166collectionmeta .text [l=ru] "ППлМые запОсО"
167
168collectionmeta AuthoredBy [l=ru] "АвтПр"
169collectionmeta PaperTitle [l=ru] "НазваМОе статьО"
170collectionmeta Editors [l=ru] "РеЎактПр (ы)"
171collectionmeta EditorRole [l=ru] "РПль реЎактПра"
172collectionmeta BookJournalTitle [l=ru] "НазваМОе кМОгО/журМала"
173collectionmeta In [l=ru] "В"
174collectionmeta Number [l=ru] "ЧОслП (НПЌер)"
175collectionmeta Vol [l=ru] "ТПЌ"
176collectionmeta MeetingDate [l=ru] "Дата встречО"
177collectionmeta MeetingPlace [l=ru] "МестП встречО"
178collectionmeta PublicationPlace [l=ru] "Дата ПублОкацОО"
179collectionmeta Publisher [l=ru] "ИзЎатель"
180collectionmeta PublicationDate [l=ru] "Дата ПублОкацОО"
181collectionmeta Pages [l=ru] "СтраМОцы"
182collectionmeta DocType [l=ru] "ТОп ЎПкуЌеМта"
183collectionmeta LocationURL [l=ru] "МестПпПлПжеМОе/URL"
184collectionmeta Annotations [l=ru] "АММПтацОО"
185collectionmeta Abstract [l=ru] "РезюЌе"
186collectionmeta Keywords [l=ru] "Ключевые слПва"
187
188collectionmeta BibTeXrecord [l=ru] "ЗапОсь BibTeX"
189collectionmeta ShowBibTeXrecord [l=ru] "ППказать запОсь BibTeX"
190collectionmeta HideBibTeXrecord [l=ru] "Скрытая запОсь BibTeX"
191
192# -- Simplified Chinese strings ----------------
193collectionmeta collectionname [l=zh] "文献銆藏"
194
195collectionmeta .text [l=zh] "所有记圕"
196
197collectionmeta AuthoredBy [l=zh] "著者
198"
199collectionmeta PaperTitle [l=zh] "论文题名"
200collectionmeta Editors [l=zh] "猖蟑"
201collectionmeta EditorRole [l=zh] "猖蟑角色"
202collectionmeta BookJournalTitle [l=zh] "乊/期刊题名"
203collectionmeta In [l=zh] "于"
204collectionmeta Number [l=zh] "期"
205collectionmeta Vol [l=zh] "卷"
206collectionmeta MeetingDate [l=zh] "䌚见时期"
207collectionmeta MeetingPlace [l=zh] "䌚见地点"
208collectionmeta PublicationPlace [l=zh] "出版地址"
209collectionmeta Publisher [l=zh] "出版商"
210collectionmeta PublicationDate [l=zh] "出版日期"
211collectionmeta Pages [l=zh] "页"
212collectionmeta DocType [l=zh] "文档类型"
213collectionmeta LocationURL [l=zh] "䜍眮/URL"
214collectionmeta Annotations [l=zh] "泚释"
215collectionmeta Abstract [l=zh] "文摘"
216collectionmeta Keywords [l=zh] "å…
217³é”®è¯"
218
219collectionmeta BibTeXrecord [l=zh] "BibTeX记圕"
220collectionmeta ShowBibTeXrecord [l=zh] "星瀺BibTeX记圕"
221collectionmeta HideBibTeXrecord [l=zh] "隐藏BibTeX记圕"
222
223# -- English text ----------------
224collectionmeta collectionextra [l=en] "
225This collection, which contains _about:numdocs_
226BibTeX entries, is a collection of working papers published from 1997 to 2006
227at <a href=\"http://www.cs.waikato.ac.nz/\">Department of Computer Science</a>,
228<a href=\"http://www.waikato.ac.nz/\">the University of Waikato</a>.\n
229
230\n<h3>How the collection works</h3>\n
231
232<p>
233The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>collection
234configuration file</a> begins with the specification <i>groupsize 200</i>.
235This groups 200 documents together into a single archive file. Bibliography collections
236typically have many small documents, and grouping them together prevents
237Greenstone\'s internal file structures from becoming bloated and occupying more
238disk space than necessary.\n
239
240<p>
241Apart from the standard plugins, this collection uses <i>BibTexPlugin</i>,
242which processes references in the BibTeX format (well known to computer
243scientists). Two options have been set for BibTexPlugin:
244<i>-OIDtype assigned -OIDmetadata Number</i>. This means the metadata
245element \"Number\" will be used as the record identifier, instead of
246Greenstone\'s default hash identifiers. These options are available for
247all plugins.\n
248
249<p>
250Fielded searching, with a form-based interface, is selected by <i>format SearchTypes \"form,plain\"
251</i> in the configuration file. In fact, a plain textual full-text search
252index is included in this collection as well (since <i>form</i> comes first,
253it is the default interface; you reach the <i>plain</i> search through
254the <i>Preferences</i> page).\n
255
256<p>
257The <i>buildtype</i> option shows that the default search engine <i>mgpp</i> is
258used. The <i>indexes</i> line specifies indexes for \"text\", and \"metadata\". In this case, \"text\" will be the original BibTeX record. \"metadata\" is a special keyword signifying that an index should be built for any metadata item found in the collection.
259Thus when the \"field\" menus in the
260<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1\">search page</a> are pulled down, they show
261<i>full records</i> followed by an entry for each metadata element.
262Collection-level metadata <i>collectionmeta</i> can be specified for any index
263to determine what it is called in the menu (except for <i>metadata</i>, which
264produces many menu items). In this case, the
265<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration
266file</a> specifies that the text index should be named \"full records\" because it
267contains the original bibliographic record.\n
268<p>
269An additional keyword, \"allfields\", could also be used in the <i>indexes</i> line, specifying that combined searching over all indexes should be available.
270<p>
271The <i>levels</i> lines specifies only document level, as bibliographic records don\'t have internal structure.
272<p>
273This collection contains <i>Title, Author</i>, and <i>Date</i> browsers, and a
274special kind of phrase index called \"Phind.\" The <i>AZCompactList</i>
275classifier used for the <i>Author</i> browser is like <i>AZList</i> but
276generates a bookshelf for duplicate items as shown <a
277href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">here</a>. The BibTeX plugin records each
278author as <i>Author</i> metadata; it also puts a list containing all authors
279into the <i>Creator</i> metadata element. Consequently the <i>AZCompactList</i>
280classifier is based on <i>Author</i>. However, Greenstone has a standard button
281reading <i>authors</i> whose name is (confusingly) \"Creator\", so this
282button name is specified for the classifier.\n
283
284<p>
285The \"Phind\" classifier creates a phrase index like
286<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL4\">this</a>. It contains a browsable list
287of phrases extracted from the material specified
288in the <i>text</i> argument of the <i>classify Phind</i> line in the
289<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration file</a>.
290Here the specification is\n
291<pre>
292document:Title,document:Creator,document:Booktitle,document:Publisher
293</pre>\n
294
295-- that is, the title, list of authors, title of the collected work (if any) in
296which this item appears, and publisher. Note that this specification follows
297the <i>mg</i> convention with <i>level:field</i>. <i>Phind</i> indexes are more
298usually based on the entire full text of a collection, using the specification
299<i>document:text</i>.\n
300
301<p>
302The best way to see what Phind does is to play with this index. You type a word in
303the search box, click <i>Search</i>, and a list of phrases containing that term
304appears in the top panel. Click on one of these phrases and a list of phrases
305containing that <i>phrase</i> appears in the bottom panel. You can continue
306doing this, expanding the phrase more and more. The lists can be lengthened
307using the <i>get more phrases </i> button. At the end of the list of phrases
308appears a list of documents containing that phrase, in blue text; you can
309lengthen this list by clicking get <i>more documents</i>.\n
310
311<p>
312The format statements for the search results list and the title browser are
313both determined by the <i>VList</i> specification. It gives a document icon
314that links to the document itself (which in this collection is the full
315reference); the title in bold; <i>Creator</i> metadata if there is any,
316otherwise <i>Editor</i> metadata; and <i>Month, Year</i> metadata if there is any.
317<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&r=1&hs=1&fqa=0&fqv=Jain,,,&fqf=TX,CR,BO,SO\">Here</a>
318is an example.\n
319
320<p>
321The format statement for the author browser (<i>CL2VList</i>) is more
322complex. The <i>AZCompactList</i> classifier generates a tree whose nodes are
323either leaf nodes, representing documents, or internal nodes. A metadata item
324called <i>numleafdocs</i> gives the total number of documents below an internal
325node. This format statement checks whether numleafdocs exists. If so the node
326must be an internal node, in which case the node is labeled by its
327<i>Title</i>. But beware: this classifier is generated on <i>Author</i>
328metadata, so its title -- the title of the classifier -- is actually the author\'s
329name! This means that the bookshelf nodes
330<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">here</a> are labeled by author\'s name.
331The leaf nodes, however, are labeled the same way as documents (i.e. references)
332are in the search results list.\n
333
334<p>
335The documents themselves (here is an
336<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">example</a>)
337are generated by two format statements, one (a long one)
338called <i>DocumentHeading</i>, and another called <i>DocumentText</i>. The
339<i>DocumentHeading</i>, which is the top two-thirds of the page, contains the
340document\'s <i>Title</i> followed by a table that gives all the metadata
341elements that the BibTeX plugin can generate. The role of all the <i>If</i>
342statements in the <a href=\"_httpcollection_/etc/collect.cfg\"
343target=collect.cfg>configuration file</a> is to determine which elements are
344defined.\n
345
346<p>
347The <i>DocumentText</i> shows the BibTeX version of the reference. However,
348when the document is displayed initially, only a hyperlink reading <i>Show
349BibTex Record</i> appears -- this corresponds to the last part (that is, the
350\"else\" part) of the <i>If</i> statement in <i>DocumentText</i>. When this
351hyperlink is clicked, the <i>href</i> goes to the same URL but with
352<i>showrecord=1</i>, which generates a page like <a
353href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_&showrecord=1\">this</a>.
354The <i>If</i> test succeeds, which shows the <i>Text</i> of the document. With
355the BibTeX plugin, the text of a document is its unadulterated BibTeX record.\n
356"
357
358# -- French text ----------------
359collectionmeta collectionextra [l=fr] "
360Cette collection qui contient des entrées _about:numdocs_ BibTex, est working papers éditées de 1997 à 2006
361au <a href=\"http://www.cs.waikato.ac.nz/\">Département d\'informatique</a>, <a href=\"http://www.waikato.ac.nz/\">Université de Waikato</a>.\n
362
363<h3>Comment marche la collection?</h3>
364
365<p>
366Le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de
367configuration de la collection</a> commence par la spécification
368<i>groupsize 200</i>. Cela rassemble 200 documents dans un seul fichier d'archive.
369Les collections de bibliographies ont généralement beaucoup de petits documents; le fait de les regrouper empêche le gonflement des structures de fichiers internes et l\'occupation inutile d\'espace disque.
370
371<p>
372En plus des plugiciels standards, cette collection utilise <i>BibTexPlugin</i>, qui traite les références écrites au format BibTex (bien connu des informaticiens). Deux options ont été définies pour le plugiciel BibTexPlugin : <i>-OIDtype assigned -OIDmetadata Number</i>. Cela signifie que l'élément de métadonnées \"Number\" sera utilisé comme identifiant de l'enregistrement, à la place de l'identifiant de hachage défini par défaut dans Greenstone. Ces options sont utilisables avec tous les plugiciels.
373
374<p>
375La recherche par champ à travers une interface basée sur un formulaire est sélectionnée par <i>format SearchTypes \"form,plain\"</i> dans le fichier de configuration. En fait, cette collection utilise <i>format SearchTypes \"form,plain\"</i> qui contient aussi un index de recherche de texte simple textuelle (puisque <i>form</i> vient en premier, c\'est l\'interface par defaut; vous accédez à la recherche <i>plain</i> a travers la page <i>Préférences</i>).
376
377<p>
378L'option <i>buildtype</i> montre que c'est le moteur de recherche par défaut <i>mgpp</i> qui sera utilisé. La ligne <i>indexes</i> définit les index pour \"text\", et \"metadata\". Dans ce cas, \"text\" sera l'enregistrement BibTex dans son format original. \"metadata\" est un mot-clé particulier qui signifie qu'un index sera construit pour toutes les métadonnées présentes dans la collection.
379Ainsi, quand les menus déroulants \"Field\" dans la <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1\">page recherche</a> sont
380sélectionnés, ils montrent <i>Full records</i> suivi par une entrée pour
381chaque élément de méta-donnée. Une méta-donnée <i>collectionmeta</i> de niveau collection peut être spécifiée pour tout index pour déterminer
382ce qui est appele dans le menu (exceptÚ pour <i>metadata</i> qui
383produit beaucoup d\'éléments de menu). Dans ce cas,le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier
384de configuration</a> spécifie que l\'index du texte devrait être
385appele \"full records\" parcequ\'il contient l\'enregistrement bibliographique
386original.
387<p>
388Un mot clé supplémentaire, \"allfields\", peut aussi être utilisé dans la ligne <i>indexers</i>, pour préciser qu'une recherche combinée sur tous les index est disponible. <p> Les lignes <i>levels</i> ne précisent qu'un niveau document, puisque les notices bibliographiques n'ont pas de structure interne.
389<p>
390Cette collection contient les \"browsers\" <i>Title</i>, <i>Author</i>,et <i>Date</i> ainsi qu\'un type special d\'index de phrase appele \"Phind\".
391Le classificateur <i>AZCompactList</i> utilisé pour le browser <i>Author</i> est comme <i>AZList</i> mais produit un rayon pour les éléments dupliqués comme montré <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">ici</a>. Le plugin BibTEX enregistre chaque auteur comme méta-donnée <i>Author</i>; il met aussi une liste contenant tous les auteurs dans l\'élément de méta-donnée <i>Creator</i>.
392Par conséquent, le classificateur <i>AZCompactList</i> est basé sur <i>Author</i>. Cependant, Greenstone a un bouton standard appelé <i>authors</i> dont le nom (qui prête à confusion) est \"Creator\", ainsi le nom
393de ce bouton est spécifié pour le classificateur.
394
395<p>
396Le classificateur \"Phind\" crée un index d\'expression comme <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL4\">ceci</a>. Il contient une liste d\'expressions qu\'on peut parcourir extraite du materiel spécifié dans l\'argument <i>text</i> de la ligne
397<i>Classify Phind</i> du <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration</a>.
398Ici, la spécification est :
399<pre>
400document:Title,document:Creator,document:Booktitle,document:Publisher
401</pre>
402
403-- c\'est le titre, la liste des auteurs, le titre du travail
404recueilli (s\'il y en a) dans lequel chaque article apparaît,
405et l\'éditeur. Il faut noter que cette spécification suit la
406convention <i>mg</i> avec <i>level:field</i>. Les indexes <i>Phind</i>
407sont généralement plus basés sur le texte entier de la collection,
408en utilisant la spécification <i>document:text</i>.
409
410<p>
411La meilleure façon de voir ce que fait Phind est de jouer
412avec cet index. Vous tapez un mot dans la boîte recherche,
413cliquez <i>Search</i>, et une liste d\'expressions contenant ce terme
414apparaît en haut du tableau. Cliquez sur une de ces expressions
415et une liste d\'expressions contenant cette <i>expression</i> apparaît
416au bas du tableau. Vous pouvez continuer à faire ceci en
417allongeant l\'expression de plus en plus. Ces listes peuvent
418être allongees en utilisant le bouton <i>Get more phrases</i>.
419A la fin de la liste d\'expression une liste de document
420contenant cette expression apparaît dans un texte bleu, vous
421pouvez allonger cette liste en cliquant sur Get <i>more documents</i>.
422
423<p>
424Le format de déclaration pour la liste de résultats de recherche
425et le browser de titre sont tous les deux déterminés par la spécification <i>VList</i>. Elle donne une icÎne de document qui renvoie sur le document lui-même (qui est la référence complÚte dans cette collection);
426le titre en gras; la méta-donnée <i>Creator</i> s\'il y en a, sinon la méta-donnée <i>Editor</i>; et la méta-donnée <i>Month, Year</i> s\'il y en a. En <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&r=1&hs=1&fqa=0&fqv=Jain,,,&fqf=TX,CR,BO,SO\">voici</a> un exemple.
427
428<p>
429Le format de déclaration pour le browser auteur (<i>CL2VList</i>) est plus
430complexe. Le classificateur <i>AZCompactList</i> donne un arbre dont les nœuds
431sont soit des nœuds de feuilles représentant des documents ou des
432nœuds internes. Un élément de de méta-donnée appelé <i>numleafdocs</i> donne le nombre total de documents en dessous d\'un nœud interne. La déclaration de
433format vérifie si numleafdocs existe. Si le nœud doit être un nœud
434interne, dans ce cas le nœud est catalogue par son <i>Title</i>.
435Mais attention : ce classificateur est produit sur la méta-donnée <i>Author</i>, donc son titre -- le titre du classificateur -- est en fait le nom de l\'auteur! Ceci signifie que les nœuds des rayons sont catalogués <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">ici</a> suivant le nom de l\'auteur. Les nœuds d\'extrémité sont catalogués dans la liste des résultats de recherche de la même façon que les documents (c.-à-d. les références) .
436
437<p>
438Les documents eux-mêmes (voici un <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">exemple</a>) sont produits par
439deux déclarations de format, une (longue celle-la) appelée <i>DocumentHeading</i>, et une autre appelée <i>DocumentText</i>. Le <i>Document Heading</i>, qui est représente les deux tiers supérieurs de la page contient le <i>Titre</i> du document suivi d\'une table qui
440donne tous les éléments de méta-donnée que le plugin BibTex peut générer.
441Le rÃŽle de toutes les instructions <i>If</i> dans le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de
442configuration</a> est de déterminer les éléments définis.
443
444<p>
445Le <i>DocumentText</i> montre la version BibTex de la référence.
446Cependant, quand le document est affiché la premiÚre fois, seul
447le lien <i>ShowBibtexRecord</i> apparaît --- ceci correspond à la derniÚre partie (c\'est la partie \"else\") de l\'instruction <i>If</i> dans <i>DocumentText</i>. Quand le lien est cliqué, <i>href</i> va vers la même URL mais avec <i>showrecord=1</i>, qui génÚre une page comme <a
448href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_&showrecord=1\">celle-ci</a>. Le test <i>If</i> marche, ce qui affiche le <i>Text</i> du document. Avec le plugin BibTex, le texte d\'un document est son enregistrement BibTEX pur.
449"
450
451# -- Spanish text ----------------
452collectionmeta collectionextra [l=es] "
453Esta colección contiene _about:numdocs_ registros de BibTeX y ha sido creada a partir de papers de trabajos publicados entre 1997 y 2006 por el <a href=\"http://www.cs.waikato.ac.nz/\">Departmento de Ciencias de la Computación</a>, <a href=\"http://www.waikato.ac.nz/\">de la Universidad de Waikato</a>.\n
454
455<h3>Cómo trabaja esta colección</h3>
456<p>
457El <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración de la colección</a> empieza con la especificación <i>groupsize 200</i>. Esto agrupa 200 documentos dentro de un único archivo. Por lo general las colecciones bibliográficas tienen muchos documentos pequeños y al agruparlos se evita que las estructuras de archivos internos de Greenstone crezcan demasiado y ocupen más espacio del necesario.
458<p>
459Además de los plugins estándar, esta colección utiliza <i>BibTexPlugin</i>,
460el cual procesa referencias en formato BibTeX (bien conocido entre los científicos). Se han fijado dos opciones para BibTexPlugin:
461<i>-OIDtype assigned -OIDmetadata Number</i>. Esto significa que el elemento de metadato \"Number\" se usará como identificador de registro, en lugar de los identificadores hash de Greenstone. Estas opciones están disponibles para todos los plugins.\n
462
463<p>
464La búsqueda por campos con una interfaz basada en formularios se habilita mediante la sentencia <i>format SearchTypes \"form,plain\"</i> en el archivo de configuración. De hecho, esta colección también utiliza la forma simple de búsqueda. Dado que <i>form</i> aparece primero es la forma predeterminada de búsqueda. La forma simple se puede seleccionar por medio de la página de <i>Preferencias</i>.
465
466<p>
467La opción <i>buildtype</i> muestra que el motor de búsqueda utilizado por defecto es el <i>mgpp</i>. La línea <i>indexes</i> especifica los índices \"text\", y \"metadata\". En este caso, \"text\" será el registro original BibTeX. \"metadata\" es una clave especial que significa que debe construirse un índice por cada metadato encontrado en la colección.
468
469Así, cuando los menúes de \"campo\" se despliegan en la <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1\">página de búsqueda</a>, muestran el <i>registro completo</i> seguido de una entrada para cada elemento del metadato. El metadato a nivel de colección <i>collectionmeta</i> se puede especificar para cualquier índice con el fin de determinar lo que se selecciona en el menú (excepto metadato, que produce varios ítems). En este caso el <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a> especifica que el índice de texto debería llamarse \"registro completo\", debido a que contiene el registro bibliográfico original.
470<p>
471Una clave adicional, \"allfields\", también puede usarse en la línea <i>indexes</i>, especificando una búsqueda combinada sobre todos los índices disponibles.<p> La línea <i>levels</i> indica solamente el nivel de documento, ya que los registros bibliográficos no poseen una estructura interna.
472<p>
473Esta colección contiene clasificadores por <i>Título</i>, <i>Autor</i> y <i>Fecha</i>, así como un tipo especial de índice de frases llamado \"Phind\". El clasificador <i>AZCompactList</i> que se usa para el clasificador de <i>Autor</i> es como <i>AZList</i>, pero genera un estante para los ítems duplicados tal como se muestra <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">aquí</a>. El plugin BibTeX registra a cada autor como metadato <i>Author</i>. También coloca una lista de todos los autores en el elemento del metadato <i>Creator</i>. Como resultado de ello, el clasificador <i>AZCompactList</i> se basa en el <i>Author</i>. Sin embargo, Greenstone tiene un botón estándar que lee los <i>autores</i> y cuyo nombre es (de manera un tanto confusa) \"Creator\", por lo que el nombre de este botón ha sido especificado para el clasificador.
474<p>
475
476El clasificador \"Phind\" crea un índice de frases como <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL4\">este</a>, el cual contiene una lista navegable de frases extraídas del material especificado en el argumento <i>text</i> de la línea <i>classify Phind</i> en el <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a>. Aquí la especificación es
477<p>
478
479<pre>
480document:Title,document:Creator,document:Booktitle,document:Publisher
481</pre>\n
482
483<p>
484
485es decir, el título, la lista de autores, el título del trabajo (si es que hay alguno) en el que aparece este ítem y el editor. Recuerde que esta especificación sigue la convención <i>mg</i> con <i>level:field</i>. Los índices <i>Phind</i> se basan más comúnmente en el texto completo de una colección por medio de la especificación <i>document:text</i>.
486<p>
487
488La mejor forma de ver lo que hace Phind es practicar con este índice. Escriba una palabra en el cuadro de búsqueda, haga click en <i>Buscar</i> y una lista de frases con dicho término aparecerá en el panel de la parte superior. Haga click en una de estas frases y una lista de frases que contengan dicha <i>frase</i> aparecerá en el panel de la parte inferior. Usted puede continuar extendiendo la frase más y más. Las listas se pueden alargar utilizando el botón <i>obtener más frases</i>. Al final de la lista de frases aparece una lista de los documentos que contienen dicha frase en azul. Usted puede extender esta lista haciendo click en <i>más documentos</i>.
489<p>
490
491Los cadenas de formateo para la lista de resultados de la búsqueda y el clasificador por títulos se determinan por medio de la especificación <i>VList</i>. Ésta proporciona un icono de documento que lo vincula con el documento mismo (el cual es en esta colección la referencia completa), el título en negritas, el metadato <i>Creator</i> si es que hay alguno o en su defecto el metadato <i>Editor</i>, y el metadato de <i>Month, Year</i> si es que hay alguno. He <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&r=1&hs=1&fqa=0&fqv=Jain,,,&fqf=TX,CR,BO,SO\">aquí</a> un ejemplo.
492<p>
493
494La cadena de formateo para el explorador por autor (<i>CL2VList</i>) es más compleja. El clasificador AZCompactList genera un árbol cuyos nodos son hojas representando documentos o nodos internos. Un ítem de metadato llamado <i>numleafdocs</i> proporciona el número total de documentos debajo de un nodo interno. Este enunciado de formato comprueba si numleafdocs existe. En caso afirmativo se trata de un nodo interno, en cuyo caso el nodo se etiquetará por su <i>Título</i>. ¡Pero cuidado! Este clasificador se genera en el metadato <i>Autor</i>, por lo que su título -- el título del clasificador -- es realmente el nombre del autor, lo que significa que los nodos del estante que están <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">aquí</a> se etiquetan de acuerdo al nombre del autor. Las hojas se etiquetan de la misma manera que los documentos (es decir, referencias) en la lista de resultados de la búsqueda.
495<p>
496
497Los documentos (he aquí un <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">ejemplo</a>) se generan por medio de dos cadenas de formato, una llamado <i>DocumentHeading</i>, que es bastante larga, y otra llamada <i>DocumentText</i>. DocumentHeading ocupa los dos tercios superiores de la página y contiene el <i>Título</i> del documento seguido por una tabla de todos los elementos del metadato que el plugin BibTeX puede generar. El papel de todos los enunciados <i>If</i> en el <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a> es determinar los elementos que se definen.
498<p>
499
500<i>DocumentText</i> muestra la versión BibTeX de la referencia. Sin embargo, cuando el documento se despliega por primera vez únicamente aparece un hipervínculo llamado <i>Mostrar Registro BibTex</i>. Este corresponde a la última parte (es decir, a la parte \"adicional\") del enunciado <i>If</i> en <i>DocumentText</i>. Cuando se hace click en este hipervínculo la <i>href</i> va al mismo URL pero con showrecord=1, que genera una página como <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_&showrecord=1\">ésta</a>. A continuación sigue la prueba <i>If</i>, que muestra el <i>Texto</i> del documento. Con el plugin BibTeX el texto de un documento es su registro BibTeX no adulterado.
501"
502
503# -- Russian text ----------------
504collectionmeta collectionextra [l=ru] "
505Эта кПллекцОя, кПтПрая сПЎержОт элеЌеМты запОсО _about:numdocs_ BibTeX, is a collection of working papers published from 1997 to 2006
506at <a href=\"http://www.cs.waikato.ac.nz/\">Department of Computer Science</a>,
507<a href=\"http://www.waikato.ac.nz/\">the University of Waikato</a>.\n.
508
509<p>
510
511<h3>Как рабПтает кПллекцОя</h3>\n
512
513<p>
514
515Ѐайл кПМфОгурацОО кПллекцОО МачОМается с ПпреЎелеМОя <i>groupsize 200</i>, **кПтПрПе ПбъеЎОМяет ЎПкуЌеМты в группы пП 200**. БОблОПграфОческОе кПллекцОО ПбычМП сПстПят Оз бПльшПгП чОсла МебПльшОх
516 ЎПкуЌеМтПв, О группОрПвка Ох
517 вЌесте преЎПтвращает вМутреММОе файлПвые структуры Greenstone Пт увелОчеМОя ПбъёЌа О заМятОя бПльшегП ЎОскПвПгП прПстраМства, чеЌ МеПбх
518ПЎОЌП.
519
520<p>
521<!-- _text1_ -->
522Apart from the standard plugins, this collection uses <i>BibTexPlugin</i>,
523which processes references in the BibTeX format (well known to computer
524scientists). Two options have been set for BibTexPlugin:
525<i>-OIDtype assigned -OIDmetadata Number</i>. This means the metadata
526element \"Number\" will be used as the record identifier, instead of
527Greenstone's default hash identifiers. These options are available for
528all plugins.\n
529
530<p>
531<!-- _text5_ -->
532Fielded searching, with a form-based interface, is selected by <i>format SearchTypes \"form,plain\"
533</i> in the configuration file. In fact, a plain textual full-text search
534index is included in this collection as well (since <i>form</i> comes first,
535it is the default interface; you reach the <i>plain</i> search through
536the <i>Preferences</i> page).\n
537
538<p>
539<!-- _text3_-->
540The <i>buildtype</i> option shows that the default search engine <i>mgpp</i> is
541used. The <i>indexes</i> line specifies indexes for \"text\", and \"metadata\". In this case, \"text\" will be the original BibTeX record. \"metadata\" is a special keyword signifying that an index should be built for any metadata item found in the collection.
542
543<p>
544ТакОЌ ПбразПЌ, кПгЎа Ма пПОскПвПй страМОце пПявляется спускающееся ЌеМю \"пПле\", в МёЌ пПказаМ пПлМый спОсПк, сПпрПвПжЎающОй прО
545вх
546ПЎе Ўля кажЎПгП элеЌеМта ЌетаЎаММых
547. МетаЎаММые Ма урПвМе кПллекцОО <i>collectionmeta</i> ЌПгут быть заЎаМы Ўля любПгП ОМЎекса, чтПбы ПпреЎелОть, чтП этП ПзМачает в ЌеМю (за ОсключеМОеЌ <i>metadata</i>, кПтПрПе сПзЎает ЌМПгП пуМктПв ЌеМю). В этПЌ случае <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>кПМфОгурацОПММый файл</a> ПпреЎеляет, чтП текстПвый ОМЎекс ЎПлжеМ быть МазваМ \"<i>full record</i>\", пПтПЌу чтП ПМа сПЎержОт ПрОгОМальМую бОблОПграфОческую запОсь.
548
549<p>
550<!-- _text4_ -->
551An additional keyword, \"allfields\", could also be used in the <i>indexers</i> line, specifying that combined searching over all indexes should be available.
552<p>
553The <i>levels</i> lines specifies only document level, as bibliographic records don't have internal structure.
554
555<p>
556Эта кПллекцОя сПЎержОт прПграЌЌы прПсЌПтра пП <i>НазваМОю</i>, <i>АвтПру О Дате</i>, О спецОальМый вОЎ ОМЎекса фразы, МазываеЌый \"<i>Phind</i>\". КлассОфОкатПр <i>AZCompactList</i>, ОспПльзуеЌый Ўля прПсЌПтра пП <i>АвтПру</i>, пПх
557Пж <i>Ма AZList</i>, МП геМерОрует кМОжМую пПлку Ўля ЎублОкатПв, как пПказаМП зЎесь. ПлагОМ BibTeX сПставляет запОсь Ўля кажЎПгП автПра пП ЌетаЎаММыЌ <i>Author</i>; ПМ также пПЌещает спОсПк, сПЎержащОй перечеМь всех
558 автПрПв, в элеЌеМт ЌетаЎаММых
559 <i>СПзЎатель</i> (<i>Creator</i>). ТакОЌ ПбразПЌ, классОфОкатПр <i>AZCompactList</i> базОруется Ма пПле <i>Author</i>. ОЎМакП в Greenstone ОЌеется стаМЎартМая кМПпка, чОтающаяся как <i>АвтПры</i>, чье МаОЌеМПваМОе ПтЎалеММП сППтветствует <i>Creator</i>, так чтП МазваМОе этПй кМПпкО ОспПльзПваМП Ўля классОфОкатПра.
560
561<p>
562
563КлассОфОкатПр \"Phind\" сПзЎает ОМЎекс фразы пПЎПбМП <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL4\">пПказаММПЌу зЎесь</a>. ОМ сПЎержОт спОсПк ЎПступМых
564 Ўля прПсЌПтра фраз, ОзвлечеММых
565 Оз ЌатерОала, указаММПгП в аргуЌеМте <i>text</i> стрПкО <i>classify</i> в <i>Phind</i> кПМфОгурацОПММПгП файла. ОпреЎелеМОяЌО зЎесь являются
566
567<p>
568<pre>
569document:Title,document:Creator,document:Booktitle,document:Publisher
570</pre>\n
571<p>
572
573(<i>ЎПкуЌеМт:НазваМОе, ЎПкуЌеМт:СПзЎатель, ЎПкуЌеМт:ЗагПлПвПк кМОгО, ЎПкуЌеМт: ИзЎатель</i>)
574
575тП есть МазваМОе, спОсПк автПрПв, МазваМОе любПгП сбПрМОка рабПт, в кПтПрПЌ этПт пуМкт пПявляется, О ОзЎатель. ОбратОте вМОЌаМОе, чтП этО ПпреЎелеМОя сППтветствуют ПбычМПЌу <i>mg</i> Ма урПвМе:пПле (<i>level:field</i>). ИМЎексы чаще базОруются Ма ПсМПве пПлМПтекстПвПй кПллекцОО, ОспПльзуя спецОфОкацОю <i>ЎПкуЌеМта:text</i>.
576
577<p>
578
579ᅵучшОй спПсПб увОЎеть, чтП <i>Phind</i> Ўелает, сПстПОт в тПЌ, чтПбы пПОграть с этОЌ ОМЎексПЌ. Вы МапечаталО слПвП в пПле пПОска, щелкМулО <i>ППОск</i>, О спОсПк фраз, сПЎержащОх
580 этПт терЌОМ, пПявляется Ма верх
581Мей паМелО. ЩелкМОте Ма ПЎМПй Оз этОх
582 фраз, О спОсПк, сПЎержащОй эту фразу, пПявляется Ма МОжМей паМелО. Вы ЌПжете прПЎПлжать Ўелать этП, расшОряя фразу все бПлее. СпОскО ЌПгут быть увелОчеМы, ОспПльзуя кМПпку <i>get more phrases</i>. В кПМце спОска фраз пПявляется спОсПк ЎПкуЌеМтПв, сПЎержащОх
583 эту фразу, ПкрашеММый в сОМОй цвет. Вы ЌПжете расшОрОть этПт спОсПк путеЌ щелчка Ма <i>more documents</i>.
584
585<p>
586
587ОператПры фПрЌата Ўля спОска результатПв пПОска О МаОЌеМПваМОе браузера Пба ПпреЎелеМы в спецОфОкацОО <i>VList</i>. ОМО сПзЎают ОзПбражеМОе (ОкПМку) ЎПкуЌеМта, кПтПрПе связывается с саЌОЌ ЎПкуЌеМтПЌ (кПтПрый в ЎаММПй кПллекцОО является пПлМПй ссылкПй); <i>НазваМОе</i> выЎелеМП пПлужОрМыЌ шрОфтПЌ; ЌетаЎаММые <i>Creator??СПзЎателя</i> ЎПкуЌеМта, еслО такПвПй ОЌеется, ОлО же ЌетаЎаММые <i>Editor??ИзЎателя</i> О ЌетаЎаММые <i>Month, YearДаты</i>, еслО ПМа существует. <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&r=1&hs=1&fqa=0&fqv=Jain,,,&fqf=TX,CR,BO,SO\">ЗЎесь</a> прОвПЎОтся прОЌер.
588
589<p>
590
591ОператПр фПрЌата Ўля пПказа автПра (<i>CL2Vlist</i>) является бПлее слПжМыЌ. КлассОфОкатПр <i>AZCompactList</i> геМерОрует ЎеревП, узлы кПтПрПгП являются ОлО узлаЌО спОска, преЎставляя ЎПкуЌеМты, ОлО же вМутреММОЌО узлаЌО. ПуМкт ЌетаЎаММых
592, МазываеЌый <i>numleafdocs</i>, Ўает Пбщее кПлОчествП ЎПкуЌеМтПв, распПлПжеММых
593 МОже вМутреММегП узла. ЭтПт ПператПр фПрЌата прПверяет, существуют лО чОслП лОстПв ЎПкуЌеМтПв <i>numleafdocs</i>. ЕслО этП так, тП узел ЎПлжеМ быть вМутреММОЌ узлПЌ. В этПЌ случае ОЌеет свПю Ќетку <i>НазваМОе</i>. НП ОЌейте в вОЎу, чтП этПт классОфОкатПр прПОзвеЎеМ Ма ПсМПве ЌетаЎаММых
594 <i>АвтПра</i>, так чтП егП МазваМОе - МазваМОе классОфОкатПра -- является фактОческО ОЌеМеЌ автПра. ЭтП ПзМачает, чтП узлы кМОжМПй пПлкО <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">зЎесь</a> МазваМы ОЌеМеЌ автПра. Узлы лОста, ПЎМакП, пПЌечеМы такОЌ же ПбразПЌ, как ЎПкуЌеМты (тП есть ссылкО Ма МОх
595), Мах
596ПЎящОеся в спОске результатПв пПОска.
597
598<p>
599
600СаЌО же ДПкуЌеМты (зЎесь ОЌеется <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">прОЌер</a>), геМерОруются ЎвуЌя ПператПраЌО фПрЌата, ПЎОМ Оз кПтПрых
601 (ЎлОММый) МазваМ <i>DocumentHeading</i>, а ЎругПй - <i>DocumentText</i>. <i>DocumentHeading</i>, кПтПрый сПставляет верх
602МОе Ўве третО страМОцы, сПЎержОт <i>НазваМОе</i> ЎПкуЌеМта, сПпрПвПжЎаеЌПе таблОцей, кПтПрая сПЎержОт все элеЌеМты ЌетаЎаММых
603, кПтПрые плагОМ BibTex ЌПжет геМерОрПвать. НазМачеМОе всех
604 ПператПрПв <i>If</i> в кПМфОгурацОПММПЌ файле сПстПОт в тПЌ, чтПбы решОть, какОе элеЌеМты ПпреЎелеМы.
605
606<p>
607
608<i>DocumentText</i> пПказывает BibTex-версОю ссылкО. ОЎМакП, кПгЎа ЎПкуЌеМт пПказаМ в первый раз, пПявляется тПлькП гОперссылка <i>Show BibTex Record</i>. ЭтП сППтветствует пПслеЎМей частО, тП есть зМачеМОю \"ЎругПй\" ПператПра <i>If</i> в <i>DocumentText</i>. ЕслО щелкМуть Ма этПй гОперссылке, <i>href</i> ОЎет к тПЌу же саЌПЌу URL, МП с <i>Showrecord=1</i>, кПтПрый геМерОрует страМОцу пПЎПбМП этПй. ППслеЎующОй тест <i>If</i> пПказывает <i>Текст</i> ЎПкуЌеМта. ПлагОМ <i>BibTeX</i> Ўает запОсь текста ЎПкуЌеМта в фПрЌате <i>BibTeX</i>.
609"
610
611# -- Simplified Chinese text ----------------
612collectionmeta collectionextra [l=zh] "
613本銆藏包
614含了_about:numdocs_条BibTeX记圕是䞀䞪由<a href=\"http://www.waikato.ac.nz\">怀卡托倧孊</a>
615<a href=\"http://www.cs.waikato.ac.nz\">计算机系</a>圚1997至2006幎闎发衚的工䜜论文组成。\n
616
617<h3>本銆藏劂䜕工䜜</h3>\n
618
619<p>本銆藏的<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>é…
620çœ®æ–‡ä»¶</a>的匀倎定义了<i>groupsize 200</i>。
621这䞪定义决定了每200䞪文档将被组合成䞀䞪存傚文档。文献銆藏通垞由埈倚埈小的文档组成而将它们组合起来可以避å…
622Greenstone的内
623郚
624文件结构过于庞杂以及占甚䞍必
625芁的磁盘空闎。\n
626
627<p>圚标准的插件之倖本銆藏䜿甚了<i>BibTexPlugin</i>这䞪插件倄理BibTeX栌匏这是计算机孊家熟悉的栌匏的参考文献。
628BibTexPlugin讟眮了䞀䞪参数<i>-OIDtype assigned -OIDmetadata Number</i>。这意味着å…
629ƒæ•°æ®å…
630ƒçŽ \"Number\"数字将被甚䜜记
631圕的标识笊而䞍是Greenstone猺省的哈垌hash标识笊。所有插件郜有这些参数。\n
632
633<p>基于衚栌界面的字段搜玢是通过é…
634çœ®æ–‡ä»¶äž­çš„<i>format SearchTypes \"form,plain\"</i>讟定。事实䞊这䞪銆藏还包
635含了䞀䞪å…
636šæ–‡æœ¬çš„
637å…
638šæ–‡æœçŽ¢çŽ¢åŒ•ïŒˆç”±äºŽ<i>form</i>圚å…
639ˆïŒŒåŸºäºŽè¡šæ Œçš„界面是猺省的界面䜠可通过<i>偏奜</i>页面蜬换到<i>plain</i>普通搜玢界面。\n
640
641<p><i>buildtype</i>选项星瀺本銆藏䜿甚的是猺省的<i>mgpp</i>搜玢匕擎。<i>indexes</i>行指定了本銆藏的玢匕\"text\"å…
642šæ–‡ïŒ‰
643以及\"metadata\"å…
644ƒæ•°æ®ïŒ‰ã€‚圚这种情
645况䞋\"text\"å…
646šæ–‡ïŒ‰æŒ‡åŽŸå§‹çš„BibTeX记圕。\"metadata\"å…
647ƒæ•°æ®ïŒ‰æ˜¯äž€äžªç‰¹æ®Šçš„指定诎明䞺所有本
648銆藏䞭包
649含的å…
650ƒæ•°æ®åˆ›å»ºäž€äžªçŽ¢åŒ•ã€‚因歀圓䞋拉<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1\">搜玢页面</a>侭的\"字段\"
651菜单时他们将星瀺<i>所有记圕</i>随后是每䞪å…
652ƒæ•°æ®å…
653ƒçŽ ã€‚銆藏级别的å…
654ƒæ•°æ®<i>collectionmeta</i>可被甚于定义玢匕圚菜单项䞭的星瀺
655名字陀了<i>metadata</i>å…
656ƒæ•°æ®ïŒ‰ïŒŒå› äžºå®ƒå°†ç”Ÿæˆå€šäžªèœå•é¡¹ïŒ‰ã€‚
657圚这种情
658况䞋<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>é…
659çœ®æ–‡ä»¶</a>指定文本玢匕应被称䜜\"所有记圕\"因䞺它包
660含
661原始的文献记圕。\n
662
663<p>及䞀䞪å…
664³é”®è¯ïŒŒ\"allfields\"å…
665šéƒšå­—段同样可被甚圚<i>indexes</i>行䞭歀时诎明可以组合所有玢匕进行搜玢。
666
667<p><i>levels</i>级别只指定了文档级别因䞺文献记圕并没有内
668郚结构。
669
670<p>本銆藏包
671含<i>题名</i><i>䜜者
672</i>以及<i>日期</i>浏览噚以及䞀䞪特殊的词组玢匕称䜜\"Phind\"。
673<i>AZCompactList</i>分类噚被甚䜜<i>䜜者
674</i>浏览噚并䞎<i>AZList</i>类䌌䜆䌚䞺重倍条目创建䞀䞪乊架
675劂<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">这里</a>所瀺。BibTeX插件甚<i>䜜者
676</i>å…
677ƒçŽ æ¥è®°åœ•æ¯äžªäœœè€…
678
679所有䜜者
680的列衚也被记圕到<i>著者
681</i>å…
682ƒæ•°æ®å…
683ƒçŽ äž­ã€‚å› æ­€<i>AZCompactList</i>分类噚是构建圚<i>䜜者
684</i>å…
685ƒæ•°æ®äžŠçš„。然而
686Greenstone䞭有䞀䞪名叫<i>䜜者
687</i>的标准按钮这䞪按钮的名字也是\"䜜者
688\"可胜䌚匕起混淆因歀该分类噚将䜿甚这䞪按钮名。\n
689
690<p>\"Phind\"分类噚创建䞀䞪词组玢匕劂<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL4\">这里</a>所瀺。它包
691括䞀䞪
692可浏览的词组列衚该列衚包
693括的词组抜取自<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>é…
694çœ®æ–‡ä»¶</a>äž­
695<i>classify Phind</i>行䞭的<i>text</i>参数所指定的文档。
696
697这里的讟定是\n
698<pre>
699 document:Title,document:Creator,document:Booktitle,\n
700 document:Publisher
701</pre>\n
702
703——也就是诎题名䜜者
704列衚记圕的合集题名劂果有的话以及出版商。请泚意这里的讟定遵埪<i>mg</i>栌匏即
705<i>level:field</i>。<i>Phind</i>玢匕通垞情
706况䞋郜是圚銆藏的所有文本基础䞊创建的甚<i>document:text</i>讟定。\n
707
708<p>芁匄枅
709Phind的功胜最奜的方匏是䜿甚这䞪玢匕。圚搜玢框䞭蟓å…
710¥äž€äžªè¯ïŒŒç‚¹å‡»<i>搜玢</i>然后圚最䞊面的面板䞭将星瀺包
711含该词的
712词组列衚。点击å…
713¶äž­çš„䞀䞪词组然后䞀组包
714含该<i>词组</i>的词组列衚将星瀺圚䞋面的界面䞭。䜠可以继续䞋去继续扩展词组。这䞪列衚
715可以通过<i>获埗曎倚词组</i>按钮进行扩展。圚这䞪词组列衚的最末尟是䞀䞪包
716含该词组的文档列衚并甚蓝色文字星瀺。这䞪文档列衚可通
717过点击<i>获埗曎倚文档</i>来扩展。\n
718
719<p>搜玢结果列衚的栌匏变量以及题名浏览噚郜是由<i>VList</i>讟定的。它生成䞀䞪铟接到文档本身的文档囟标圚本銆藏䞭是完敎的参考
720文献、甚黑䜓星瀺题名、星瀺<i>䜜者
721</i>信息劂果有的话吊则星瀺<i>猖蟑</i>å…
722ƒæ•°æ®ã€<i>幎月</i>å…
723ƒæ•°æ®ïŒˆåŠ‚果有的话。
724<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&r=1&hs=1&fqa=0&fqv=Jain,,,&fqf=TX,CR,BO,SO\">这里</a>
725是䞀䞪䟋子。\n
726
727<p>䜜者
728浏览噚的栌匏变量<i>CL2VList</i>则曎䞺倍杂。<i>AZCompactList</i>分类噚生成䞀䞪树型结构å…
729¶èŠ‚点芁么是代衚文档的
730叶子节点芁么是内
731郚节点。<i>numleafdocs</i>å…
732ƒæ•°æ®é¡¹ç»™å‡ºäº†äž€äžªå†…
733郚节点䞋的文档总数。这䞪栌匏变量将检查numleafdocs是吊存圚。
734劂果存圚的话则该节点必
735然是䞀䞪内
736郚节点圚这种情
737况䞋该节点将被å…
738¶<i>题名</i>所标识。芁泚意的是该分类噚是基于<i>䜜者
739</i>
740å…
741ƒæ•°æ®åˆ›å»ºçš„因歀å…
742¶é¢˜åâ€”—分类噚的题名——实际
743䞊是䜜者
744的名字这意味着乊架节点
745劂<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">这里</a>所瀺将被䜜者
746名字所标识。然而搜玢结果列衚䞭的所有叶子
747节点则郜甚同䞀种方匏标识䞺文档即匕文。\n
748
749<p>文档本身劂<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_\">瀺䟋</a>所瀺则由䞀䞪栌匏参
750数所生成䞀䞪长的称䞺<i>DocumentHeading</i>及䞀䞪称䞺<i>DocumentText</i>。<i>DocumentHeading</i>莟莣页面的䞊
751面䞉分之二郚分包
752括文档的<i>题名</i>接䞋来是给出BibTeX插件可生成的所有å…
753ƒæ•°æ®å…
754ƒçŽ çš„衚栌。
755<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>é…
756çœ®æ–‡ä»¶</a>䞭的所有<i>If</i>参数的䜜甚是甚来刀断哪些å…
757ƒæ•°æ®å…
758ƒçŽ 
759是被定义了的。\n
760
761<p><i>DocumentText</i>星瀺了BibTeX栌匏的匕文。然而圓文档最初被星瀺时只有䞀䞪<i>星瀺BibTex记圕</i>的铟接——这对应于
762<i>DocumentText</i>äž­<i>If</i>条件的最后那郚分即\"å…
763¶ä»–\"郚分。圓点击该铟接时<i>href</i>铟接到同䞀URL䜆<i>showrecord=1</i>
764这将生成䞀䞪类䌌于<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=_sampleoid_&showrecord=1\">这里</a>的页面。
765<i>If</i>刀断成立的话则星瀺文档的<i>文本</i>。甚BibTeX插件文档的文本是指å…
766¶åŽŸå§‹çš„BibTeX记圕。\n
767"
Note: See TracBrowser for help on using the repository browser.