source: documented-example-collections/trunk/wrdpdf-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: 15.9 KB
Line 
1creator [email protected]
2public true
3
4plugin WordPlug
5plugin RTFPlug
6plugin PDFPlug
7plugin PSPlug
8plugin GAPlug
9plugin ArcPlug
10plugin RecPlug -use_metadata_files
11
12indexes document:text
13
14classify AZList -metadata Title
15
16format DocumentHeading ""
17format DocumentButtons ""
18
19
20# -- English strings ----------------
21collectionmeta collectionname [l=en] "MSWord and PDF demonstration"
22
23collectionmeta .document:text [l=en] "documents"
24
25
26# -- French strings ----------------
27collectionmeta collectionname [l=fr] "Démonstration MSWord et PDF"
28
29collectionmeta .document:text [l=fr] "documents"
30
31
32# -- Spanish strings ----------------
33collectionmeta collectionname [l=es] "Demostración en MSWord y PDF"
34
35collectionmeta .document:text [l=es] "documentos"
36
37
38# -- Russian strings ----------------
39collectionmeta collectionname [l=ru] "ДеЌПМстрацОя MSWord О PDF"
40
41collectionmeta .document:text [l=ru] "ДПкуЌеМты"
42
43
44# -- English text ----------------
45collectionmeta collectionextra [l=en] "This collection demonstrates Greenstone\'s
46 ability to build collections from documents provided in different formats.
47 It contains a number of papers written by various members of the NZDL
48 project in PDF, MSWord, RTF, and Postscript formats.\n
49<p>
50The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato.
51The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
52
53<h3>How the collection works</h3>\n
54<p>
55This collection\'s <a href=\"_httpcollection_/etc/collect.cfg\"
56target=collect.cfg>configuration file</a> contains the four plugins
57<i>WordPlug</i>, <i>RTFPlug</i>, <i>PDFPlug</i> and <i>PSPlug</i> (along with
58the standard three, <i>GAPlug</i>, <i>ArcPlug</i> and <i>RecPlug</i>). These
59four plugins all extract <i>Title</i> and <i>Source</i> (i.e. filename)
60metadata. \n
61
62<p>
63Greenstone contains third-party software that is used to convert
64Word, RTF, PDF and PostScript files into HTML. The Greenstone team does not
65maintain these modules, although we do include the latest versions with each
66Greenstone release. Bugs arise with unusual Word documents (e.g. from older
67Macintosh systems), and sometimes the text is badly extracted. Some PDF files
68have no machine-readable text at all, comprising instead a sequence of page
69<i>images</i> from which text can only be extracted by optical character recognition
70(OCR), which Greenstone does not attempt. If you encounter these problems,
71there is nothing much you (or we) can do other than omit the rogue documents
72from the collection, or try to obtain different versions of them.\n
73
74<p>
75The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration
76file</a> includes a single index, based on document text, and one classifier,
77an <i>AZList</i> based on <i>Title</i> metadata, shown
78<a href=\"_gwcgi_?l=_cgiargl_&c=wrdpdf-e&a=d&cl=CL1\">here</a> (the alphabetic
79selector is suppressed automatically because the collection contains only a few
80documents). However, no format statement is specified. In the absence of
81explicit information, Greenstone supplies sensible defaults. In this case, the
82default format for the classifier gives:\n
83
84<ul>
85<li>
86an icon for the HTML version of the document (the text that is actually indexed,
87essentially the same as the Greenstone Archive format);\n
88<li>
89an icon for the original version of the document (clicking it opens the
90document in its original form);\n
91<li>
92<i>Title</i> metadata, extracted from the document;\n
93<li>
94<i>Source</i> (i.e. filename) metadata, extracted from the document.\n
95</ul>
96
97<p>
98Here is a format statement that achieves exactly the same effect explicitly. It
99applies to all <i>Vlists</i>, and so controls both search results list and the
100alphabetic title browser.\n
101
102<pre>
103format VList \"&lt;td&gt;[link][icon][/link]&lt;\/td&gt;\n
104 &lt;td&gt;[srclink][srcicon][/srclink]&lt;\/td&gt;\n
105 &lt;td&gt;[Title]&lt;br&gt;&lt;i&gt;([Source])&lt;/i&gt;&lt;/td&gt;\"\n
106</pre>
107"
108
109
110# -- French text ----------------
111collectionmeta 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.
112<p>
113The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato.
114The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
115
116<p>
117<h3>Comment marche cette collection ?</h3>
118
119<p>
120Le <a href=\"_httpcollection_/etc/collect.cfg\"
121target=collect.cfg>fichier de configuration</a> de cette collection contient quatre plugins, <i>WordPlug</i>, <i>RTFPlug</i>,
122 <i>PDFPlug</i> et <i>PSPlug</i> (ensemble avec les trois plugins standards <i>GAPlug</i>, <i>ArcPlug</i> et <i>RecPlug</i>).
123 Tous ces quatre modules extraient les méta-données <i>Titre</i> et <i>Source</i> (c.-a-d. nom de fichier).
124
125<p>
126Greenstone 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
127inhabituels 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
128Greenstone 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.
129
130<p>
131Le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration</a> comprend un index unique, basé sur un texte de document
132et 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
133alphabé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 :
134<ul>
135<li>
136une 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);
137<li>
138une icÃŽne pour la version originale du document (en cliquant dessus, on ouvre le document dans sa version originale);
139<li>
140méta-donnée <i>Titre</i> extraite du document;
141<li>
142méta-donnée <i>Source</i> (c.-à-d. nom du fichier) extraite du document.
143</ul>
144
145<p>
146Voici une déclaration de format qui fait exactement la même chose de maniÚre explicite.
147Elle 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.
148
149<pre>
150format VList \"&lt;td&gt;[link][icon][/link]&lt;\/td&gt;\n
151 &lt;td&gt;[srclink][srcicon][/srclink]&lt;\/td&gt;\n
152 &lt;td&gt;[Title]&lt;br&gt;&lt;i&gt;([Source])&lt;/i&gt;&lt;/td&gt;\"\n
153</pre>
154"
155
156
157# -- Spanish text ----------------
158collectionmeta 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.
159<p>
160The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato.
161The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
162
163<h3>Cómo trabaja esta colección</h3>
164
165Este <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).
166<p>
167
168Greenstone 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.
169<p>
170
171El <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:
172<p>
173<ul>
174<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);
175
176
177<li> un icono para la versión original del documento (al hacer click en él abre el documento en su forma original);
178
179
180<li> el metadato de <i>Título</i> extraído del documento;
181
182
183<li> el metadato de <i>Fuente</i> (es decir, el nombre de archivo) extraído del documento.
184</ul>
185<p>
186He 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.
187
188<pre>
189format VList \"&lt;td&gt;[link][icon][/link]&lt;\/td&gt;\n
190 &lt;td&gt;[srclink][srcicon][/srclink]&lt;\/td&gt;\n
191 &lt;td&gt;[Title]&lt;br&gt;&lt;i&gt;([Source])&lt;/i&gt;&lt;/td&gt;\"\n
192</pre>
193"
194
195
196# -- Russian text ----------------
197collectionmeta collectionextra [l=ru] "
198Эта кПллекцОя ЎеЌПМстрОрует спПсПбМПсть Greenstone к пПстрПеМОю кПллекцОО Оз ЎПкуЌеМтПв, выпПлМеММых
199 в разлОчМых
200 фПрЌатах
201. ОМа сПЎержОт ЌМПжествП статей, МапОсаММых
202 разлОчМыЌО члеМаЌО прПекта NZDL, в фПрЌатах
203 PDF, MSWord, RTF О Postscript.
204<p>
205The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato.
206The University of Waikato holds copyright. They may be distributed freely, without any restrictions.
207
208
209<h3>Как рабПтает кПллекцОя</h3>
210<p>
211
212<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>), тП есть ОЌя файла.
213<p>
214
215Greenstone сПЎержОт стПрПММее прПграЌЌМПе ПбеспечеМОе, кПтПрПе ОспПльзуется Ўля тПгП, чтПбы кПМвертОрПвать файлы, сПзЎаММые в Word, RTF, PDF О PostScript в HTML. КПЌаМЎа Greenstone Ме ПбслужОвает этО ЌПЎелО, х
216Птя Ќы включаеЌ Ох
217 саЌые пПслеЎМОе версОО в кажЎый выпуск Greenstone. ОшОбкО вПзМОкают у МеПбычМых
218 ЎПкуЌеМтПв Word (МапрОЌер, Пт старых
219 сОстеЌ МакОМтПша), О ОМПгЎа текст ужасМП Озвлекается. НекПтПрые PDF файлы Ме сПзЎают МОкакПгП ЌашОММПчОтаеЌПгП текста вППбще, а вЌестП этПгП включают пПслеЎПвательМПсть <i>ОзПбражеМОй</i> страМОцы, Оз кПтПрых
220 текст ЌПжет быть ОзвлечеМ тПлькП путеЌ ПптОческПгП распПзМаваМОя (OCR), чтП в Greenstone Ме преЎусЌПтреМП. ЕслО Вы сталкОваетесь с этОЌО прПблеЌаЌО, тП Мет МОчегП ЎругПгП, чтП Вы (ОлО Ќы) ЌПжете сЎелать, как выкОМуть этО ЎПкуЌеМты Оз кПллекцОО ОлО пПпытаться пПлучОть ЎругОе Ох
221 версОО.
222<p>
223
224
225<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>КПМфОгурацОПММый файл</a> включает еЎОМствеММый ОМЎекс, ПсМПваММый Ма тексте ЎПкуЌеМта О ПЎОМ классОфОкатПр <i>AZList</i>, ПсМПваММый Ма ЌетаЎаММых
226 <i>НазваМОя</i>, пПказаММый <a href=\"_gwcgi_?l=_cgiargl_&c=wrdpdf-e&a=d&cl=CL1\">зЎесь</a> (алфавОтМый ПтбПрщОк автПЌатОческО ПтключеМ, пПскПльку кПллекцОя сПЎержОт тПлькП МескПлькП ЎПкуЌеМтПв). ОЎМакП МОкакОх
227 ПператПрПв фПрЌата Ме ПпреЎелеМП. ПрО ПтсутствОО явМПй ОМфПрЌацОО Greenstone пПЎЎержОвает пП уЌПлчаМОю МаОбПлее ПщутОЌые. В этПЌ случае пП уЌПлчаМОю ОспПльзуются слеЎующОе фПрЌаты Ўля классОфОкатПра:
228<p>
229
230
231<ul>
232<li>
233ОзПбражеМОе (ОкПМка) Ўля HTML-версОО ЎПкуЌеМта (текст, кПтПрый фактОческООМЎексОрПваМ, пП существу такПй же, как фПрЌат арх
234Ова Greenstone);
235<li>
236ОзПбражеМОе (ОкПМка) Ўля ПрОгОМальМПй версОО ЎПкуЌеМта (щелкая Ма МеЌ, Пткрывают ЎПкуЌеМт в егП Осх
237ПЎМПЌ фПрЌате);
238<li>
239ЌетаЎаММые <i>НазваМОя</i> (<i>Title</i>), ОзвлечеММые Оз ЎПкуЌеМта;
240<li>
241ЌетаЎаММые <i>ИстПчМОка</i> (<i>Source</i>), тП есть ОЌя файла, ОзвлечеММПе Оз ЎПкуЌеМта.
242</ul>
243<p>
244
245ИЌеется ПператПр фПрЌата, кПтПрый ЎПстОгает такПй же саЌый эффект. ОМ Пбращается кП всеЌ <i>Vlists</i> О такОЌ ПбразПЌ Псуществляет кПМтрПль как МаЎ спОскПЌ результатПв пПОска, так О МаЎ алфавОтМыЌ пПказПЌ МазваМОй.
246
247<pre>
248format VList \"&lt;td&gt;[link][icon][/link]&lt;\/td&gt;\n
249 &lt;td&gt;[srclink][srcicon][/srclink]&lt;\/td&gt;\n
250 &lt;td&gt;[Title]&lt;br&gt;&lt;i&gt;([Source])&lt;/i&gt;&lt;/td&gt;\"\n
251</pre>
252"
Note: See TracBrowser for help on using the repository browser.