source: documented-example-collections/trunk/bibtex-e/etc/collect.cfg@ 18807

Last change on this file since 18807 was 18807, checked in by kjdon, 15 years ago

removed beta lines and collectionicon lines from collect.cfg files

  • Property svn:executable set to *
File size: 49.6 KB
Line 
1creator [email protected]
2maintainer [email protected]
3public true
4
5buildtype mgpp
6
7groupsize 200
8
9format SearchTypes "form,plain"
10
11indexes text metadata
12
13plugin ZIPPlug
14plugin GAPlug
15plugin MetadataXMLPlug
16plugin BibTexPlug
17plugin ArcPlug
18plugin RecPlug
19
20classify AZList -metadata Title
21
22classify AZCompactList -metadata Author -buttonname Creator
23
24classify DateList -metadata Date
25
26classify Phind -text document:Title,document:Creator,document:Booktitle,document:Publisher
27
28format VList "<td valign=top>[link][icon][/link]</td>
29<td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i>
30{If}{[Year], - [Month] [Year]}</td>"
31
32format HList "[link][highlight][ex.Title][/highlight][/link]"
33
34format DocumentHeading "<H1>[Title]</H1><hr><table>
35{If}{[Creator],<tr><td><b>_AuthoredBy_:</b></td><td>[Creator]</td></tr>}
36{If}{[Title],<tr><td><b>_PaperTitle_:</b></td><td>[Title]</td></tr>}
37{If}{[Editor],<tr><td><b>_Editors_:</b></td><td>[Editor]</td></tr>}
38{If}{[EditorRole],<tr><td><b>_EditorRole_:</b></td><td>[EditorRole]</td></tr>}
39{If}{[Booktitle],<tr><td><b>_BookJournalTitle_:</b></td><td>[Booktitle]</td></tr>}
40{If}{[Journal],<tr><td><b>_In_:</b></td><td>[Journal]</td></tr>}
41{If}{\\"[Volume][Number]\\",<tr><td>}
42{If}{[Number], <b>_Number_:</b></td><td> [Number]}
43{If}{[Volume], <b>_Vol_:</b> [Volume]}
44{If}{\\"[Volume][Number]\\",</td></tr>}
45{If}{[MeetingDate],<tr><td><b>_MeetingDate_:</b></td><td>[MeetingDate]</td></tr>}
46{If}{[MeetingPlace],<tr><td><b>_MeetingPlace_:</b></td><td>[MeetingPlace]</td></tr>}
47{If}{[PublicationPlace],<tr><td><b>_PublicationPlace_:</b></td><td>[PublicationPlace] </td></tr>}
48{If}{[Publisher],<tr><td><b>_Publisher_:</b></td><td>[Publisher]</td></tr>}
49{If}{[Year],<tr><td><b>_PublicationDate_:</b></td><td>[Month] [Year]</td></tr>}
50{If}{[Pages],<tr><td><b>_Pages_:</b></td><td>[Pages]</td></tr>}
51{If}{[DocType],<tr><td><b>_DocType_:</b></td><td>[DocType]</td></tr>}
52{If}{[Location],<tr><td><b>_LocationURL_:</b></td><td>[Location]</td></tr>}
53{If}{[Notes],<tr><td><b>_Annotations_:</b></td><td>[Notes]</td></tr>}
54{If}{[Abstract],<tr><td><b>_Abstract_:</b></td><td>[Abstract]</td></tr>}
55{If}{[Keywords],<tr><td><b>_Keywords_:</b></td><td>[Keywords]</td></tr>}
56</table><hr>"
57
58format DocumentText "{If}{_cgiargshowrecord_,
59<b>_BibTeXrecord_:</b><br/><tt>[Text]</tt><br><center>
60<a href=\'_gwcgi_?e=_cgiarge_&c=_cgiargc_&cl=_cgiargcl_&a=d&d=_cgiargd_\'>_HideBibTeXrecord_</a></center>,
61<center><a href=\'_gwcgi_?e=_cgiarge_&c=_cgiargc_&cl=_cgiargcl_&a=d&d=_cgiargd_&showrecord=1\'>
62_ShowBibTeXrecord_</a></center>}"
63
64format DocumentButtons ""
65
66format CL2VList "<td valign=top>[link][icon][/link]</td>
67<td valign=top>{If}{[numleafdocs],<b>[Title]</b>,
68<b>[Author]</b> ([Creator]) -- <i>[Title]</i>}
69{If}{[Year], - [Month] [Year]}</td>"
70
71format CL3DateList "<td valign=top>[link][icon][/link]</td>
72<td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i></td>"
73
74format DateList "<td>[link][icon][/link]</td>
75<td>[highlight]{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}[/highlight]</td>
76<td>{Or}{[dc.Date],[exp.Date],[ex.Date]}</td>"
77
78
79collectionmeta collectionname [l=en] "Bibliography collection"
80collectionmeta .document:text [l=en] "text"
81collectionmeta .document:Title [l=en] "titles"
82collectionmeta .document:Source [l=en] "filenames"
83collectionmeta .text [l=en] "full records"
84collectionmeta .Title [l=en] "titles"
85collectionmeta .Source [l=en] "filenames"
86
87collectionmeta AuthoredBy [l=en] "Authored By"
88collectionmeta PaperTitle [l=en] "Paper Title"
89collectionmeta Editors [l=en] "Editor(s)"
90collectionmeta EditorRole [l=en] "Editor Role"
91collectionmeta BookJournalTitle [l=en] "Book/Journal Title"
92collectionmeta In [l=en] "In"
93collectionmeta Number [l=en] "Number"
94collectionmeta Vol [l=en] "Vol."
95collectionmeta MeetingDate [l=en] "Meeting Date"
96collectionmeta MeetingPlace [l=en] "Meeting Place"
97collectionmeta PublicationPlace [l=en] "Publication Place"
98collectionmeta Publisher [l=en] "Publisher"
99collectionmeta PublicationDate [l=en] "Publication Date"
100collectionmeta Pages [l=en] "Pages"
101collectionmeta DocType [l=en] "DocType"
102collectionmeta LocationURL [l=en] "Location/URL"
103collectionmeta Annotations [l=en] "Annotations"
104collectionmeta Abstract [l=en] "Abstract"
105collectionmeta Keywords [l=en] "Keywords"
106
107collectionmeta BibTeXrecord [l=en] "BibTeX Record"
108collectionmeta ShowBibTeXrecord [l=en] "Show BibTeX Record"
109collectionmeta HideBibTeXrecord [l=en] "Hide BibTeX Record"
110
111
112# -- French strings ----------------
113collectionmeta collectionname [l=fr] "Collection bibliographie"
114
115collectionmeta .text [l=fr] "enregistrements complets"
116
117collectionmeta AuthoredBy [l=fr] "Nom de l'auteur"
118collectionmeta PaperTitle [l=fr] "Titre de l'article"
119collectionmeta Editors [l=fr] "Editeur(s)"
120collectionmeta EditorRole [l=fr] "RÎle de l'éditeur"
121collectionmeta BookJournalTitle [l=fr] "Titre de Livre/Journal"
122collectionmeta In [l=fr] "Dans"
123collectionmeta Number [l=fr] "Numéro"
124collectionmeta Vol [l=fr] "Vol."
125collectionmeta MeetingDate [l=fr] "Date de rencontre"
126collectionmeta MeetingPlace [l=fr] "Lieu de rencontre"
127collectionmeta PublicationPlace [l=fr] "Lieu de publication"
128collectionmeta Publisher [l=fr] "Editeur"
129collectionmeta PublicationDate [l=fr] "Date de publication"
130collectionmeta Pages [l=fr] "Pages"
131collectionmeta DocType [l=fr] "TypeDocument"
132collectionmeta LocationURL [l=fr] "Emplacement/URL"
133collectionmeta Annotations [l=fr] "Annotations"
134collectionmeta Abstract [l=fr] "Résumé"
135collectionmeta Keywords [l=fr] "Mots-clés"
136
137collectionmeta BibTeXrecord [l=fr] "Enregistrement BibTeX"
138collectionmeta ShowBibTeXrecord [l=fr] "Montrer Enregistrement BibTeX"
139collectionmeta HideBibTeXrecord [l=fr] "Cacher l'enregistrement BibTeX"
140
141
142# -- Spanish strings ----------------
143collectionmeta collectionname [l=es] "Colección bibliográfica"
144
145collectionmeta .text [l=es] "registros completos"
146
147collectionmeta AuthoredBy [l=es] "Autor"
148collectionmeta PaperTitle [l=es] "Título del documento"
149collectionmeta Editors [l=es] "Editor(es)"
150collectionmeta EditorRole [l=es] "Papel del editor"
151collectionmeta BookJournalTitle [l=es] "Título del libro o revista"
152collectionmeta In [l=es] "En"
153collectionmeta Number [l=es] "Número"
154collectionmeta Vol [l=es] "Volumen"
155collectionmeta MeetingDate [l=es] "Fecha de la reunión"
156collectionmeta MeetingPlace [l=es] "Lugar de la reunión"
157collectionmeta PublicationPlace [l=es] "Lugar de la publicación"
158collectionmeta Publisher [l=es] "Editorial"
159collectionmeta PublicationDate [l=es] "Fecha de publicación"
160collectionmeta Pages [l=es] "Páginas"
161collectionmeta DocType [l=es] "Tipo de documento"
162collectionmeta LocationURL [l=es] "Ubicación/URL"
163collectionmeta Annotations [l=es] "Anotaciones"
164collectionmeta Abstract [l=es] "Resumen"
165collectionmeta Keywords [l=es] "Palabras clave"
166
167collectionmeta BibTeXrecord [l=es] "Registro BibTeX"
168collectionmeta ShowBibTeXrecord [l=es] "Mostrar registro BibTeX"
169collectionmeta HideBibTeXrecord [l=es] "Ocultar registro BibTeX"
170
171
172# -- Russian strings ----------------
173collectionmeta collectionname [l=ru] "БОблОПграфОческая кПллекцОя"
174
175collectionmeta .text [l=ru] "ППлМые запОсО"
176
177collectionmeta AuthoredBy [l=ru] "АвтПр"
178collectionmeta PaperTitle [l=ru] "НазваМОе статьО"
179collectionmeta Editors [l=ru] "РеЎактПр (ы)"
180collectionmeta EditorRole [l=ru] "РПль реЎактПра"
181collectionmeta BookJournalTitle [l=ru] "НазваМОе кМОгО/журМала"
182collectionmeta In [l=ru] "В"
183collectionmeta Number [l=ru] "ЧОслП (НПЌер)"
184collectionmeta Vol [l=ru] "ТПЌ"
185collectionmeta MeetingDate [l=ru] "Дата встречО"
186collectionmeta MeetingPlace [l=ru] "МестП встречО"
187collectionmeta PublicationPlace [l=ru] "Дата ПублОкацОО"
188collectionmeta Publisher [l=ru] "ИзЎатель"
189collectionmeta PublicationDate [l=ru] "Дата ПублОкацОО"
190collectionmeta Pages [l=ru] "СтраМОцы"
191collectionmeta DocType [l=ru] "ТОп ЎПкуЌеМта"
192collectionmeta LocationURL [l=ru] "МестПпПлПжеМОе/URL"
193collectionmeta Annotations [l=ru] "АММПтацОО"
194collectionmeta Abstract [l=ru] "РезюЌе"
195collectionmeta Keywords [l=ru] "Ключевые слПва"
196
197collectionmeta BibTeXrecord [l=ru] "ЗапОсь BibTeX"
198collectionmeta ShowBibTeXrecord [l=ru] "ППказать запОсь BibTeX"
199collectionmeta HideBibTeXrecord [l=ru] "Скрытая запОсь BibTeX"
200
201
202# -- English text ----------------
203collectionmeta collectionextra [l=en] "This collection, which contains _about:numdocs_
204 BibTeX entries, is a collection of working papers published from 1997 to 2006
205 at <a href=\"http://www.cs.waikato.ac.nz/\">Department of Computer Science</a>,
206 <a href=\"http://www.waikato.ac.nz/\">the University of Waikato</a>.\n
207
208\n<h3>How the collection works</h3>\n
209
210<p>
211The collection incorporates a
212<a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=q&ct=1&qt=1\">form-based search interface</a> that allows
213fielded searching. In Greenstone, this means that an enhanced search engine
214(called <i>mgpp</i>) must be used, rather than Greenstone\'s default search engine
215(called <i>mg</i>). There is an online
216<a href=\"http://www.greenstone.org/manuals/mgpp_user.pdf\">help document</a>
217for <i>mgpp</i>.
218The collection has an <a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=q&ct=1&qt=1&qf=1\">\"advanced\" form
219search interface</a>, and also a plain
220<a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=q&ct=1&qt=0\">single-field search page</a>. These two variants
221can be selected from the collection\'s
222<a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=p&p=preferences&ct=1&qt=1\">Preferences</a> page.\n
223
224<p>
225The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>collection
226configuration file</a> begins with the specification <i>groupsize 200</i>.
227This groups documents together into groups of 200. Bibliography collections
228typically have many small documents, and grouping them together prevents
229Greenstone\'s internal file structures from becoming bloated and occupying more
230disk space than necessary.\n
231
232<p>
233Apart for the standard ones, the plugins specified for this collection are
234<i>ZIPPlug</i>, which unzips compressed documents and archives, and
235<i>BibTexPlug</i>, which processes references in the BibTeX format (well known
236to computer scientists).\n
237
238<p>
239Fielded searching, with a form-based interface, is selected by <i>format SearchTypes \"form,plain\"
240</i> in the configuration file. In fact, a plain textual full-text search
241index is included in this collection as well (since <i>form</i> comes first,
242it is the default interface; you reach the <i>plain</i> search through
243the <i>Preferences</i> page).\n
244
245<p>
246The <i>buildtype</i> shows that the search engine <i>mgpp</i> is
247used, and for this indexes are specified in a slightly different way. Whereas
248Greenstone normally allows the various indexes to be specified to be
249at different \"levels\" (<i>document</i>, <i>section</i>, <i>paragraph)</i>, with
250<i>mgpp</i> they are all at the same level -- <i>document</i> by default (as in this case). The
251level can be changed using a <i>levels</i> statement. Also, whereas in other
252collections indexes can be specified on text or on any metadata, here there are
253additional possibilities: you can specify indexes on <i>every</i> metadata
254field by using the single word <i>metadata</i>, and an index for all the metadata
255fields together by using the word <i>allfields</i>.\n
256
257<p>
258In this case the <i>indexes</i> line specifies searchable indexes on the full
259text and on every metadata field. Thus when the \"field\" menus in the
260<a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&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
269<p>
270This collection contains <i>Title, Author</i>, and <i>Date</i> browsers, and a
271special kind of phrase index called \"Phind.\" The <i>AZCompactList</i>
272classifier used for the <i>Author</i> browser is like <i>AZList</i> but
273generates a bookshelf for duplicate items as shown <a
274href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=d&cl=CL2\">here</a>. The BibTeX plugin records each
275author as <i>Author</i> metadata; it also puts a list containing all authors
276into the <i>Creator</i> metadata element. Consequently the <i>AZCompactList</i>
277classifier is based on <i>Author</i>. However, Greenstone has a standard button
278reading <i>authors a-z</i> whose name is (confusingly) \"Creator\", so this
279button name is specified for the classifier.\n
280
281<p>
282The \"Phind\" classifier creates a phrase index like
283<a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=d&cl=CL4\">this</a>. It contains a browsable list
284of phrases extracted from the material specified
285in the <i>text</i> argument of the <i>classify Phind</i> line in the
286<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration file</a>.
287Here the specification is\n
288<pre>
289 document:Title,document:Creator,document:Booktitle,\n
290 document:Publisher
291</pre>\n
292
293-- that is, the title, list of authors, title of the collected work (if any) in
294which this item appears, and publisher. Note that this specification follows
295the <i>mg</i> convention with <i>level:field</i>. <i>Phind</i> indexes are more
296usually based on the entire full text of a collection, using the specification
297<i>document:text</i>.\n
298
299<p>
300The best way to see what Phind does is to play with this index. You type a word in
301the search box, click <i>Search</i>, and a list of phrases containing that term
302appears in the top panel. Click on one of these phrases and a list of phrases
303containing that <i>phrase</i> appears in the bottom panel. You can continue
304doing this, expanding the phrase more and more. The lists can be lengthened
305using the <i>get more phrases </i> button. At the end of the list of phrases
306appears a list of documents containing that phrase, in blue text; you can
307lengthen this list by clicking get <i>more documents</i>.\n
308
309<p>
310The format statements for the search results list and the title browser are
311both determined by the <i>VList</i> specification. It gives a document icon
312that links to the document itself (which in this collection is the full
313reference); the title in bold; <i>Creator</i> metadata if there is any,
314otherwise <i>Editor</i> metadata; and <i>Date</i> metadata if there is any.
315<a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=q&ct=1&qt=1&r=1&hs=1&fqa=0&fqv=Jain,,,&fqf=TX,CR,BO,SO\">Here</a>
316is an example.\n
317
318<p>
319The format statement for the author browser (<i>CL2VList</i>) is more
320complex. The <i>AZCompactList</i> classifier generates a tree whose nodes are
321either leaf nodes, representing documents, or internal nodes. A metadata item
322called <i>numleafdocs</i> gives the total number of documents below an internal
323node. This format statement checks whether numleafdocs exists. If so the node
324must be an internal node, in which case the node is labeled by its
325<i>Title</i>. But beware: this classifier is generated on <i>Author</i>
326metadata, so its title -- the title of the classifier -- is actually the author\'s
327name! This means that the bookshelf nodes
328<a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=d&cl=CL2\">here</a> are labeled by author\'s name.
329The leaf nodes, however, are labeled the same way as documents (i.e. references)
330are in the search results list.\n
331
332<p>
333The documents themselves (here is an
334<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=bibliogr&cl=CL1.12&d=HASH019158002a5f5d5ee754c0f4_135\">example</a>)
335are generated by two format statements, one (a long one)
336called <i>DocumentHeading</i>, and another called <i>DocumentText</i>. The
337<i>DocumentHeading</i>, which is the top two-thirds of the page, contains the
338document\'s <i>Title</i> followed by a table that gives all the metadata
339elements that the BibTeX plugin can generate. The role of all the <i>If</i>
340statements in the <a href=\"_httpcollection_/etc/collect.cfg\"
341target=collect.cfg>configuration file</a> is to determine which elements are
342defined.\n
343
344<p>
345The <i>DocumentText</i> shows the BibTeX version of the reference. However,
346when the document is displayed initially, only a hyperlink reading <i>Show
347BibTex Record</i> appears -- this corresponds to the last part (that is, the
348\"else\" part) of the <i>If</i> statement in <i>DocumentText</i>. When this
349hyperlink is clicked, the <i>href</i> goes to the same URL but with
350<i>showrecord=1</i>, which generates a page like <a
351href=\"_gwcgi_?l=_cgiargl_&a=d&c=bibliogr&cl=CL1.12&d=HASH019158002a5f5d5ee754c0f4_135&showrecord=1\">this</a>.
352The <i>If</i> test succeeds, which shows the <i>Text</i> of the document. With
353the BibTeX plugin, the text of a document is its unadulterated BibTeX record.\n
354"
355
356
357# -- French text ----------------
358collectionmeta collectionextra [l=fr] "
359Cette collection qui contient des entrées _about:numdocs_ BibTex, est working papers éditées de 1997 à 2006
360au <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
361
362<h3>Comment marche la collection?</h3>
363<p>
364Cette collection englobe une <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1\">interface de recherche par formulaire</a>
365qui permet une recherche par champ. Dans Greenstone, cela signifie qu'un moteur de recherche avancé (appelé <i>mgpp</i>) doit être utilisée plutÎt
366que le moteur de recherche par défaut de Greenstone (<i>mg</i>). Il y a un document d'<a href=\"http://www.greenstone.org/manuals/mgpp_user.pdf\">aide en ligne</a> pour <i>mgpp</i>. Le document possÚde une <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&qf=1\">interface de recherche avancée</a> ainsi qu'une <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=0\">page de recherche simple par champ</a>. Ces deux variantes peuvent être sélectionnées à partir de la page <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=p&p=preferences&ct=1&qt=1\">Préférences</a> de la collection.
367
368<p>
369Le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de
370configuration de la collection</a> commence par la spécification
371<i>groupsize 200</i>. Ceci regroupe les documents en groupe de 200.
372Les 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.
373
374<p>
375A part les Plugins standards, les modules qui sont spécifiés pour
376cette collection sont <i>Zipplug</i> qui ouvre les archives et les documents compressés, et <i>Bibtext plug</i> qui traite les références dans le
377format BibText (bien connu des informaticiens).
378
379<p>
380La 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>).
381
382<p>
383L'inclusion de <i>buildtype</i> signifie que le moteur de recherche <i>mgpp</i> est utilisé, et pour ceci les indexes sont spécifiés d'une maniÚre
384légÚrement différente. Tandis que Greenstone permet aux divers
385indexes qui vont être spécifiés d'être a des \"niveaux\" différents,
386(<i>document</i>, <i>section</i>, <i>paragraph</i>), avec <i>mgpp</i> ils sont tous au même niveau--- <i>document</i> par défaut (comme dans ce cas ci). Le niveau peut être changé en utilisant une déclaration <i>Levels</i>. De plus,
387alors que dans les autres collections des indexes peuvent être
388spécifiés sur du texte ou sur n'importe quelle méta-donnée, ici il y a
389des possibilités additionelles: vous pouvez spécifier les indexes
390sur <i>chaque</i> champ de méta-donnée en utilisant le mot <i>metadata</i>,
391et un index pour tous les champs de méta-données réunis en utilisant
392le mot <i>allfields</i>.
393
394<p>
395Dans ce cas la ligne des <i>indexes</i> spécifie les indexes qui peuvent
396être recherches par texte ou par champ de méta-donnée.
397Ainsi, 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
398sélectionnés, ils montrent <i>Full records</i> suivi par une entrée pour
399chaque é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
400ce qui est appele dans le menu (exceptÚ pour <i>metadata</i> qui
401produit beaucoup d'éléments de menu). Dans ce cas,le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier
402de configuration</a> spécifie que l'index du texte devrait être
403appele \"full records\" parcequ'il contient l'enregistrement bibliographique
404original.
405
406<p>
407Cette 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\".
408Le 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>.
409Par conséquent, le classificateur <i>AZCompact List</i> est basé sur <i>Author</i>. Cependant, Greenstone a un bouton standard appelé <i>authors a-z</i> dont le nom (qui prête à confusion) est \"Creator\", ainsi le nom
410de ce bouton est spécifié pour le classificateur.
411
412<p>
413Le 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
414<i>Classify Phind</i> du <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration</a>.
415Ici, la spécification est :
416<pre>
417 document:Title,document:Creator,document:Booktitle,\n
418 document:Publisher
419</pre>
420
421-- c'est le titre, la liste des auteurs, le titre du travail
422recueilli (s'il y en a) dans lequel chaque article apparaît,
423et l'éditeur. Il faut noter que cette spécification suit la
424convention <i>mg</i> avec <i>level:field</i>. Les indexes <i>Phind</i>
425sont généralement plus basés sur le texte entier de la collection,
426en utilisant la spécification <i>document:text</i>.
427
428<p>
429La meilleure façon de voir ce que fait Phind est de jouer
430avec cet index. Vous tapez un mot dans la boîte recherche,
431cliquez <i>Search</i>, et une liste d'expressions contenant ce terme
432apparaît en haut du tableau. Cliquez sur une de ces expressions
433et une liste d'expressions contenant cette <i>expression</i> apparaît
434au bas du tableau. Vous pouvez continuer à faire ceci en
435allongeant l'expression de plus en plus. Ces listes peuvent
436être allongees en utilisant le bouton <i>Get more phrases</i>.
437A la fin de la liste d'expression une liste de document
438contenant cette expression apparaît dans un texte bleu, vous
439pouvez allonger cette liste en cliquant sur Get <i>more documents</i>.
440
441<p>
442Le format de déclaration pour la liste de résultats de recherche
443et 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);
444le 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>Date</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=Bshouty,,,&fqf=TX,CR,BO,SO\">voici</a> un exemple.
445
446<p>
447Le format de déclaration pour le browser auteur (<i>CL2VList</i>) est plus
448complexe. Le classificateur <i>AZCompactList</i> donne un arbre dont les nœuds
449sont soit des nœuds de feuilles représentant des documents ou des
450nœ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
451format vérifie si numleafdocs existe. Si le nœud doit être un nœud
452interne, dans ce cas le nœud est catalogue par son <i>Title</i>.
453Mais 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) .
454
455<p>
456Les documents eux-mêmes (voici un <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH019158002a5f5d5ee754c0f4_135\">exemple</a>) sont produits par
457deux 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
458donne tous les éléments de méta-donnée que le plugin BibTex peut générer.
459Le rÃŽle de toutes les instructions <i>If</i> dans le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de
460configuration</a> est de déterminer les éléments définis.
461
462<p>
463Le <i>DocumentText</i> montre la version BibTex de la référence.
464Cependant, quand le document est affiché la premiÚre fois, seul
465le 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
466href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH019158002a5f5d5ee754c0f4_135&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.
467"
468
469
470# -- Spanish text ----------------
471collectionmeta collectionextra [l=es] "
472Esta colección contiene entradas _about:numdocs_ BibTeX y ha sido creada a partir de la Bibliografía de la working papers published from 1997 to 2006 at <a href=\"http://www.cs.waikato.ac.nz/\">Department of Computer Science</a>, <a href=\"http://www.waikato.ac.nz/\">the University of Waikato</a>.\n
473
474<h3>Cómo trabaja esta colección</h3>
475<p>
476
477La colección incorpora una <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1\">interfaz de búsqueda basada en formas</a> que permite la búsqueda por campos. En el caso de Greenstone, esto significa que se debe usar un motor de búsqueda avanzada (llamado <i>mgpp</i>), en vez del motor de búsqueda por omisión de Greenstone (llamado <i>mg</i>). También existe un <a href=\"http://www.greenstone.org/manuals/mgpp_user.pdf\">documento de ayuda</a> en línea para <i>mgpp</i>. La colección tiene una <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&qf=1\">interfaz de búsqueda \"avanzada\" de formas</a>, así como una <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=0\">página de búsqueda sencilla por campos</a> de sólo texto. Estas dos variantes se pueden seleccionar desde la página de <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=p&p=preferences&ct=1&qt=1\">Preferencias de la colección</a>.
478<p>
479
480El <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>, la cual reúne a los documentos en grupos de 200. 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 se inflen demasiado y ocupen más espacio del necesario.
481<p>
482
483Aparte de los plugins estándar esta colección cuenta con <i>ZIPPlug</i>, que descomprime los documentos y archivos comprimidos, y <i>BibTexPlug</i>, que procesa las referencias en el formato BibTeX (bastante conocido por los especialistas en informática).
484<p>
485
486La búsqueda por campos con una interfaz basada en formas se selecciona por medio de la <i>forma searchtype</i> en el archivo de configuración. De hecho, esta colección también utiliza la <i>forma searchtype de sólo texto</i>, la cual incluye asimismo un índice de búsqueda de textos completos (ya que <i>forma</i> viene primero, ésta es la interfaz por omisión; la búsqueda <i>de sólo texto</i> se puede seleccionar por medio de la página de <i>Preferencias</i>).
487<p>
488
489La inclusión de <i>searchtype</i> significa que el motor de búsqueda <i>mgpp</i> se está usando y que estos índices se especifican de manera ligeramente diferente. En tanto que Greenstone normalmente le permite a los diferentes índices que se van a especificar estar a diferentes \"niveles\" (<i>documento</i>, <i>sección</i>, <i>párrafo</i>), con <i>mgpp</i> todos ellos están al mismo nivel, siendo <i>documento</i> el ajuste por omisión (como en este caso). El nivel se puede cambiar por medio de un enunciado de <i>niveles</i>. Asimismo, mientras que en otras colecciones los índices se pueden especificar sobre el texto o sobre cualquier metadato, aquí existen además otras posibilidades: se pueden especificar índices en <i>cada</i> campo del metadato utilizando solamente la palabra <i>metadato</i> y un índice para todos los campos del metadato juntos utilizando la palabra <i>allfields</i>.
490<p>
491
492En este caso la línea de <i>índices</i> especifica los índices que se pueden buscar en el texto completo y en cada campo del metadato. Así, cuando los menús 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 llama 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.
493<p>
494
495Esta colección contiene exploradores de <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 explorador 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 de <i>Autor</i>. También coloca una lista de todos los autores en el elemento del metadato <i>Creador</i>. Como resultado de ello, el clasificador <i>AZCompactList</i> se basa en el <i>Autor</i>. Sin embargo, Greenstone tiene un botón estándar que lee los <i>autores de la \"a\" a la \"z\"</i> y cuyo nombre es (de manera un tanto confusa) \"Creador\", por lo que el nombre de este botón ha sido especificado para el clasificador.
496<p>
497
498El 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 que se puede explorar de frases extraídas del material especificado en el argumento de texto de la línea <i>clasificar Phind</i> en el <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a>. Aquí la especificación es
499<p>
500
501<pre>
502 document:Title,document:Creator,document:Booktitle,\n
503 document:Publisher
504</pre>\n
505
506<p>
507
508es 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>.
509<p>
510
511La 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 más documentos.
512<p>
513
514Los enunciados de formato para la lista de resultados de la búsqueda y el explorador de 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>Creador</i> si es que hay alguno o en su defecto el metadato <i>Editor</i>, y el metadato de <i>Fecha</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=Bshouty,,,&fqf=TX,CR,BO,SO\">aquí</a> un ejemplo.
515<p>
516
517El enunciado de formato para el explorador de autor (<i>CL2VList</i>) es más complejo. 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.
518<p>
519
520Los documentos mismos (he aquí un <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH019158002a5f5d5ee754c0f4_135\">ejemplo</a>) se generan por medio de dos enunciados de formato, uno llamado <i>DocumentHeading</i>, que es bastante largo, y otro llamado <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\"
521target=collect.cfg>archivo de configuración</a> es determinar los elementos que se definen.
522<p>
523
524<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
525href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH019158002a5f5d5ee754c0f4_135&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.
526"
527
528
529# -- Russian text ----------------
530collectionmeta collectionextra [l=ru] "
531Эта кПллекцОя, кПтПрая сПЎержОт элеЌеМты запОсО _about:numdocs_ BibTeX, is a collection of working papers published from 1997 to 2006
532 at <a href=\"http://www.cs.waikato.ac.nz/\">Department of Computer Science</a>,
533 <a href=\"http://www.waikato.ac.nz/\">the University of Waikato</a>.\n.
534
535<p>
536
537<h3>Как рабПтает кПллекцОя</h3>\n
538
539<p>
540
541КПллекцОя включает <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1\">ОМтерфейс пПОска Ма таблОчМПй ПсМПве</a>, кПтПрый пПзвПляет Псуществлять пПОск пП пПляЌ. В Greenstone этП ПзМачает, чтП ОМструЌеМт усПвершеМствПваММПгП пПОска, МазываеЌый <i>mgpp</i>, ЎПлжеМ ОспПльзПваться преЎпПчтОтельМей, чеЌ стаМЎартМая пПОскПвая сОстеЌа пПОска Greenstone, МазываеЌая <i>mg</i>. ИЌеется ПМ-лайМПвПе ПпОсаМОе пПЌПщО Ўля <i>mgpp</i>. КПллекцОя ОЌеет <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&qf=1\">«прПЎвОМутую» фПрЌу ОМтерфейса пПОска</a>, а также прПстую <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=p&p=preferences&ct=1&qt=1\">ПЎМП-пПлевую страМОцу пПОска</a>. ЭтО Ўва варОаМта ЌПгут быть выбраМы Оз страМОцы преЎпПчтеМОй (Preferences) кПллекцОО.
542
543<p>
544
545Ѐайл кПМфОгурацОО кПллекцОО МачОМается с ПпреЎелеМОя <i>groupsize 200</i>, кПтПрПе ПбъеЎОМяет ЎПкуЌеМты в группы пП 200. БОблОПграфОческОе кПллекцОО ПбычМП сПстПят Оз бПльшПгП чОсла МебПльшОх
546 ЎПкуЌеМтПв, О группОрПвка Ох
547 вЌесте преЎПтвращает вМутреММОе файлПвые структуры Greenstone Пт увелОчеМОя ПбъёЌа О заМятОя бПльшегП ЎОскПвПгП прПстраМства, чеЌ МеПбх
548ПЎОЌП.
549
550<p>
551
552В ПтлОчОе Пт стаМЎартМых
553, спецОфОчМыЌО плагОМаЌО Ўля этПй кПллекцОО являются -- <i>ZIPPlug</i>, кПтПрый распакПвывают сжатые ЎПкуЌеМты О арх
554Овы, О <i>BibTexPlug</i>, кПтПрый Пбрабатывает ссылкО в фПрЌате BibTex, х
555ПрПшП ОзвестМПЌ Ўля учеМых
556.
557
558<p>
559
560ППОск пП пПляЌ с ОМтерфейсПЌ Ма таблОчМПй ПсМПве Псуществляется фПрЌатПЌ <i>searchtype form</i> в кПМфОгурацОПММПЌ файле. ЀактОческО эта кПллекцОя ОспПльзует прПстПй фПрЌат <i>searchtype</i>, кПтПрый включает прПстПй текстПвый ОМЎекс Ўля пПлМПтекстПвПгП пПОска, а также (так как <i>form</i> пПявляется сМачала, этП -- ОМтерфейс пП уЌПлчаМОю). Вы ЌПжете выбрать прПстПй плПскОй (<i>plain</i>) пПОск Оз страМОцы ПреЎпПчтеМОй (<i>Preferences</i>).
561
562<p>
563
564ВключеМОе <i>searchtype</i> ПзМачает, чтП ОспПльзуется пПОскПвый ОМструЌеМт <i>mgpp</i> О Ўля этПгП ОМЎексы ПпреЎелеМы МеЌМПгП ЎругОЌ спПсПбПЌ. ПрОМОЌая вП вМОЌаМОе, чтП в Greenstone ПбычМП вПзЌПжМП ПпреЎелять спецОфОчМые ОМЎексы Ўля разлОчМых
565 \"урПвМей\" (<i>ЎПкуЌеМт</i>, <i>разЎел</i>, <i>параграф</i>), тП прО ОспПльзПваМОО <i>mgpp</i> ПМО все Мах
566ПЎятся Ма ПЎМПЌ урПвМе -- ЎПкуЌеМт пП уЌПлчаМОю (как в этПЌ случае). УрПвеМь ЌПжет быть ОзЌеМеМ прО ОспПльзПваМОО ПператПра <i>levels</i>. Также, прОМОЌая вП вМОЌаМОе, чтП в ЎругОх
567 кПллекцОях
568 ОМЎексы ЌПгут быть ПпреЎелеМы пП тексту ОлО пП какОЌ-лОбП ЌетаЎаММыЌ, зЎесь преЎусЌПтреМы ЎПпПлМОтельМые вПзЌПжМПстО. Вы ЌПжете ПпреЎелОть ОМЎексы пП кажЎПЌу пПлю ЌетаЎаММых
569, ОспПльзуя ПтЎельМПе слПвП <i>metadata</i>, О ОМЎекс Ўля всех
570 пПлей ЌетаЎаММых
571, ОспПльзуя слПвП <i>allfields</i>.
572
573<p>
574
575
576В этПЌ случае стрПка <i>ОМЎексПв</i> ПпреЎеляет ЎПступМые Ўля пПОска ОМЎексы вП всёЌ тексте О в кажЎПЌ пПле ЌетаЎаММых
577. ТакОЌ ПбразПЌ, кПгЎа Ма пПОскПвПй страМОце пПявляется спускающееся ЌеМю \"пПле\", в МёЌ пПказаМ пПлМый спОсПк, сПпрПвПжЎающОй прО
578вх
579ПЎе Ўля кажЎПгП элеЌеМта ЌетаЎаММых
580. МетаЎаММые Ма урПвМе кПллекцОО <i>collectionmeta</i> ЌПгут быть заЎаМы Ўля любПгП ОМЎекса, чтПбы ПпреЎелОть, чтП этП ПзМачает в ЌеМю (за ОсключеМОеЌ <i>metadata</i>, кПтПрПе сПзЎает ЌМПгП пуМктПв ЌеМю). В этПЌ случае <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>кПМфОгурацОПММый файл</a> ПпреЎеляет, чтП текстПвый ОМЎекс ЎПлжеМ быть МазваМ \"<i>full record</i>\", пПтПЌу чтП ПМа сПЎержОт ПрОгОМальМую бОблОПграфОческую запОсь.
581
582<p>
583
584Эта кПллекцОя сПЎержОт прПграЌЌы прПсЌПтра пП <i>НазваМОю</i>, <i>АвтПру О Дате</i>, О спецОальМый вОЎ ОМЎекса фразы, МазываеЌый \"<i>Phind</i>\". КлассОфОкатПр <i>AZCompactList</i>, ОспПльзуеЌый Ўля прПсЌПтра пП <i>АвтПру</i>, пПх
585Пж <i>Ма AZLIST</i>, МП геМерОрует кМОжМую пПлку Ўля ЎублОкатПв, как пПказаМП зЎесь. ПлагОМ BibText сПставляет запОсь Ўля кажЎПгП автПра пП ЌетаЎаММыЌ <i>АвтПр</i>; ПМ также пПЌещает спОсПк, сПЎержащОй перечеМь всех
586 автПрПв, в элеЌеМт ЌетаЎаММых
587 <i>СПзЎатель</i> (<i>Сreator</i>). ТакОЌ ПбразПЌ, классОфОкатПр <i>AZCompactList</i> базОруется Ма пПле <i>АвтПр</i>. ОЎМакП в Greenstone ОЌеется стаМЎартМая кМПпка, чОтающаяся как <i>АвтПры а-z</i>, чье МаОЌеМПваМОе ПтЎалеММП сППтветствует <i>Сreator</i>, так чтП МазваМОе этПй кМПпкО ОспПльзПваМП Ўля классОфОкатПра.
588
589<p>
590
591КлассОфОкатПр \"Phind\" сПзЎает ОМЎекс фразы пПЎПбМП <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL4\">пПказаММПЌу зЎесь</a>. ОМ сПЎержОт спОсПк ЎПступМых
592 Ўля прПсЌПтра фраз, ОзвлечеММых
593 Оз ЌатерОала, указаММПгП в аргуЌеМте <i>text</i> стрПкО <i>classify</i> в <i>Phind</i> кПМфОгурацОПММПгП файла. ОпреЎелеМОяЌО зЎесь являются
594
595<p>
596<pre>
597 document:Title,document:Creator,document:Booktitle,\n
598 document:Publisher
599</pre>\n
600<p>
601
602(<i>ЎПкуЌеМт:НазваМОе, ЎПкуЌеМт:СПзЎатель, ЎПкуЌеМт:ЗагПлПвПк кМОгО, ЎПкуЌеМт: ИзЎатель</i>)
603
604тП есть МазваМОе, спОсПк автПрПв, МазваМОе любПгП сбПрМОка рабПт, в кПтПрПЌ этПт пуМкт пПявляется, О ОзЎатель. ОбратОте вМОЌаМОе, чтП этО ПпреЎелеМОя сППтветствуют ПбычМПЌу <i>mg</i> Ма урПвМе:пПле (<i>level:field</i>). ИМЎексы чаще базОруются Ма ПсМПве пПлМПтекстПвПй кПллекцОО, ОспПльзуя спецОфОкацОю <i>ЎПкуЌеМта:text</i>.
605
606<p>
607
608ᅵучшОй спПсПб увОЎеть, чтП <i>Phind</i> Ўелает, сПстПОт в тПЌ, чтПбы пПОграть с этОЌ ОМЎексПЌ. Вы МапечаталО слПвП в пПле пПОска, щелкМулО <i>ППОск</i>, О спОсПк фраз, сПЎержащОх
609 этПт терЌОМ, пПявляется Ма верх
610Мей паМелО. ЩелкМОте Ма ПЎМПй Оз этОх
611 фраз, О спОсПк, сПЎержащОй эту фразу, пПявляется Ма МОжМей паМелО. Вы ЌПжете прПЎПлжать Ўелать этП, расшОряя фразу все бПлее. СпОскО ЌПгут быть увелОчеМы, ОспПльзуя кМПпку <i>get more phrases</i>. В кПМце спОска фраз пПявляется спОсПк ЎПкуЌеМтПв, сПЎержащОх
612 эту фразу, ПкрашеММый в сОМОй цвет. Вы ЌПжете расшОрОть этПт спОсПк путеЌ щелчка Ма <i>more documents</i>.
613
614<p>
615
616ОператПры фПрЌата Ўля спОска результатПв пПОска О МаОЌеМПваМОе браузера Пба ПпреЎелеМы в спецОфОкацОО <i>Vlist</i>. ОМО сПзЎают ОзПбражеМОе (ОкПМку) ЎПкуЌеМта, кПтПрПе связывается с саЌОЌ ЎПкуЌеМтПЌ (кПтПрый в ЎаММПй кПллекцОО является пПлМПй ссылкПй); <i>НазваМОе</i> выЎелеМП пПлужОрМыЌ шрОфтПЌ; ЌетаЎаММые <i>СПзЎателя</i> ЎПкуЌеМта, еслО такПвПй ОЌеется, ОлО же ЌетаЎаММые <i>ИзЎателя</i> О ЌетаЎаММые <i>Даты</i>, еслО ПМа существует. <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q&ct=1&qt=1&r=1&hs=1&fqa=0&fqv=Bshouty,,,&fqf=TX,CR,BO,SO\">ЗЎесь</a> прОвПЎОтся прОЌер.
617
618<p>
619
620ОператПр фПрЌата Ўля пПказа автПра (<i>CL2Vlist</i>) является бПлее слПжМыЌ. КлассОфОкатПр <i>AZCompactList</i> геМерОрует ЎеревП, узлы кПтПрПгП являются ОлО узлаЌО спОска, преЎставляя ЎПкуЌеМты, ОлО же вМутреММОЌО узлаЌО. ПуМкт ЌетаЎаММых
621, МазываеЌый <i>numleafdocs</i>, Ўает Пбщее кПлОчествП ЎПкуЌеМтПв, распПлПжеММых
622 МОже вМутреММегП узла. ЭтПт ПператПр фПрЌата прПверяет, существуют лО чОслП лОстПв ЎПкуЌеМтПв <i>numleafdocs</i>. ЕслО этП так, тП узел ЎПлжеМ быть вМутреММОЌ узлПЌ. В этПЌ случае ОЌеет свПю Ќетку <i>НазваМОе</i>. НП ОЌейте в вОЎу, чтП этПт классОфОкатПр прПОзвеЎеМ Ма ПсМПве ЌетаЎаММых
623 <i>АвтПра</i>, так чтП егП МазваМОе - МазваМОе классОфОкатПра -- является фактОческО ОЌеМеЌ автПра. ЭтП ПзМачает, чтП узлы кМОжМПй пПлкО <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2\">зЎесь</a> МазваМы ОЌеМеЌ автПра. Узлы лОста, ПЎМакП, пПЌечеМы такОЌ же ПбразПЌ, как ЎПкуЌеМты (тП есть ссылкО Ма МОх
624), Мах
625ПЎящОеся в спОске результатПв пПОска.
626
627<p>
628
629СаЌО же ДПкуЌеМты (зЎесь ОЌеется <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&cl=CL1.12&d=HASH019158002a5f5d5ee754c0f4_135\">прОЌер</a>), геМерОруются ЎвуЌя ПператПраЌО фПрЌата, ПЎОМ Оз кПтПрых
630 (ЎлОММый) МазваМ <i>DocumentHeading</i>, а ЎругПй - <i>DocumentText</i>. <i>DocumentHeading</i>, кПтПрый сПставляет верх
631МОе Ўве третО страМОцы, сПЎержОт <i>НазваМОе</i> ЎПкуЌеМта, сПпрПвПжЎаеЌПе таблОцей, кПтПрая сПЎержОт все элеЌеМты ЌетаЎаММых
632, кПтПрые плагОМ BibTex ЌПжет геМерОрПвать. НазМачеМОе всех
633 ПператПрПв <i>If</i> в кПМфОгурацОПММПЌ файле сПстПОт в тПЌ, чтПбы решОть, какОе элеЌеМты ПпреЎелеМы.
634
635<p>
636
637<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>.
638"
Note: See TracBrowser for help on using the repository browser.