source: collections/documented-examples/trunk/dls-e/etc/collect.cfg@ 19359

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

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

  • Property svn:executable set to *
File size: 50.7 KB
Line 
1creator [email protected]
2public true
3
4buildtype mg
5
6plugin HTMLPlugin -input_encoding iso_8859_1 -description_tags -OIDtype dirname
7plugin GreenstoneXMLPlugin
8plugin MetadataXMLPlugin
9plugin ArchivesInfPlugin
10plugin DirectoryPlugin
11
12indexes section:text section:Title document:text
13
14classify Hierarchy -metadata "dls.Subject" -sort dls.Title -buttonname Subject -hfile dls.Subject.txt
15classify Hierarchy -metadata dls.AZList -hlist_at_top -sort dls.Title -buttonname Title -hfile dls.AZListtxt
16classify List -sort_leaf_nodes_using dls.Title -metadata dls.Organization -bookshelf_type always -buttonname Organization
17classify List -metadata dls.Keyword -bookshelf_type never -buttonname Howto
18
19format VList "<td valign=top>[link][icon][/link]</td>
20<td valign=top>[highlight]{Or}{[dls.Title],[Title],Untitled}[/highlight]
21<i><small>{If}{[Date],<br>_textdate_[Date]}{If}{[NumPages],
22<br>_textnumpages_[NumPages]}{If}{[Source],<br>_textsource_[Source]}</small></i>
23</td>"
24
25format SearchVList "<td valign=top>[link][icon][/link]</td>
26<td>{If}{[parent(All\': \'):Title],
27[parent(All\': \'):Title]:}
28[link][Title][/link]</td>"
29
30format CL4VList "<td valign=top>[link][dls.Keyword][/link]</td>"
31
32format DocumentText "<h3>[Title]</h3>\\n\\n<p>[Text]"
33format DocumentImages true
34format DocumentButtons "Expand Text|Expand Contents|Detach|Highlight"
35
36format HList "[link][highlight][ex.Title][/highlight][/link]"
37
38format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
39
40# -- English strings ----------------
41collectionmeta collectionname [l=en] "Development Library Subset collection"
42
43collectionmeta .section:text [l=en] "chapters"
44collectionmeta .section:Title [l=en] "section titles"
45collectionmeta .document:text [l=en] "entire documents"
46
47# -- French strings ----------------
48collectionmeta collectionname [l=fr] "Sous-ensemble de la collection BibliothÚque de Développement"
49
50collectionmeta .section:text [l=fr] "chapitres"
51collectionmeta .section:Title [l=fr] "titres des sections"
52collectionmeta .document:text [l=fr] "documents entiers"
53
54# -- Spanish strings ----------------
55collectionmeta collectionname [l=es] "Subconjunto de la Biblioteca para el Desarrollo"
56
57collectionmeta .section:text [l=es] "capítulos"
58collectionmeta .section:Title [l=es] "títulos de las secciones"
59collectionmeta .document:text [l=es] "documentos completos"
60
61# -- Russian strings ----------------
62collectionmeta collectionname [l=ru] "СубкПллекцОя БОблОПтекО развОтОя"
63
64collectionmeta .section:text [l=ru] "Главы"
65collectionmeta .section:Title [l=ru] "НазваМОя разЎелПв"
66collectionmeta .document:text [l=ru] "ППлМые ЎПкуЌеМты"
67
68# -- English text ----------------
69collectionmeta collectionextra [l=en] "The Humanitarian Development Libraries
70represent a large collection of practical information aimed at helping
71reduce poverty, increasing human potential, and providing a practical and
72useful education for all. This subset contains about 25
73publications--documents, reports, and periodical articles--in various areas
74of human development, from agricultural practice to economic policies, from
75water and sanitation to society and culture, from education to
76manufacturing, from disaster mitigation to micro-enterprises.
77
78<p> The editors of this collection are Human Info NGO, HumanityCD Ltd, and
79participating organizations. Contact us at Humanitarian and Development
80Libraries Project, Oosterveldiaan 196, B-2610 Antwerp, Belgium, Tel
8132-3-448.05.54, Fax 32-3-449.75.74,
82email <a href=mailto:[email protected]>[email protected]</a>.\n
83
84<h3>How the collection works</h3>\n
85
86<p>
87The DLS collection is fairly complex. If you\'re
88just starting out you might prefer to look at some other
89collections first (e.g.
90<a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/wrdpdf-e&a=p&p=about\">Word and PDF demonstration</a>, or the
91<a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/gsarch-e&a=p&p=about\">Greenstone Archives</a>, or the
92<a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/image-e&a=p&p=about\">Simple Image collection</a>).\n
93
94<p>
95The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>collection
96configuration file</a>, like all collection configuration files, begins with a
97line (\"creator\") that gives the email address of the collection\'s creator, and
98another (\"public\") that determines whether the collection will appear on the
99home page of the Greenstone installation. Note that setting \"public\" to \"false\" only removes it from the home page; it will still be accessible in the library to anyone that knows the URL (a=p&p=about&c=coll-shortname). \n
100
101<p>
102<b>Plugins</b>. The \"plugin\" lines in the
103<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration file</a>
104give the plugins used by the collection. The documents in the DLS collection
105are in HTML, so <i>HTMLPlugin</i> must be included. The <i>description_tags</i>
106option processes tags in the text that define sections and section titles as
107described below. \n
108
109<p>
110The other plugins, <i>GreenstoneXMLPlugin, MetadataXMLPlugin, ArchivesInfPlugin, and DirectoryPlugin</i>, are used by Greenstone
111for internal purposes and are standard in almost all collections.
112
113<p>
114<b>Searchable indexes</b>. The block of lines starting with <i>indexes</i>
115specifies what searchable indexes will be available. In this collection there
116are three: you can see them when you pull down the \"Search for\" menu on the
117<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q\">search page</a>.
118The first index is called \"chapters\", the second \"section titles\",
119and the third \"entire documents\". The names of these three indexes are given by
120three <i>collectionmeta</i> statements.\n
121
122<p>
123The contents of the indexes -- that is, the specification of what it is that
124will be searched -- are defined by the <i>indexes</i> line at the beginning of
125this block. This specifies three indexes, two at the section level (beginning
126with <i>section:</i>) and one at the document level (beginning with
127<i>document:</i>). The difference is that a multi-word query will only match a
128section-level index if all query terms appear in the same section, whereas it
129will match a document-level index if the terms appear anywhere within the
130document (which typically comprises several sections). The first and third
131indexes are <i>section:text</i> and <i>document:text</i>, and the <i>:text</i>
132means that the full text of sections and documents respectively will be
133searched. The second is <i>section:Title</i>, which means that <i>Title</i>
134metadata will be searched -- in this case, section titles (rather than document
135titles). The three indexes appear in the order in which they are specified on
136the <i>indexes</i> line.\n
137
138<p>
139<b>Classifiers</b>. The block of lines labeled <i>classify</i> define the
140browsing indexes, called \"classifiers\" in Greenstone. There are four of them,
141corresponding to four buttons on the navigation bar at the top of each page in
142the collection (e.g. the <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q\">search page</a>):
143<i>subjects</i>, <i>titles</i>, <i>organisations</i>, and <i>howto</i>
144The <i>search</i> button comes first, then come the four classifiers, in order.\n
145
146<p>
147The first classifier provides access by subject. It is a <i>Hierarchy</i>
148classifier whose hierarchy is defined in the file
149<a href=\"_httpcollection_/etc/dls.Subject.txt\" target=text>dls.Subject.txt</a>
150(the <i>hfile</i> argument); this file is discussed below. This classifier is
151based on <i>dls.Subject</i> metadata, and when several books appear at a leaf of
152the hierarchy they are sorted by <i>dls.Title</i> metadata (as you can see
153<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1.4.1\">here</a>).
154
155The second classifier provides access by title. It is also a <i>Hierarchy</i> classifier, this time based on
156<i>dls.AZList</i> metadata, whose hierarchy is defined in <a href=\"_httpcollection_/etc/dls.Title.txt\" target=text>dls.AZList.txt</a>. This file is discussed below.
157
158The third provides access by organization: it is a
159<i>List</i> classifier based on <i>dls.Organization</i> metadata. The <i>-bookshelf_type always</i> option creates a new bookshelf for each organization, even if only one document belongs to that category.
160
161The fourth provides access by \"Howto\" text: it is a <i>List</i> classifier based on <i>dls.Keyword</i> metadata. The <i>-bookshelf_type never</i> option prevents bookshelves being created even if two documents share the same keywords.
162
163<p>
164<b>Cover images</b>. Greenstone looks for a cover image for each document, whose name is the same as the document\'s but with a <i>.jpg</i>
165extension. This image is associated with the document, and may be displayed on the document page (see below). Cover images can be switched off by setting the -no_cover_image flag for each plugin. \n
166
167<p>
168<b>Format statements</b>. The lines beginning with <i>format</i>, called \"format statements\", govern how various parts of the collection should be displayed. The <i>VList</i> format statement applies to lists of items displayed vertically, such as the lists of titles, subjects and organisations, and the table of contents for the target documents. It is overridden for the search results list by the <i>SearchVList</i> format statement, and also for the <i>Howto</i> classifier by the <i>CL4VList</i> statement (CL4 specifies the fourth classifier).
169<p>
170The <i>DocumentText</i> statement governs how the document text is formatted,
171with <i>Title</i> metadata ([<i>Title</i>]) in HTML &lt;<i>h3</i>&gt; format
172followed by the text of the document [<i>Text</i>]. Setting the <i>DocumentImages</i> format statement to <i>true</i> ensures that cover images are shown with each document. The <i>DocumentButtons</i> statement calls for the <i>Expand
173Text, Expand Contents, Detach</i> and <i>Highlight</i> buttons to be shown with each document.
174
175<p>
176Most format statements contain a string specified in an augmented form of
177HTML. Metadata names in square brackets (e.g. [<i>Title</i>], [<i>Creator</i>])
178give the value of that metadata; [<i>Text</i>] gives the document text. A
179hyperlink to the document can be made using [<i>link</i>] ...[<i>/link</i>]; an
180appropriate icon is produced by [<i>icon</i>]. Format strings can include
181{<i>If</i>}{... , ...} and {<i>Or</i>}{... , ...}; the first two give
182examples. These two are fairly complex format statements; we will not explain
183them here. In Greenstone, changes in format strings take effect immediately
184unless you are using the local library server, in which case the server needs
185to be restarted. This makes it easy to experiment with different versions of a
186format statement and see what happens.\n
187
188
189<p>
190<b>Collection-level metadata</b>. The <i>collectionmeta</i> lines in the
191configuration file are also standard in all Greenstone collections. They give
192general information about the collection, defining its name, and a
193description that appears on its home page. The description (in <i>collectionextra</i>) can be
194seen on the DLS collection\'s home page (this text is part of it).\n
195
196
197<p>
198<b>Language translations</b>. The last part of the
199<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>collection
200configuration file</a> gives the collection-level metadata in French and
201Spanish respectively. The languages are indicated by square brackets:
202[<i>fr</i>] and [<i>es</i>]. If there is no language specification, English is
203assumed by default. The configuration file shows accented characters
204(e.g. French <i>é</i>). This file is in UTF-8, and these characters are
205represented by multi-byte sequences (&lt;C3&gt;&lt;A9&gt; in this
206case). Alternatively they could be represented by their HTML entity names (like
207<i>&amp;eacute</i>). It makes no difference: they look the same on the
208screen. However, if the text were <i>searchable</i> it would make a difference;
209Greenstone uses Unicode internally to ensure that searching works as expected
210for non-English languages.\n
211
212<p>
213<b>Description tags</b>. The description tags recognized by <i>HTMLPlugin</i>
214are inserted into the HTML source text of the documents to define where
215sections begin and end, and to specify section titles. They look like this:
216<pre>
217&lt;!--\n
218&lt;Section&gt;\n
219&lt;Description&gt;\n
220&lt;Metadata name=\"Title\"&gt;\n
221Realizing human rights for poor people: Strategies\n
222for achieving the international development targets\n
223&lt;/Metadata&gt;\n
224&lt;/Description&gt;\n
225--&gt;\n
226(text of section goes here)\n
227&lt;!--\n
228&lt;/Section&gt;\n
229-->\n
230</pre>
231The &lt;!-- ... --&gt; markers are used to ensure that these tags are marked as
232comments in HTML and therefore do not affect document formatting. In the
233<i>Description</i> part other kinds of metadata can be specified, but this is
234not done for the style of collection we are describing here. Exactly the same
235specification (including the &lt;!-- ... --&gt markers) can be used in Word
236documents too.\n
237
238<p>
239<b>Metadata Files</b>. Metadata for all documents in the DLS collection
240is provided in metadata.xml files, one per document folder.
241The <a href=\"_httpcollection_/import/r0087e/metadata.xml\" target=text>metadata.xml</a> file for one book -- <i>Income generation and money management: training women as entrepreneurs</i>
242-- is a block of about ten lines encased in &lt;<i>FileSet</i>&gt; ...
243&lt;<i>/FileSet</i>&gt; tags. It defines
244<i>dls.Title</i>, <i>dls.Language</i>, <i>dls.Subject</i> and <i>dls.AZList</i> metadata. More
245than one value can be specified for any metadata item. For example, this book has two dls.Subject classifications. Both of these
246are stored as metadata values for this particular document (because
247<i>mode=accumulate</i> is specified; the alternative, and the default, is
248<i>mode=override</i>).\n
249
250<p><b>Hierarchy files</b>. Hierarchy files contain a
251succession of lines each of which has three items. **_text12_ starts here. **The first item is a text string which is matched against the metadata that occurs in the <i>metadata.xml</i> file described above. The second item is a number that defines the position in the hierarchy. The third item is a text string that describes the node of the hierarchy on the web pages that Greenstone generates.
252<p>
253For example, the following shows three lines from the subject hierarchy file <a href=\"_httpcollection_/etc/dls.Subject.txt\" target=text>dls.Subject.txt</a>.
254
255<pre>
256\"Animal Husbandry and Animal Product Processing\" 7 \"Animal Husbandry and Animal Product Processing\"
257\"Animal Husbandry and Animal Product Processing|Cattle\" 7.1 \"Cattle\"
258\"Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)\" 7.2 \"Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)\"
259</pre>
260
261These three lines define one top level bookshelf (at position 7), titled \"Animal Husbandry and Animal Product Processing\", with two bookshelves underneath it, titled \"Cattle\" and \"Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)\" respectively.
262
263In this case, the first strings (and therefore the entries in metadata.xml files) contain the entire hierarchy values. Levels in the hierarchy are separated by \"|\". They could be used directly by a <i>Hierarchy</i> classifier without the use of the hierarchy file. However, then the entries would be ordered alphabetically, not in the special order defined by the file.
264
265The <a href=\"_httpcollection_/etc/dls.AZList.txt\" target=text>dls.AZList.txt</a> hierarchy file used by the titles classifier contains a similar structure. Ordinarily, a titles browser would use a <i>List</i> (or <i>AZList</i>) classifier. In this case, we want to predefine the A-Z groupings, and include a separate entry for periodicals, as can be seen <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL2.7\">here</a>.
266"
267
268# -- French text ----------------
269collectionmeta collectionextra [l=fr] "Les BibliothÚques humanitaires pour le
270Développement constituent une collection importante dont les objectifs sont
271d\'aider à réduire la pauvreté, de promouvoir l\'accroissement du
272potentiel humain, et d\'offrir une éducation pratique et utile à tous.
273Cette collection contient environ 25 publications -- documents, rapports, et
274articles de périodiques -- qui traitent de différents sujets liés au
275développement humain. On y trouve des informations concernant les pratiques
276agricoles aussi bien que les politiques économiques; les mesures d\'hygiÚne
277pour l\'eau et la société et la culture; l\'éducation et la petite
278industrie; la prévention des désastres et les micro-entreprises.
279<p>
280Les éditeurs
281de cette collection sont Human Info NGO, HumanityCD Ltd, and organisations
282ayant contribué. Vous pouvez nous contacter à Humanitarian and Development
283Libraries Project, Oosterveldiaan 196, B-2610 Antwerp, Belgium, Tel
28432-3-448.05.54, Fax 32-3-449.75.74, courriel <a
285href=mailto:[email protected]>[email protected]</a>.
286
287<h3>Comment, marche la collection</h3>
288
289<p>
290La collection DLS est assez
291complexe. Pour un débutant, il serait préférable de consulter d\'abord d\'autres collections
292(par exemple <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/wrdpdf-e&a=p&p=about\">Démonstration Word et PDF</a> ou les <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/gsarch-e&a=p&p=about\">Greenstone Archives</a> ou la collection <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/image-e&a=p&p=about\">Simple Image</a>).
293
294<p>
295Le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration</a> de la collection, comme tous les fichiers de configuration de collection, commence avec une ligne (\"creator\") qui donne l\'adresse e-mail du créateur de la collection et une autre ligne (\"public\") qui détermine la maniÚre d\'apparition de la collection sur la page d\'accueil de Greenstone. _text3_
296
297<p>
298<b>Plugins</b>. _text4_ Les documents dans la collection DLS sont en HTML, ainsi <i>HTMLPlugin</i> doit être inclus. L\'option <i>description_tags</i> traite des onglets dans le texte qui définissent les sections et les titres de section comme décrit ci-dessous.
299
300<p>
301Les autres plugins, <i>GreenstoneXMLPlugin, MetadataXMLPlugin, ArchivesInfPlugin et DirectoryPlugin</i> sont utilisés par Greenstone pour des objectifs internes et sont des références dans presque toutes les collections.
302
303<p>
304<b>Index recherchables</b>. Le bloc de lignes qui commence avec <i>index</i>
305précise les type d\'index de recherche disponibles. Dans cette collection on en compte trois. Vous pouvez les voir en déroulant le menu \"Rechercher des\" sur la <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q\">page de recherche</a>. Le premier index est appelé \"chapitre\" , le second \"titres de section\" et le troisiÚme \"documents entiers\". Les noms de ces trois index sont donnés par les trois déclarations <i>collectionmeta</i>.
306
307<p>
308Les contenus des trois index, à savoir la spécification de ce qui sera recherché, sont définies
309par la ligne des <i>index</i> au début de ce bloc. Trois index sont spécifiés, deux au niveau section (commençant par <i>section:</i>) et un autre au niveau document (commençant par <i>document:</i>.) La différence est qu\'une requête à mots multiples ne conviendra qu\'à un index de niveau section si tous les termes recherchés se trouvent dans la même section, tandis qu\'elle conviendra à un index de niveau document si les termes apparaissent n\'importe où dans le document
310(qui typiquement, comprend plusieurs sections). Le premier et le troisiÚme index sont
311<i>section:text</i> et <i>document:text</i>, et <i>:text</i> signifie que le texte complet des sections et celui des documents seront respectivement recherchés. Le second est <i>section:Title</i>, qui signifie que la méta-donnée <i>Title</i> sera recherchée -- dans ce cas, les titres de section (plutÎt que les titres de document). Les trois index apparaissent dans l\'ordre dans lequel ils sont précisés sur la ligne <i>indexes</i>.
312
313<p>
314<b>Classificateurs</b>. Le bloc de lignes libellé <i>classify</i> définit les index de navigation appelés \"classifiers\" dans Greenstone. Ils sont quatre, correspondant aux quatre boutons sur la barre de navigation en haut de chaque page dans la collection (c\'est à dire la <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q\">page de recherche</a>): <i>sujets</i>, <i>titres</i>, <i>organisations</i> et <i>comment</i>. Le bouton de <i>recherche</i> vient en premier, les quatre classificateurs.
315
316<p>
317Le premier classificateur fournit un accÚs par sujet. C\'est un classificateur <i>Hierarchy</i> dont la hiérarchie est définie dans le fichier <a href=\"_httpcollection_/etc/dls.Subject.txt\" target=text>dls.Subject.txt</a> (l\'argument \"<i>hfile</i>\"); ce fichier est présenté ci-dessous. Ce classificateur est basé sur la méta-donnée <i>dls.Subject</i> et quand plusieurs livres apparaissent sur une feuille de la hiérarchie, ils sont triés suivant la méta-donnée <i>dls.Title</i> (comme visible <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1.4.1\">ici</a>).
318
319_text6_
320
321Le troisiÚme fournit un accÚs par organisation: c\'est un classificateur <i>List</i> basé sur les méta-données <i>Organization</i>. _text8_
322
323_text9_
324
325
326<p>
327<b>Images Couverture</b>. Greenstone cherche une image couverture pour chaque document, dont le nom est le même que le document\'s mais avec une extension <i>.jpg</i>. Cette image est associée avec le document et pourrais être visualisé sur la page du document (voir ce-dessous). Les images couverture peuvent-être éteintes en réglant le drapeau -no_cover_image pour chauqe plug-in. \n
328
329<p>
330<b>Déclarations de format</b>. _text10_
331
332<p>
333_text11_
334
335
336<p>
337La plupart des déclarations de format contiennent une chaîne spécifiée en HTML mise en valeur.
338Les noms de méta-données entre crochets (c\'et à dire [<i>Title</i>], [<i>Creator</i>]), donne la valeur de ces méta-données; [<i>Text</i>] donne le document texte. Un hyperlien au document peut être obtenu en utilisant [<i>link</i>] ... [<i>/link</i>]; une icÎne appropriée est générée par [<i>icon</i>]. Des chaînes de format peuvent inclure {<i>If</i>} {...,...} et {<i>Or</i>} {...,...}; les deux premiÚres en donnent des exemples. Ces deux sont des déclarations de format assez complexes qui ne seront pas expliquées ici. Dans Greenstone, les changements dans les chaînes de format prennent effet immédiatement à moins que vous n\'utilisiez le serveur de la bibliothÚque locale, auquel cas, le serveur à besoin d\'être réinitialisé. Cela rend facile l\'expérimentation de versions différentes d\'une déclaration de format et de voir ce qui se passe.
339
340<p>
341<b>Méta-données de niveau collection</b>. Les lignes <i>collectionmeta </i> dans le fichier de configuration sont aussi standard dans toutes les collections Greenstone.
342Elles donnent une information générale sur la collection par la définition de son nom, et par une description qui apparaît sur la page d\'accueil. La description (dans <i>collectionextra</i>) peut être vue sur la page
343d\'accueil de la collection (_text2_).
344
345<p>
346<b>Traduction de langues</b>. La derniÚre partie du <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration de la collection</a> donne les méta-données de niveau collection en Français et en Espagnol respectivement. Les langues sont indiquées par des crochets:[<i>fr</i>] et [<i>es</i>]. Si aucune langue n\'est spécifiée, l\'Anglais est supposé par défaut. Le fichier de configuration montre des caractÚres mis en valeur (par exemple le \"<i>é</i>\" français). Ce fichier est en UTF-8, et ces caractÚres sont représentés par des séquences multi-octets (&lt;C3&gt;&lt;A9&gt) dans ce cas). Autrement, elles pourraient être représentées par leurs noms d\'entité (comme <i>&amp;eacute</i>). Cela ne présente aucune différence: ils sont identiques à l\'écran. Cependant si les textes faisaient l\'objet d\'une recherche, une différence aurait été notée; Greenstone utilise Unicode de façon interne pour s\'assurer que le processus de recherche fonctionne comme prévu pour les langues autre que l\'anglais.
347
348<p>
349<b>Etiquettes de description</b>. Les étiquettes de description identifiées par \"HTMLPlugin\" sont insÚrées dans le texte source HTML des documents pour délimiter le début et la fin des sections et pour spécifier les titres de section. Ils se présentent comme suit:
350<pre>
351&lt;!--\n
352&lt;Section&gt;\n
353&lt;Description&gt;\n
354&lt;Metadata name=\"Title\"&gt;\n
355Realizing human rights for poor people: Strategies\n
356for achieving the international development targets\n
357&lt;/Metadata&gt;\n
358&lt;/Description&gt;\n
359--&gt;\n
360(text of section goes here)\n
361&lt;!--\n
362&lt;/Section&gt;\n
363-->\n
364</pre>
365Les marqueurs &lt;!-- ... --&gt; sont utilisés pour assurer que ces étiquettes sont indiquées comme
366commentaires dans HTML et par conséquent n\'ont aucun effet sur le formatage. Dans la partie
367<i>Description</i>, d\'autres types de méta-données peuvent être spécifiés mais ceci n\'est pas fait pour le style de collection décrit ici. La même spécification (y compris les marqueurs &lt;!-- ... --&gt;) peut être utilisée de façon tout à fait identique dans les documents Word.
368
369<p>
370<b>Fichiers de méta-données</b>. Les méta-données pour tous les documents de la collection DLS sont fournies dans le fichier metadata.xml. Le fichier <a href=\"_httpcollection_/import/r0087e/metadata.xml\" target=text>metadata.xml</a> pour le livre--<i>Income generation and money management: training women as entrepreneurs</i> --est un bloc de dix lignes comprises entre les étiquettes &lt;<i>FileSet</i>&gt; ... &lt;<i>/FileSet</i>&gt;. Elle définit les méta-données <i>dls.Title</i>, <i>dls.Language</i>, <i>dls.Subject</i> et <i>dls.AZList</i>. Plus d\'une valeur peut être spécifiée pour n\'importe quel élément de méta-donnée. _text5_ Toutes les deux sont enregistrées comme comme valeurs de méta-donnée pour ce document particulier (parce que <i>mode=accumulate</i> est spécifié; autrement, le défaut est <i>mode=override</i>).
371
372<p>
373<b>Fichiers d\'hiérarchie</b>. _text12_
374
375
376"
377
378# -- Spanish text ----------------
379collectionmeta collectionextra [l=es] "
380Las Bibliotecas sobre Aspectos
381Humanitarios y de Desarrollo representan una extensa colecci&oacute;n de
382informaci&oacute;n pr&aacute;ctica cuyo prop&oacute;sito es ayudar a
383reducir la pobreza, acrecentar el potencial humano y proveer una
384educaci&oacute;n pr&aacute;ctica y &uacute;til para todos. Este subconjunto
385comprende unas 25 publicaciones - documentos, informes t&eacute;cnicos y
386art&iacute;culos de publicaciones peri&oacute;dicas - en varias
387&aacute;reas del desarrollo humano, desde pr&aacute;cticas agr&iacute;colas
388a pol&iacute;ticas econ&oacute;micas, desde agua y saneamiento a sociedad y
389cultura, desde educaci&oacute;n a manufactura, desde mitigaci&oacute;n de
390desastres a microemprendimientos.\n<p>\nLos editores de esta
391colecci&oacute;n son la ONG Human Info, HumanityCD Ltd y dem&aacute;s
392organizaciones participantes. Cont&aacute;ctenos en: Proyecto de
393Bibliotecas sobre Aspectos Humanitarios y de Desarrollo , Oosterveldiaan
394196, B-2610 Antwerp, B&eacute;lgica, Tel 32-3-448.05.54, Fax
39532-3-449.75.74, correo electr&oacute;nico <a
396href=mailto:[email protected]>[email protected]</a>.
397
398<h3>Cómo trabaja esta colección</h3>
399
400La colección DLS es bastante compleja. Si apenas está empezando a familiarizarse con su uso quizá fuera mejor que se fijara primero en alguna otra colección (como la <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/wrdpdf-e&a=p&p=about\">Demostración en Word y PDF</a>, los <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/gsarch-e&a=p&p=about\">Archivos Greenstone</a> o la <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/image-e&a=p&p=about\">colección de imágenes sencillas</a>).
401<p>
402
403Al igual que todos los archivos de configuración de colecciones, el <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración de esta colección</a>, empieza con una línea (\"creador\") que proporciona la dirección de correo electrónico del creador de la colección y otra (\"pública\") que determina si la colección aparecerá en la página principal del programa Greenstone. _text3_
404
405<p>
406
407<b>Plugins</b>. _text4_ Los documentos en la colección DLS están en HTML, por lo que se deberá incluir <i>HTMLPlugin</i>. La opción <i>description_tags</i> procesa las etiquetas en el texto que definen secciones y títulos de secciones tal como se describe a continuación.
408<p>
409
410Los otros plugins, GreenstoneXMLPlugin, MetadataXMLPlugin, ArchivesInfPlugin, y DirectoryPlugin, son empleados por Greenstone con fines particulares y son estándar en casi todas las colecciones.
411<p>
412
413<b>Índices de búsqueda</b>. El bloque de líneas que empieza con <i>índices</i> especifica los índices de búsqueda que están disponibles. En esta colección hay tres, los cuales se pueden ver al momento de desplegar el menú \"Buscar\" en la <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q\">página de búsqueda</a>. El primer índice se llama \"capítulos\", el segundo \"títulos de sección\" y el tercero \"documentos enteros\". Los nombres de estos tres índices están dados por tres enunciados <i>collectionmeta</i>.
414<p>
415
416El contenido de los índices -- es decir, la especificación de lo que se va a buscar -- se define por medio de la línea que se encuentra al principio de este bloque. Esta especifica tres índices, dos a nivel de sección (los cuales empiezan con <i>section:</i>) y uno a nivel de documento (el cual empieza con <i>document:</i>). La diferencia está en que una consulta de varias palabras únicamente encontrará una correspondencia en un índice a nivel de sección si todos los términos de la consulta aparecen en la misma sección, mientras que encontrará la correspondencia en un índice a nivel de documento si los términos aparecen en cualquier parte del documento (el cual consiste normalmente de varias secciones). El primero y tercer índices son <i>section:text</i> y <i>document:text</i>, donde <i>:text</i> significa que se buscará en todo el texto de la sección o el documento, respectivamente. El segundo es <i>section:Title</i>, el cual indica que se buscarán metadatos de <i>Título</i>, en este caso títulos de secciones (más que títulos de documentos). Los tres índices aparecerán en el orden en que se especificaron en la línea de <i>índices</i>.
417<p>
418
419<b>Clasificadores</b>. El bloque de líneas con la etiqueta <i>classifier</i> define los índices de exploración, llamados \"clasificadores\" en Greenstone. Hay cuatro de ellos correspondientes a los cuatro botones en la barra de navegación que se encuentra en la parte superior de cada página de la colección (p. ej. la <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q\">página de búsqueda</a>): <i>temas, títulos, organización</i> y <i>cómo</i>. El botón de <i>búsqueda</i> aparece primero y a continuación los cuatro clasificadores en orden.
420<p>
421
422El primer clasificador le da acceso al asunto. Es un clasificador <i>Hierarchy</i>, el cual se define en el archivo <a href=\"_httpcollection_/etc/dls.Subject.txt\" target=text>dls.Subject.txt</a> (el argumento <i>hfile</i>); este archivo se describe más adelante. El clasificador se basa en el metadato <i>dls.Subject</i> y cuando varios libros aparecen en una hoja de la jerarquía se ordenan por medio del metadato <i>dls.Title</i> (como se puede ver <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1.4.1\">aquí</a>).
423
424_text6_
425
426El tercero le da acceso a la organización. Es un clasificador <i>List</i> basado en el metadato <i>dls.Organization</i>. _text8_
427
428_text9_
429
430<p>
431
432<p>
433<b>Imágenes de Portada</b>. Greenstone buscar una imágen de portada para cada documento cuyo nombre sea el mismo al documento pero con una extensión <i>.jpg</i>. Esta imágen está asociada con el documento, y puede ser mostrada en la página del documento (ver aqui abajo). Las imágenes de portada pueden ser apagadas al ajustar el -no_imágen_de_portada para cada entrada. \n
434
435
436<b>Enunciados de formato</b>. _text10_
437<p>
438_text11_
439<p>
440
441La mayoría de los enunciados de formato contienen una cadena escrita en una forma aumentada de HTML. Los nombres de los metadatos entre corchetes (p. ej. [<i>Title</i>], [<i>Creator</i>]) dan el valor de dicho metadato. [<i>Text</i>] da el texto del documento. También se puede establecer un hipervínculo con el documento por medio de [link] ...[/link]. Un icono apropiado es producido por [<i>icon</i>]. Las cadenas de formato pueden incluir {<i>If</i>}{... , ...} y {<i>Or</i>}{... , ...}. Los primeros dos contienen ejemplos. Estos dos son enunciados de formato demasiado complejos, por lo que no los explicaremos aquí. En Greenstone los cambios en las cadenas de formato tienen efecto inmediatamente a menos que se esté usando el servidor local, en cuyo caso el servidor necesitará reiniciarse. Esto hace que sea fácil experimentar con diferentes versiones de un enunciado de formato y ver qué pasa.
442
443<p>
444
445<b>Metadatos a nivel de colección</b>. Las líneas de <i>collectionmeta</i> en el archivo de configuración también son estándar en todas las colecciones Greenstone. Contienen información general acerca de la colección definiendo su nombre, y una descripción que aparece en su página inicial. La descripción (en <i>collectionextra</i>) se puede ver en la página inicial de la colección DLS (este texto es parte de él).
446<p>
447
448<b>Traducción de idioma</b>. La última parte del <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración de la colección</a> proporciona los metadatos a nivel de colección en francés y español, respectivamente. Estos idiomas se indican por medio de corchetes: [<i>fr</i>] y [<i>es</i>]. Si no hay ninguna especificación del idioma, entonces el inglés se asume por omisión. El archivo de configuración muestra los caracteres que se acentúan (p. ej. la é francesa). Este archivo está en UTF-8 y los caracteres se representan por medio de secuencias de varios bytes (&lt;C3&gt;&lt;A9&gt; en este caso). De forma alternativa se pueden representar por medio de nombres de entes HTML (como &amp;eacute). No hay ninguna diferencia y se ven igual en la pantalla. Sin embargo, esto sí representaría una diferencia en el caso de que el texto se buscara. Greenstone utiliza Unicode internamente para asegurarse que las búsquedas trabajen tal como se espera con idiomas diferentes al inglés.
449<p>
450
451<b>Etiquetas de descripción</b>. Las etiquetas de descripción reconocidas por <i>HTMLPlugin</i> se insertan en el texto fuente HTML de los documentos para definir el lugar en el que las secciones empiezan y terminan y para especificar los títulos de sección. Se ven de la siguiente manera:
452<p>
453
454<pre>
455&lt;!--\n
456&lt;Section&gt;\n
457&lt;Description&gt;\n
458&lt;Metadata name=\"Title\"&gt;\n
459Haciendo realidad los derechos humanos para la gente pobre: Estrategias\n
460para lograr los objetivos de desarrollo mundial\n
461&lt;/Metadata&gt;\n
462&lt;/Description&gt;\n
463--&gt;\n
464(el texto de la sección va aquí)\n
465&lt;!--\n
466&lt;/Section&gt;\n
467-->\n
468</pre>
469<p>
470
471Los marcadores &lt;!-- ... --&gt se utilizan para asegurarse que estas etiquetas estén marcadas como comentarios en HTML y por lo tanto que no afecten el formato del documento. En la parte de <i>Descripción</i> se pueden especificar otros tipos de metadatos, pero esto no se hace para el estilo de colección que estamos describiendo aquí. Exactamente la misma especificación (incluyendo los marcadores &lt;!-- ... --&gt) se puede usar también en los documentos Word.
472<p>
473
474<b>Archivos de metadatos</b>. Los metadatos para todos los documentos de la colección DLS se proporcionan en documentos metadata.xml, un documento por folder. El documento <a href=\"_httpcollection_/import/r0087e/metadata.xml\" target=text>metadata.xml</a> para el libro--<i>Income generation and money management: training women as entrepreneurs</i> -- es un bloque de alrededor diez lineas encerradas en las etiquetas &lt;<i>FileSet</i>&gt; ... &lt;<i>/FileSet</i>&gt;. El cual define los metadatos <i>dls.Title, dls.Language, dls.Subject</i> y <i>dls.AZList</i>. Se puede especificar más de un valor para cualquier ítem del metadato. _text5_ Ambos se almacenan como valores del metadato para este documento en particular (ya que se especifica <i>mode=accumulate</i>; la alternativa y el valor por omisión es <i>mode=override</i>).
475<p>
476
477<b>Archivos de jerarquía</b>.
478"
479
480# -- Russian text ----------------
481collectionmeta collectionextra [l=ru] "
482БОблОПтекО гуЌаМОтарМПгП развОтОя преЎставляют бПльшую кПллекцОю практОческПй ОМфПрЌацОО, пПлезМПй прО ПказаМОО пПЌПщО Ўля уЌеМьшеМОя беЎМПстО, увелОчеМОя гуЌаМОтарМПгП пПтеМцОала, а также ПбеспечеМОя практОчМПгП О пПлезМПгП ПбразПваМОя Ўля всех
483. ЭтП пПЎЌМПжествП сПЎержОт прОблОзОтельМП 25 публОкацОй -- ЎПкуЌеМтПв, сППбщеМОй О перОПЎОческОх
484 статей -- в разлОчМых
485 Пбластях
486 челПвеческПгП развОтОя, Пт сельскПх
487ПзяйствеММПй практОкО ЎП экПМПЌОческПй пПлОтОкО, Пт вПЎы О ПчОсткО ЎП Пбщества О культуры, Пт ПбразПваМОя ЎП прПОзвПЎства, Пт уЌеМьшеМОя беЎствОй ЎП Ќалых
488 преЎпрОятОй.
489<p>
490
491ИзЎателО этПй кПллекцОО -- ГуЌаМОтарМая ОМфПрЌацОПММая МеправОтельствеММая ПргаМОзацОя Human Info NGO, Humanity CD Ltd, О ЎругОе сПтруЎМОчающОе ПргаМОзацОО. КПМтакты с МОЌО вПзЌПжМы через ПрПект гуЌаМОтарМых
492 О развОвающОх
493ся бОблОПтек: Oosterveldiaan 196, B-2610 Antwerp, Belgium, Tel 32-3-448.05.54, Fax 32-3-449.75.74, email <a href=mailto:[email protected]>[email protected]</a>.
494<p>
495
496<h3>Как рабПтает кПллекцОя</h3>
497<p>
498
499_text1_
500еслО Вы являетесь тПлькП МачОМающОЌ пПльзПвателеЌ, тП лучше вМачале ПзМакПЌОться с МекПтПрыЌО ЎругОЌО кПллекцОяЌО (МапрОЌер, с <a href=\"_gwcgi_?l=_cgiargl_&c=documented-examples/wrdpdf-e&a=p&p=about\">msword О pdf ЎеЌПМстрацОяЌО</a> ОлО же с арх
501ОваЌО ОлО с прПстПй графОческПй кПллекцОей).
502<p>
503
504<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>КПМфОгурацОПММый файл</a> кПллекцОО, пПЎПбМП всеЌ кПМфОгурацОПММыЌ файлаЌ ЎругОх
505 кПллекцОй, МачОМается сП стрПкО «СПзЎатель» (\"Сreator\"), кПтПрая сППбщает аЎрес электрПММПй пПчты СПзЎателя кПллекцОО, О ЎругПй -- «ПублОка» (\"Public\"), кПтПрая ПпреЎеляет, пПявОтся лО кПллекцОя Ма ЎПЌашМей страМОце устаМПвкО Greenstone. _text3_
506
507<p>
508
509
510<b>ПлагОМы</b>. _text4_ ДПкуЌеМты в кПллекцОО DLS преЎставлеМы в HTML-фПрЌате, так чтП <i>HTMLPlugin</i> ЎПлжеМ быть включеМ. ОпцОя <i>description_tags</i> Пбрабатывает тэгО (прОзМакО) в тексте, кПтПрые ПпреЎеляют разЎелы О МаОЌеМПваМОя разЎелПв, как ПпОсаМП МОже.
511<p>
512
513ДругОе плагОМы <i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>,<i>ArchivesInfPlugin</i> О <i>DirectoryPlugin</i> ОспПльзуются в Greenstone Ўля вМутреММОх
514 целей О являются стаМЎартМыЌО пПчтО вП всех
515 кПллекцОях
516.
517<p>
518
519<b>ИМЎексы пПОска</b>. БлПк стрПк, МачОМающОйся с <i>indexes</i>, ПпреЎеляет, какОе пПОскПвые ОМЎексы буЎут ЎПступМы. В этПй кПллекцОО есть трО ОМЎекса. Вы ЌПжете Ох
520 вОЎеть в МОспаЎающеЌ ЌеМю «ППОск» Ма <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q\">страМОце пПОска</a>. Первый ОМЎекс Мазывается «Главы», втПрПй -- «НазваМОя разЎелПв» О третОй -- «ППлМые ЎПкуЌеМты». НазваМОя этОх
521 трех
522 ОМЎексПв Ўаются треЌя ПператПраЌО <i>collectionmeta</i>.
523<p>
524
525СПЎержаМОе ОМЎексПв -- тП есть ПпОсаМОе тПгП, чтП буЎет являться преЎЌетПЌ пПОска -- ПпреЎеляется стрПкПй <i>indexes</i> в Мачале этПгП блПка. ОМа ПпреЎеляет трО ОМЎекса, Ўва Оз МОх
526 -- Ма урПвМе разЎела (МачОМающОеся с <i>section:</i>) О ПЎОМ Ма урПвМе ЎПкуЌеМта (МачОМающОйся с <i>document:</i>). РазлОчОе сПстПОт в тПЌ, чтП запрПс, сПстПящОй Оз МескПлькОх
527 слПв, буЎет сППтветствПвать тПлькП ОМЎексу урПвМя разЎела, еслО все терЌОМы запрПса пПявляются в тПЌ же саЌПЌ разЎеле, тПгЎа как ПМ буЎет сППтветствПвать урПвМю ЎПкуЌеМта, еслО терЌОМы пПявляются гЎе-лОбП в преЎелах
528 ЎПкуЌеМта, кПтПрый ПбычМП включает МескПлькП разЎелПв. Первый О третОй ОМЎексы -- этП <i>section:text</i> О <i>document:text</i>, гЎе <i>:text</i> ПзМачает, чтП пПлМый текст разЎелПв О ЎПкуЌеМтПв сППтветствеММП буЎет преЎЌетПЌ пПОска. ВтПрПй ОМЎекс -- <i>section:Title</i> ПзМачает, чтП ЌетаЎаММые НазваМОя (<i>Title</i>) буЎут пПЎвергМуты пПОску. В этПЌ случае МазваМОя разЎелПв скПрее, чеЌ МазваМОя ЎПкуЌеМтПв. ЭтО трО ОМЎекса пПявляются в пПряЎке, в кПтПрПЌ ПМО ПпреЎелеМы в стрПке <i>indexes</i>.
529<p>
530
531<b>КлассОфОкатПры</b>. БлПк стрПк, пПЌечеММых
532 <i>classify</i>, ПпреЎеляющОе ОМЎексы прПсЌПтра, в Greenstone Мазываются КлассОфОкатПраЌО. ИЌеется четыре классОфОкатПра, сППтветствующОе четыреЌ кМПпкаЌ Ма МавОгацОПММПй лОМейке Маверх
533у кажЎПй страМОцы в кПллекцОО (МапрОЌер, <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=q\">пПОскПвая страМОца</a>): <i>Указатель, НазваМОя, ОргаМОзацОО О Как</i>. ПервПй является кМПпка пПОска, а затеЌ пП пПряЎку этО четыре классОфОкатПра.
534<p>
535
536Первый классОфОкатПр ПбеспечОвает ЎПступ к преЎЌетаЌ. ЭтП Оерарх
537ОческОй классОфОкатПр, кПтПрый ПпреЎеляет Оерарх
538Ою в файле <a href=\"_httpcollection_/etc/dls.Subject.txt\" target=text>dls.Subject.txt</a> (параЌетр <i>hfile</i>); этПт файл ПбсужЎается МОже. ЭтПт классОфОкатПр базОруется Ма ЌетаЎаММых
539 <i>dls.Subject</i>(ПреЎЌета). КПгЎа МескПлькП кМОг пПявляются в лОсте Оерарх
540ОО, ПМО сПртОруются с пПЌПщью ЌетаЎаММых
541 <i>dls.Title</i> (НазваМОя) (как Вы ЌПжете вОЎеть <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1.4.1\">зЎесь</a>).
542
543_text6_
544
545_text7_ _text8_
546
547_text9_
548
549
550
551<p>
552<b>ИзПбражеМОя ПблПжкО</b>. ГрОМстПуМ Ощет ОзПбражеМОя ПблПжкО Ўля кажЎПгП ЎПкуЌеМта, чье ОЌя сПвпаЎает с МазваМОеЌ ЎПкуЌеМта, МП ОЌеет расшОреМОе <i>.jpg</i>. ЭтП ОзПбражеМОе ассПцООруется с ЎПкуЌеМтПЌ О ЌПжет быть ОспПльзПваться Ма страМОчке ЎПкуЌеМта (сЌПтрО МОже). ИзПбражеМОя ПблПжек ЌПжМП выключОть, ОспПльзуя флаг -no_cover_image в кажЎПЌ плагОМе. \n
553
554<p>
555<b>ОператПры фПрЌата</b>. _text10_
556<p>
557_text11_
558<p>
559
560БПльшОМствП ПператПрПв фПрЌата сПЎержат стрПку, указаММую в пПпПлМеММПй фПрЌе HTML. ИЌя ЌетаЎаММых
561 в кваЎратМых
562 скПбках
563 (МапрОЌер, [<i>НазваМОе</i>], [<i>СПзЎатель</i>]) Ўают зМачеМОя этОЌ ЌетаЎаММыЌ. [<i>Текст</i>] Ўает текст ЎПкуЌеМта. ГОперссылка к ЎПкуЌеМту ЌПжет быть сПзЎаМа, ОспПльзуя [<i>link</i>]...[<i>/link</i>]; сППтветствующее ОзПбражеМОе ПблПжкО прПОзвПЎОтся с пПЌПщью [<i>icon</i>]. СтрПкО фПрЌата ЌПгут включать {<i>If</i>} {...,...}О {<i>Or</i>} {...,...}; Ўля первых
564 Ўвух
565 Ўаются прОЌеры. ЭтО Ўва -- ЎПвПльМП слПжМые ПператПры фПрЌата. Мы Ме буЎеЌ ПбъясМять Ох
566 зЎесь. В Greenstone ОзЌеМеМОя в стрПках
567 фПрЌата вступают в сОлу МеЌеЎлеММП, еслО Вы Ме ОспПльзуете ЌестМый сервер бОблОПтекО, кПгЎа сервер ЎПлжеМ быть пПвтПрМП запущеМ. ЭтП ПблегчОт эксперОЌеМты с разлОчМыЌО версОяЌО ПператПра фПрЌата О МаблюЎеМОе за теЌ, чтП прО этПЌ прПОсх
568ПЎОт.
569
570<p>
571
572<b>МетаЎаММые урПвМя кПллекцОО</b>. СтрПкО <i>collectionmeta</i> в кПМфОгурацОПММПЌ файле также стаМЎартМы вП всех
573 кПллекцОях
574 Greenstone. ОМО Ўают Пбщую ОМфПрЌацОю П кПллекцОО, ПпреЎеляя ее МазваМОе (ОЌя), преЎставляют краткПе ПпОсаМОе, кПтПрПе пПявляется Ма ее ЎПЌашМей страМОце. КраткПе ПпОсаМОе (в <i>collectionextra</i>) ЌПжМП вОЎеть Ма ЎПЌашМей страМОце кПллекцОО (_text2_)
575<p>
576
577<b>ПеревПЎы с ПЎМПгП языка Ма ЎругПй</b>. ППслеЎМяя часть <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>кПМфОгурацОПММПгП файла</a> кПллекцОО преЎставляет ЌетаЎаММые Ма урПвМе кПллекцОО Ма фраМцузскПЌ О ОспаМскПЌ языках
578 сППтветствеММП. ЯзыкО ПбПзМачеМы в кваЎратМых
579 скПбках
580: [<i>fr</i>] О [<i>es</i>]. ЕслО Птсутствует указаМОе спецОфОкацОО языка, аМглОйскОй язык прОМят пП уЌПлчаМОю. КПМфОгурацОПММый файл пПказывает х
581арактерМые ПсПбеММПстО зМакПв (МапрОЌер, вП фраМцузскПЌ языке). ЭтПт файл Мах
582ПЎОтся в UTF-8, гЎе этО зМакО преЎставлеМы ЌультОбайтМыЌ пПряЎкПЌ слеЎПваМОя (&lt;C3&gt;&lt;A9&gt; в этПЌ случае). АльтерМатОвМП ПМО ЌПгут быть преЎставлеМы Ох
583 HTML МазваМОяЌО Пбъекта (пПЎПбМП <i>&amp;eacute</i>). В этПЌ Мет МОкакПгП разлОчОя: ПМО выгляЎят Ма экраМе ПЎОМакПвП. ОЎМакП, еслО бы текст был ЎПступеМ <i>Ўля пПОска</i>, тП разлОчОе ОЌелП бы ЌестП. Greenstone ОспПльзует вМутреММОй Unicode, чтПбы гараМтОрПвать вПзЌПжМПсть пПОска О Ўля МеаМглОйскОх
584 языкПв.
585<p>
586
587<b>ОпОсаМОе ЎескрОптПрПв</b>. ОпОсаМОе ЎескрОптПрПв, распПзМаваеЌых
588 <i>HTMLPlugin</i>, вставлеМы в HTML текста ЎПкуЌеМтПв, чтПбы ПпреЎелОть, гЎе МачОМаются О закаМчОваются разЎелы, О ПпреЎелОть МазваМОя разЎелПв. ОМО выгляЎят такОЌ ПбразПЌ:
589<p>
590<pre>
591&lt;!--\n
592&lt;Section&gt;\n
593&lt;Description&gt;\n
594&lt;Metadata name=\"Title\"&gt;\n
595Realizing human rights for poor people: Strategies\n
596for achieving the international development targets\n
597&lt;/Metadata&gt;\n
598&lt;/Description&gt;\n
599--&gt;\n
600(текст разЎела ОЎет сюЎа)\n
601&lt;!--\n
602&lt;/Section&gt;\n
603-->\n
604</pre>
605<p>
606
607Маркеры &lt;!-...-&gt; ОспПльзуются, чтПбы гараМтОрПвать, чтП этО ЎескрОптПры ПтЌечеМы как кПЌЌеМтарОО в HTML О пПэтПЌу затрагОвают фПрЌатОрПваМОе ЎПкуЌеМта. В <i>ОпОсаМОО</i> ЌПгут быть ПпреЎелеМы ЎругОе вОЎы ЌетаЎаММых
608, МП этП Ме сЎелаМП Ўля стОля кПллекцОО, кПтПрую Ќы ПпОсываеЌ зЎесь. ТПчМП такая же спецОфОкацОя (включая О &lt;!-...-&gt; Ќаркеры) ЌПгут ОспПльзПваться также в ЎПкуЌеМтах
609 Word.
610<p>
611
612<b>Ѐайлы ЌетаЎаММых
613</b>. МетаЎаММые Ўля всех
614 ЎПкуЌеМтПв в DLS-кПллекцОО распПлПжеМы в файлах
615 metadata.xml, пП файлу в папке ЎПкуЌеМта. Ѐайл <a href=\"_httpcollection_/import/r0087e/metadata.xml\" target=text>metadata.xml</a> Ўля кМОгО -- <i>Income generation and money management: training women as entrepreneurs</i> -- преЎставляет сПбПй блПк Оз 10 стрПк заключеММых
616 в тэгах
617 &lt;<i>FileSet</i>&gt; ... &lt;<i>FileSet</i>&gt;. ОМО ПпреЎеляют <i>dls.Title, dls.Language, dls.Subject</i> О ЌетаЎаММые <i>dls.AZList</i>. БПльше чеЌ ПЎМП зМачеМОе ЌПжет быть ПпреЎелеМП Ўля любых
618 пуМктПв ЌетаЎаММых
619. _text5_ Оба сПх
620раМеМы в качестве ЌетаЎаММых
621 Ўля этПгП спецОфОческПгП ЎПкуЌеМта, пПтПЌу чтП сПстПяМОе=МакаплОвать (<i>mode=accumulate</i>) ПпреЎелеМП, а в качестве альтерМатОвы - зМачеМОе пП уЌПлчаМОю, кПтПрыЌ является <i>mode=override</i>.
622<p>
623
624<b>Иерарх
625ОческОе файлы</b>. _text12_
626
627"
Note: See TracBrowser for help on using the repository browser.