source: documented-example-collections/trunk/wrdpdf-e/etc/collect.cfg@ 19060

Last change on this file since 19060 was 19060, checked in by oranfry, 15 years ago

using new plugin names to get the example collections to build

  • Property svn:executable set to *
File size: 16.0 KB
Line 
1creator [email protected]
2public true
3
4plugin WordPlugin
5plugin RTFPlugin
6plugin PDFPlugin
7plugin PostScriptPlugin
8plugin GreenstoneXMLPlugin
9plugin MetadataXMLPlugin
10plugin ArchivesInfPlugin
11plugin DirectoryPlugin
12
13indexes document:text
14
15classify AZList -metadata Title
16
17format DocumentHeading ""
18format DocumentButtons ""
19
20
21# -- English strings ----------------
22collectionmeta collectionname [l=en] "MSWord and PDF demonstration"
23
24collectionmeta .document:text [l=en] "documents"
25
26
27# -- French strings ----------------
28collectionmeta collectionname [l=fr] "Démonstration MSWord et PDF"
29
30collectionmeta .document:text [l=fr] "documents"
31
32
33# -- Spanish strings ----------------
34collectionmeta collectionname [l=es] "Demostración en MSWord y PDF"
35
36collectionmeta .document:text [l=es] "documentos"
37
38
39# -- Russian strings ----------------
40collectionmeta collectionname [l=ru] "ДеЌПМстрацОя MSWord О PDF"
41
42collectionmeta .document:text [l=ru] "ДПкуЌеМты"
43
44
45# -- English text ----------------
46collectionmeta collectionextra [l=en] "This collection demonstrates Greenstone\'s
47 ability to build collections from documents provided in different formats.
48 It contains a number of papers written by various members of the NZDL
49 project in PDF, MSWord, RTF, and Postscript formats.\n
50<p>
51The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato.
52The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
53
54<h3>How the collection works</h3>\n
55<p>
56This collection\'s <a href=\"_httpcollection_/etc/collect.cfg\"
57target=collect.cfg>configuration file</a> contains the four plugins
58<i>WordPlug</i>, <i>RTFPlug</i>, <i>PDFPlug</i> and <i>PSPlug</i> (along with
59the standard three, <i>GAPlug</i>, <i>ArcPlug</i> and <i>RecPlug</i>). These
60four plugins all extract <i>Title</i> and <i>Source</i> (i.e. filename)
61metadata. \n
62
63<p>
64Greenstone contains third-party software that is used to convert
65Word, RTF, PDF and PostScript files into HTML. The Greenstone team does not
66maintain these modules, although we do include the latest versions with each
67Greenstone release. Bugs arise with unusual Word documents (e.g. from older
68Macintosh systems), and sometimes the text is badly extracted. Some PDF files
69have no machine-readable text at all, comprising instead a sequence of page
70<i>images</i> from which text can only be extracted by optical character recognition
71(OCR), which Greenstone does not attempt. If you encounter these problems,
72there is nothing much you (or we) can do other than omit the rogue documents
73from the collection, or try to obtain different versions of them.\n
74
75<p>
76The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration
77file</a> includes a single index, based on document text, and one classifier,
78an <i>AZList</i> based on <i>Title</i> metadata, shown
79<a href=\"_gwcgi_?l=_cgiargl_&c=wrdpdf-e&a=d&cl=CL1\">here</a> (the alphabetic
80selector is suppressed automatically because the collection contains only a few
81documents). However, no format statement is specified. In the absence of
82explicit information, Greenstone supplies sensible defaults. In this case, the
83default format for the classifier gives:\n
84
85<ul>
86<li>
87an icon for the HTML version of the document (the text that is actually indexed,
88essentially the same as the Greenstone Archive format);\n
89<li>
90an icon for the original version of the document (clicking it opens the
91document in its original form);\n
92<li>
93<i>Title</i> metadata, extracted from the document;\n
94<li>
95<i>Source</i> (i.e. filename) metadata, extracted from the document.\n
96</ul>
97
98<p>
99Here is a format statement that achieves exactly the same effect explicitly. It
100applies to all <i>Vlists</i>, and so controls both search results list and the
101alphabetic title browser.\n
102
103<pre>
104format VList \"&lt;td&gt;[link][icon][/link]&lt;\/td&gt;\n
105 &lt;td&gt;[srclink][srcicon][/srclink]&lt;\/td&gt;\n
106 &lt;td&gt;[Title]&lt;br&gt;&lt;i&gt;([Source])&lt;/i&gt;&lt;/td&gt;\"\n
107</pre>
108"
109
110
111# -- French text ----------------
112collectionmeta collectionextra [l=fr] "Cette collection d&eacute;montre les capacit&eacute;s de Greenstone pour rassembler des collections &agrave; partir de documents existants en diff&eacute;rents formats. Elle contient plusieurs articles &eacute;crits par diff&eacute;rents membres du projet NZDL en format PDF, MSWord, RTF, et Postscript.
113<p>
114The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato.
115The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
116
117<p>
118<h3>Comment marche cette collection ?</h3>
119
120<p>
121Le <a href=\"_httpcollection_/etc/collect.cfg\"
122target=collect.cfg>fichier de configuration</a> de cette collection contient quatre plugins, <i>WordPlug</i>, <i>RTFPlug</i>,
123 <i>PDFPlug</i> et <i>PSPlug</i> (ensemble avec les trois plugins standards <i>GAPlug</i>, <i>ArcPlug</i> et <i>RecPlug</i>).
124 Tous ces quatre modules extraient les méta-données <i>Titre</i> et <i>Source</i> (c.-a-d. nom de fichier).
125
126<p>
127Greenstone contient des logiciels de tierces parties utilisés pour convertir des fichiers Word, RTF, PDF et PostScript en HTML. L'équipe Greenstone ne maintient pas ces modules bien que nous incluons les derniÚres versions dans chaque édition de Greenstone. Des coquilles apparaissent avec les documents
128inhabituels de Word (par exemple à partir de vieux systÚmes Macintosh) et des fois, le texte est mal extrait. Certains fichiers PDF n'ont pas du tout une forme lisible directement par les machines, mais sont représentés par une séquence de pages d'<i>images</i> à partir desquelless le texte ne peut être extrait que par une reconnaissance optique de caractÚres (ROC), ce que
129Greenstone ne tente pas de faire. Si vous rencontrez ces problÚmes, il n'y a grand chose que vous/nous pouvez/pouvons faire à part omettre ces documents de la collection, et essayer d'en obtenir des versions différentes.
130
131<p>
132Le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration</a> comprend un index unique, basé sur un texte de document
133et un classificateur, un <i>AZList</i> basée sur la méta-donnée <i>Titre</i>, montrée <a href=\"_gwcgi_?l=_cgiargl_&c=wrdpdf-e&a=d&cl=CL1\">ici</a> (le sélecteur
134alphabétique est supprimé automatiquement parce que la collection ne contient que peu de documents). Cependant aucune déclaration de format n'est spécifiée. A l'absence d'information explicite, Greenstone fournit des défauts sensés. Dans ce cas le format par défaut pour le classificateur donne ceci :
135<ul>
136<li>
137une icÎne pour la version HTML du document (le texte est en fait indexé en grande partie de la même façon que le format d'archive Greenstone);
138<li>
139une icÃŽne pour la version originale du document (en cliquant dessus, on ouvre le document dans sa version originale);
140<li>
141méta-donnée <i>Titre</i> extraite du document;
142<li>
143méta-donnée <i>Source</i> (c.-à-d. nom du fichier) extraite du document.
144</ul>
145
146<p>
147Voici une déclaration de format qui fait exactement la même chose de maniÚre explicite.
148Elle s'applique à tous les <i>VList</i> et contrÎle donc aussi bien les résultats de recherche que la navigation alphabétique par titre.
149
150<pre>
151format VList \"&lt;td&gt;[link][icon][/link]&lt;\/td&gt;\n
152 &lt;td&gt;[srclink][srcicon][/srclink]&lt;\/td&gt;\n
153 &lt;td&gt;[Title]&lt;br&gt;&lt;i&gt;([Source])&lt;/i&gt;&lt;/td&gt;\"\n
154</pre>
155"
156
157
158# -- Spanish text ----------------
159collectionmeta collectionextra [l=es] "Esta colecci&oacute;n demuestra la capacidad del programa Greenstone para construir colecciones con documentos en diferentes formatos. Contiene art&iacute;culos escritos por varios de los miembros del proyecto NZDL en formato PDF, MSWord, RTF y Postscript.
160<p>
161The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato.
162The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
163
164<h3>Cómo trabaja esta colección</h3>
165
166Este <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración de la colección</a> contiene los cuatro plugins <i>WordPlug, RTFPlug, PDFPlug</i> y <i>PSPlug</i> (junto con los tres plugins estándar, <i>GAPlug, ArcPlug</i> y <i>RecPlug</i>). Los cuatro plugins extraen los metadatos de <i>Título</i> y <i>Fuente</i> (es decir, nombre del archivo).
167<p>
168
169Greenstone contiene un software de otro fabricante que se utiliza para convertir archivos Word, RTF, PDF y PostScript a HTML. El equipo de Greenstone no le da mantenimiento a estos módulos, aunque incluimos las más recientes versiones con cada nueva versión de Greenstone. Los errores lógicos surgen con documentos Word inusuales (p. ej. provenientes de sistemas Macintosh anteriores) y en ocasiones el texto no se extrae adecuadamente. Algunos archivos PDF no contienen textos legibles de ninguna manera, consistiendo en su lugar de una secuencia de <i>imágenes</i> de página de las cuales el texto únicamente se puede extraer por medio del reconocimiento óptico de caracteres (OCR por sus siglas en inglés), que es algo que Greenstone no pretende hacer. Si usted encuentra este tipo de problemas, entonces no hay mucho que usted o nosotros podamos hacer, excepto excluir dichos documentos de la colección o tratar de obtener diferentes versiones de los mismos.
170<p>
171
172El <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a> incluye un solo índice basado en el texto de los documentos y un clasificador <i>AZList</i> basado en el metadato de <i>Título</i>, tal como se muestra <a href=\"_gwcgi_?l=_cgiargl_&c=wrdpdf-e&a=d&cl=CL1\">aquí</a> (el selector alfabético se suprime automáticamente ya que la colección contiene únicamente unos cuantos documentos). Sin embargo, no se especifica ningún enunciado de formato. En ausencia de información explícita, Greenstone suministra los formatos por omisión. En este caso, el formato por omisión para el clasificador proporciona:
173<p>
174<ul>
175<li> un icono para la versión HTML del documento (el texto que se está indexando, básicamente el mismo que el formato del Archivo Greenstone);
176
177
178<li> un icono para la versión original del documento (al hacer click en él abre el documento en su forma original);
179
180
181<li> el metadato de <i>Título</i> extraído del documento;
182
183
184<li> el metadato de <i>Fuente</i> (es decir, el nombre de archivo) extraído del documento.
185</ul>
186<p>
187He aquí un enunciado de formato que logra exactamente el mismo efecto de manera explícita. Se aplica a todas las <i>Vlists</i> y por lo tanto controla tanto la lista de resultados de la búsqueda como el explorador de títulos por orden alfabético.
188
189<pre>
190format VList \"&lt;td&gt;[link][icon][/link]&lt;\/td&gt;\n
191 &lt;td&gt;[srclink][srcicon][/srclink]&lt;\/td&gt;\n
192 &lt;td&gt;[Title]&lt;br&gt;&lt;i&gt;([Source])&lt;/i&gt;&lt;/td&gt;\"\n
193</pre>
194"
195
196
197# -- Russian text ----------------
198collectionmeta collectionextra [l=ru] "
199Эта кПллекцОя ЎеЌПМстрОрует спПсПбМПсть Greenstone к пПстрПеМОю кПллекцОО Оз ЎПкуЌеМтПв, выпПлМеММых
200 в разлОчМых
201 фПрЌатах
202. ОМа сПЎержОт ЌМПжествП статей, МапОсаММых
203 разлОчМыЌО члеМаЌО прПекта NZDL, в фПрЌатах
204 PDF, MSWord, RTF О Postscript.
205<p>
206The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato.
207The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
208
209
210<h3>Как рабПтает кПллекцОя</h3>
211<p>
212
213<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>КПМфОгурацОПММый файл</a> этПй кПллекцОО сПЎержОт четыре плагОМа <i>WordPlug, RTFPlug, PDFPlug</i> О <i>PSPlug</i> (МаряЎу с треЌя стаМЎартМыЌО <i>GAPlug, ArcPlug</i> О <i>RecPlug</i>). Все этО четыре плагОМа Озвлекают ЌетаЎаММые Оз <i>НазваМОя</i> (<i>Title</i>) О <i>ИстПчМОка</i> (<i>Source</i>), тП есть ОЌя файла.
214<p>
215
216Greenstone сПЎержОт стПрПММее прПграЌЌМПе ПбеспечеМОе, кПтПрПе ОспПльзуется Ўля тПгП, чтПбы кПМвертОрПвать файлы, сПзЎаММые в Word, RTF, PDF О PostScript в HTML. КПЌаМЎа Greenstone Ме ПбслужОвает этО ЌПЎелО, х
217Птя Ќы включаеЌ Ох
218 саЌые пПслеЎМОе версОО в кажЎый выпуск Greenstone. ОшОбкО вПзМОкают у МеПбычМых
219 ЎПкуЌеМтПв Word (МапрОЌер, Пт старых
220 сОстеЌ МакОМтПша), О ОМПгЎа текст ужасМП Озвлекается. НекПтПрые PDF файлы Ме сПзЎают МОкакПгП ЌашОММПчОтаеЌПгП текста вППбще, а вЌестП этПгП включают пПслеЎПвательМПсть <i>ОзПбражеМОй</i> страМОцы, Оз кПтПрых
221 текст ЌПжет быть ОзвлечеМ тПлькП путеЌ ПптОческПгП распПзМаваМОя (OCR), чтП в Greenstone Ме преЎусЌПтреМП. ЕслО Вы сталкОваетесь с этОЌО прПблеЌаЌО, тП Мет МОчегП ЎругПгП, чтП Вы (ОлО Ќы) ЌПжете сЎелать, как выкОМуть этО ЎПкуЌеМты Оз кПллекцОО ОлО пПпытаться пПлучОть ЎругОе Ох
222 версОО.
223<p>
224
225
226<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>КПМфОгурацОПММый файл</a> включает еЎОМствеММый ОМЎекс, ПсМПваММый Ма тексте ЎПкуЌеМта О ПЎОМ классОфОкатПр <i>AZList</i>, ПсМПваММый Ма ЌетаЎаММых
227 <i>НазваМОя</i>, пПказаММый <a href=\"_gwcgi_?l=_cgiargl_&c=wrdpdf-e&a=d&cl=CL1\">зЎесь</a> (алфавОтМый ПтбПрщОк автПЌатОческО ПтключеМ, пПскПльку кПллекцОя сПЎержОт тПлькП МескПлькП ЎПкуЌеМтПв). ОЎМакП МОкакОх
228 ПператПрПв фПрЌата Ме ПпреЎелеМП. ПрО ПтсутствОО явМПй ОМфПрЌацОО Greenstone пПЎЎержОвает пП уЌПлчаМОю МаОбПлее ПщутОЌые. В этПЌ случае пП уЌПлчаМОю ОспПльзуются слеЎующОе фПрЌаты Ўля классОфОкатПра:
229<p>
230
231
232<ul>
233<li>
234ОзПбражеМОе (ОкПМка) Ўля HTML-версОО ЎПкуЌеМта (текст, кПтПрый фактОческООМЎексОрПваМ, пП существу такПй же, как фПрЌат арх
235Ова Greenstone);
236<li>
237ОзПбражеМОе (ОкПМка) Ўля ПрОгОМальМПй версОО ЎПкуЌеМта (щелкая Ма МеЌ, Пткрывают ЎПкуЌеМт в егП Осх
238ПЎМПЌ фПрЌате);
239<li>
240ЌетаЎаММые <i>НазваМОя</i> (<i>Title</i>), ОзвлечеММые Оз ЎПкуЌеМта;
241<li>
242ЌетаЎаММые <i>ИстПчМОка</i> (<i>Source</i>), тП есть ОЌя файла, ОзвлечеММПе Оз ЎПкуЌеМта.
243</ul>
244<p>
245
246ИЌеется ПператПр фПрЌата, кПтПрый ЎПстОгает такПй же саЌый эффект. ОМ Пбращается кП всеЌ <i>Vlists</i> О такОЌ ПбразПЌ Псуществляет кПМтрПль как МаЎ спОскПЌ результатПв пПОска, так О МаЎ алфавОтМыЌ пПказПЌ МазваМОй.
247
248<pre>
249format VList \"&lt;td&gt;[link][icon][/link]&lt;\/td&gt;\n
250 &lt;td&gt;[srclink][srcicon][/srclink]&lt;\/td&gt;\n
251 &lt;td&gt;[Title]&lt;br&gt;&lt;i&gt;([Source])&lt;/i&gt;&lt;/td&gt;\"\n
252</pre>
253"
Note: See TracBrowser for help on using the repository browser.