source: collections/documented-examples/trunk/marc-e/etc/collect.cfg@ 19068

Last change on this file since 19068 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: 27.5 KB
Line 
1creator [email protected]
2maintainer [email protected]
3public true
4
5buildtype mgpp
6
7indexes text Title
8defaultindex text
9
10levels document
11
12plugin ZIPPlugin
13plugin GreenstoneXMLPlugin
14plugin MetadataXMLPlugin
15plugin MARCPlugin
16plugin ArchivesInfPlugin
17plugin DirectoryPlugin
18
19classify AZCompactList -metadata Title -removesuffix \\s*(\\/|;|,|\\.).*
20classify AZCompactList -metadata Creator -removesuffix (b\\.\\s+)?(\\d+(\\-?))(\\d+(\\.)?)? -mingroup 1
21classify AZCompactList -metadata Subject -mingroup 1
22
23format VList "<td valign=\"top\">[link][icon][/link]</td>
24<td valign=\"top\">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
25<td valign=\"top\">[highlight]
26{Or}{[dc.Title],[exp.Title],[ex.Title],Untitled}
27[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
28
29format CL1VList "<td>[link][icon][/link]</td><td>[Title]{If}{[Creator], <i>[Creator]</i>}{If}{[Publisher], <i>[Publisher]</i>}</td><td>{If}{[numleafdocs],<i>([numleafdocs])</i>}</td>"
30format CL2VList "<td>[link][icon][/link]</td><td>{If}{[numleafdocs],[Title],[Creator]; <i>[Title]</i>{If}{[Publisher], <i>[Publisher]</i>}}</td><td>{If}{[numleafdocs],<i>([numleafdocs])</i>}</td>"
31format CL3VList "<td>[link][icon][/link]</td><td>{If}{[numleafdocs]{[Title],[Title]{If}{[Creator], [Creator]}{If}{[Publisher], [Publisher]}}</td><td>{If}{[numleafdocs],<i>([numleafdocs])</i>}</td>"
32
33format HList "[link][highlight][ex.Title][/highlight][/link]"
34
35format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"
36
37format DocumentText "[Text]"
38
39format DocumentButtons ""
40
41format SearchTypes "plain,form"
42
43collectionmeta .document:Source [l=en] "filenames"
44collectionmeta .text [l=en] "text"
45collectionmeta .Title [l=en] "titles"
46collectionmeta .Source [l=en] "filenames"
47
48
49# -- English strings ----------------
50collectionmeta collectionname [l=en] "MARC example"
51
52collectionmeta .document:text [l=en] "text"
53collectionmeta .document:Title [l=en] "titles"
54
55# -- French strings ----------------
56collectionmeta collectionname [l=fr] "Exemple MARC"
57
58collectionmeta .document:text [l=fr] "text"
59collectionmeta .document:Title [l=fr] "titres"
60
61# -- Spanish strings ----------------
62collectionmeta collectionname [l=es] "Colección de muestra MARC"
63
64collectionmeta .document:text [l=es] "texto"
65collectionmeta .document:Title [l=es] "títulos"
66
67# -- Russian strings ----------------
68collectionmeta collectionname [l=ru] "ПрОЌер MARC"
69
70collectionmeta .document:text [l=ru] "текст"
71collectionmeta .document:Title [l=ru] "НазваМОя"
72
73# -- English text ----------------
74collectionmeta collectionextra [l=en] "This collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
75<a href=\"http://www.cs.waikato.ac.nz\">Computer Science Department</a> at <a href=\"http://www.waikato.ac.nz\">the University of Waikato</a>.
76<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=HASH0127daf20f8b3eec5c5db834s9\">Here</a> is a sample document in the collection.
77
78<h3>How the collection works</h3>\n
79
80<p>
81The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration file</a> uses <i>ZIPPlug</i> and <i>MARCPlug</i>, apart from the
82standard four. There are three classifiers, based on <i>Title</i>,
83<i>Creator</i>, and <i>Subject</i> metadata. All are <i>AZCompactList</i>
84classifiers, and all specify a <i>mingroup</i> of 1. This
85forces them to create a bookshelf icon even if there is only one
86item on the shelf (like
87<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">this</a>).
88
89The reason is aesthetic: the list has a uniform appearance: all items look the same, including
90one-book entries. (Of course, if you don\'t like this style, just leave out the <i>mingroup</i>
91argument.) A second argument for the <i>Title</i> and <i>Creator</i>
92classifiers removes suffixes from the metadata string (<i>Title</i> and
93<i>Creator</i> respectively). This is specified as a PERL regular
94expression, and trims characters (such as trailing punctuation)
95from the strings for display. The three format statements are
96similar: in particular, they each put out the number of leaf
97documents on the right-hand side of the display, as you can see
98<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">here</a>.\n
99<p>
100
101The MARC plugin uses a special file to map MARC field numbers to
102Greenstone-style metadata. This file resides in the
103<i>gsdl/etc</i> directory, and is called
104<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>marctodc.txt</a>.
105It lists the correspondences between MARC field numbers and Greenstone
106metadata. Any MARC fields that are not listed simply do not
107appear as metadata, though they are still present in the
108Greenstone document. Each line in the file has the format
109<blockquote>
110&lt;MARC field number&gt; --&gt; GreenstoneMetadataName
111</blockquote>
112Lines in the file that begin with \"\#\" are comments (however, comments
113have been stripped out of the listing below).\n
114<p>
115The standard version of this file is loosely based on
116the MARC to Dublin Core mapping found at <a
117href=\"http://lcweb.loc.gov/marc/dccross.html\">http://lcweb.loc.gov/marc/dccross.html</a>
118(which assumes USMARC/MARC21), and contains these lines:\n
119<p>
120<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>gsdl/etc/marctodc.txt</a>
121<br>\n
122720 --&gt; Creator
123<br>\n
124100 --&gt; Creator
125<br>\n
126110 --&gt; Creator
127<br>\n
128111 --&gt; Creator
129<br>\n
130520 --&gt; Description
131<br>\n
132856 --&gt; URL
133<br>\n
134260 --&gt; Publisher
135<br>\n
136787 --&gt; Relation
137<br>\n
138540 --&gt; Rights
139<br>\n
140024 --&gt; MarcIdentifier
141<br>\n
142786 --&gt; MarcSource
143<br>\n
144546 --&gt; MarcLanguage
145<br>\n
146650 --&gt; Subject
147<br>\n
148653 --&gt; Subject
149<br>\n
150245 --&gt; Title
151<br>\n
152655 --&gt; Type\n
153<p>
154
155Several different MARC fields are mapped on to Dublin Core <i>Creator</i>.
156Field 720 is \"Uncontrolled name,\" 100 is \"Personal name,\" 110 is
157\"Corporate name,\" 111 is \"Meeting name.\" Actual MARC records normally
158define only one of these fields, and anyway Greenstone allows
159multi-valued metadata.\n
160<p>
161MARC field 520 (\"Summary, note\") is mapped to
162Dublin Core <i>Description</i>; field 856 (\"Electronic location\") is mapped to
163<i>URL</i>; field 787 (\"Nonspecific relationship note\") to Relation; field 540
164(\"Reproduction note\") to <i>Rights</i>; field 245 (\"Title statement\") to
165<i>Title</i>; field 655 (\"Index term - genre/form\") to <i>Type</i>. Both fields 650
166(\"Subject: topical term\") and 653 (\"Index term: uncontrolled\") are
167mapped to <i>Subject</i>.\n
168<p>
169MARC field 024 (\"Identifier\") is not mapped to Greenstone metadata,
170because Greenstone uses its own <i>Identifier</i> metadata; instead it is
171mapped to a different Greenstone metadata element called
172<i>MarcIdentifier</i>. Likewise field 786 (\"Data source entry\") is not mapped
173to <i>Source</i>, because Greenstone has <i>Source</i> metadata, but to a new
174metadata field called <i>MarcSource</i> instead; and field 546 (\"Language\") is
175mapped to <i>MarcLanguage</i>.\n
176<p>
177Some MARC fields with Dublin Core
178counterparts are simply ignored, e.g. 620 (<i>Contributor</i>) and 500
179(<i>Coverage</i>). MARC field 260 is called \"Publication, etc\") and is mapped
180in its entirety to <i>Publisher</i>. In fact, field 260c (a subfield) is
181supposed to be publication date, but is not mapped as such.\n
182<p>
183Of course, different mappings can be defined by altering the above
184file-which allows the MARC plugin to support other variants of the MARC
185format. The plugin does not recognize individual MARC subfields: it
186simply concatenates them together. However, enhancing it to deal
187appropriately with subfields would not be a difficult job: it would
188involve altering a couple of pages of PERL code in the MARC plugin.
189"
190
191# -- French text ----------------
192collectionmeta collectionextra [l=fr] "Cette collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
193<a href=\"http://www.cs.waikato.ac.nz\">Computer Science Department</a> at <a href=\"http://www.waikato.ac.nz\">the University of Waikato</a>.
194<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=HASH0127daf20f8b3eec5c5db834s9\">Voici</a> un document échantillon dans la collection.
195
196<h3>Comment marche cette collection ?</h3>
197
198<p>
199Le <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>fichier de configuration</a> utilise <i>ZipPlug</i> et <i>MarcPlug</i> à coté des trois qui sont utilisés en standard.
200Il y a trois classificateurs basés sur les méta-données <i>Title</i>, <i>Creator</i> et <i>Subject</i>.
201Tous sont dans des classificateurs <i>AZCompact</i> et tous précisent un <i>mingroup</i>
202de 1. Ceci les oblige à créer une icÎne de rayon de livres, même s\'il n\'y a qu\'un seul élément dans le rayon (comme <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">celui-ci</a>).
203
204La raison est d\'ordre esthétique : la liste a une apparence uniforme; tous les éléments
205se ressemblent, y compris les entrées ne contenant qu\'un seul livre. (Evidement, si vous n\'aimez pas ce style, abandonnez simplement l\'argument <i>mingroup</i>). Un deuxiÚme argument pour les classificateurs <i>Title</i> et <i>Creator</i> enlÚvent les suffixes de la chaîne de méta-données
206(<i>Title</i> et <i>Creator</i> respectivement). Ceci est spécifié comme une expression
207réguliÚre de PERL et ajuste pour l\'affichage des caractÚres (comme une ponctuation finale). Les trois déclarations de mise en forme sont identiques : en particulier, elles sortent le nombre de documents en bout de l\'arborescence dans le cÎté droit de l\'affichage, comme on le voit <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">ici</a>.
208
209<p>
210Le module Marc utilise un fichier spécial pour la mise en correspondance des numéros de champ MARC avec les méta-donnée de type Greenstone. Ce fichier se trouve dans le répertoire <i>gsdl/etc</i>,
211et est appelé <a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>marctodc.txt</a>. Il liste les correspondences entre les numéros de champ MARC et les méta-données Greenstone. Tous les champs MARC qui ne sont pas listés ne vont pas apparaître comme méta-données, bien qu\'ils spient toujours présents dans le document Greenstone. Chaque ligne dans le fichier à le format:
212
213<blockquote>
214&lt;numéro de champ MARC&gt; --&gt; NonMetadonnéeGreenstone
215</blockquote>
216
217Les lignes dans le fichier qui commence par \"\#\" sont des commentaires (cependant, les commentaires ont été enlevées du listing ci-dessous).
218
219<p>
220La version standard de ce fichier est approximativement basée sur la mise en correspondance MARC - Dublin Core trouvé à <a href=\"http://lcweb.loc.gov/marc/dccross.html\">http://lcweb.loc.gov/marc/dccross.html</a>
221(qui suppose USMARC/MARC21), et contient ces lignes :
222<p>
223<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>gsdl/etc/marctodc.txt</a>
224<br>
225720 --&gt; Creator
226<br>
227100 --&gt; Creator
228<br>
229110 --&gt; Creator
230<br>
231111 --&gt; Creator
232<br>
233520 --&gt; Description
234<br>
235856 --&gt; URL
236<br>
237260 --&gt; Publisher
238<br>
239787 --&gt; Relation
240<br>
241540 --&gt; Rights
242<br>
243024 --&gt; MarcIdentifier
244<br>
245786 --&gt; MarcSource
246<br>
247546 --&gt; MarcLanguage
248<br>
249650 --&gt; Subject
250<br>
251653 --&gt; Subject
252<br>
253245 --&gt; Title
254<br>
255655 --&gt; Type
256
257<p>
258Plusieurs champs MARC mis en correspodance avec <i>Creator</i> de Dublin Core. Le champ 720 est \"Uncontrolled name,\" 100 est \"Personal Name,\" 110 est \"Corporate Name,\" 111 est \"Meeting Name.\" Les enregistrements MARC actuels définissent normallement seulement un de ces champs, et de toutes les façons Greenstone permet des méta-données à valeurs multiples.
259
260<p>
261Le champ MARC520 (\"Summary note\") est mis en correspodance avec <i>Description</i> de Dublin Core; le champ 856 (\"Electronic location\") mis en correspondance avec <i>URL</i>; champ 787 (\"Nonspecific relationship note\") avec <i>Relation</i>; le champ 540 (\"Reproduction note\") avec <i>Rights</i>; le champ 245 (\"Title statement\") avec <i>Title</i> ; le champ 655 (\"Index term-genre/form\") avec <i>Type</i>. Les deux champs 650 (\"Subject: topical term\") et 653 (\"Index term: incontrolled\")
262sont mis en correspondance avec <i>Subject</i>.
263
264<p>
265Le champ MARC 024 (\"Identifier\") n\'est pas mis en correspondance avec avec des méta-données Greenstone parce que Greenstone utilise sa propre méta-donnée <i>Identifier</i>; à la place il est mis en correspondance avec autre méta-donnée Greenstone appelée <i>MarcIdentifier</i>. De même, le champ 786 (\"Data source entry\") n\'est pas mis en correspodance avec <i>Source</i>, parce que Greenstone a une méta-donnée <i>Source</i>, mais avec un nouveau champ de méta-donnée applelé <i>MarcSource</i>; et le champ 546 (\"Language\") est mis en correspondance avec <i>MarcLanguage</i>.
266
267<p>
268Quelques champs MARC avec des correspondances Dublin Core sont tout simplement ignorés, p. ex: 620 (<i>Contributor</i>) et 500 (<i>Coverage</i>). Le champ MARC 260 est appelé \"Publication, etc\"
269et est mis en correspondance dans sa globalité avec <i>Publisher</i>. En fait, le champ 260c (un \"sous-champ\") est supposé être une date de publication mais n\'est pas mis en correspondance comme tel.
270
271<p>
272Naturellement, plusieurs mises en correspondances peuvent être définies en modifiant les fichiers ci-dessus, ce qui permet au plugin MARC de supporter les autres variantes du format MARC.
273Le plugin ne reconnaît pas les sous-champs MARC: Il les concatÚne tout simplement.
274Cependant, l\'améliorer pour traiter convenablement avec les sous-champs ne devrait pas être un travail difficile: cela impliquerait la modification de quelques pages de code PERL dans
275le plugin Marc.
276"
277
278# -- Spanish text ----------------
279collectionmeta collectionextra [l=es] "Esta colección, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
280<a href=\"http://www.cs.waikato.ac.nz\">Computer Science Department</a> at <a href=\"http://www.waikato.ac.nz\">the University of Waikato</a>. He <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=HASH0127daf20f8b3eec5c5db834s9\">aquí</a> un documento muestra de la colección.
281<p>
282
283<h3>Cómo trabaja esta colección</h3>
284<p>
285
286El <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a> utiliza <i>ZIPPlug</i> y <i>MARCPlug</i> además de los tres plugins estándar. Existen tres clasificadores basados en los metadatos <i>Título</i>, <i>Creador</i> y <i>Asunto</i>. Todos son clasificadores <i>AZCompactList</i> y todos especifican un <i>mingroup</i> de 1. Esto los fuerza a crear un icono de estante inclusive si sólo hay un ítem en el estante (<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">de esta manera</a>). La razón es puramente estética: La lista tiene una apariencia uniforme en la que todos los ítems se ven iguales, incluyendo entradas de un solo libro. (Por supuesto, si no le gusta este estilo, sólo tiene que dejar fuera el argumento <i>mingroup</i>). Un segundo argumento para los clasificadores de <i>Título</i> y <i>Creador</i> quita los sufijos de la cadena del metadato (Título y Creador, respectivamente). Esto se especifica como una expresión regular PERL y ordena los caracteres (como la puntuación que se encuentra al final) a partir de las cadenas para su presentación en pantalla. Los tres enunciados de formato son similares: en particular, cada uno de ellos muestra el número de documentos a la derecha de la pantalla, tal como se puede ver <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">aquí</a>.
287<p>
288
289El plugin de MARC utiliza un archivo especial para mapear y convertir los números de campo MARC a metadatos estilo Greenstone. Este archivo reside en el directorio <i>gsdl/etc</i> y se llama <a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>marctodc.txt</a>. Incluye una lista de las correspondencias entre los números de campo MARC y los metadatos Greenstone. Cualquier campo MARC que no esté incluido en la lista simplemente no aparece como metadato, aunque siga estando presente en el documento Greenstone. Cada línea del archivo tiene el siguiente formato:
290<p>
291
292<blockquote>
293&lt;MARC field number&gt; --&gt; GreenstoneMetadataName
294</blockquote>
295<p>
296
297Las líneas en el archivo que empiezan con \"\#\" son comentarios. (Los comentarios no han sido incluidos en la lista que aparece más abajo).
298<p>
299
300La versión estándar de este archivo se basa libremente en el mapeo de MARC a Dublin Core que se encuentra en <a href=\"http://lcweb.loc.gov/marc/dccross.html\">http://lcweb.loc.gov/marc/dccross.html</a> (el cual asume USMARC/MARC21) y contiene las siguientes líneas:
301<p>
302
303<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>gsdl/etc/marctodc.txt</a>
304<br>\n
305720 --&gt; Creator
306<br>\n
307100 --&gt; Creator
308<br>\n
309110 --&gt; Creator
310<br>\n
311111 --&gt; Creator
312<br>\n
313520 --&gt; Description
314<br>\n
315856 --&gt; URL
316<br>\n
317260 --&gt; Publisher
318<br>\n
319787 --&gt; Relation
320<br>\n
321540 --&gt; Rights
322<br>\n
323024 --&gt; MarcIdentifier
324<br>\n
325786 --&gt; MarcSource
326<br>\n
327546 --&gt; MarcLanguage
328<br>\n
329650 --&gt; Subject
330<br>\n
331653 --&gt; Subject
332<br>\n
333245 --&gt; Title
334<br>\n
335655 --&gt; Type\n
336<p>
337
338
339Varios campos MARC diferentes han sido mapeados hacia el metadato <i>Creator</i> (Creador) de Dublin Core. El campo 720 es \"nombre no controlado\", el 100 es \"nombre de la persona\", el 110 es \"nombre de la compañía\" y el 111 es \"nombre de la reunión\". Por lo general los registros MARC únicamente definen uno de estos campos y de cualquier manera Greenstone permite metadatos con múltiples valores.
340<p>
341
342El campo 520 de MARC (\"Resumen, nota\") ha sido mapeado hacia el metadato <i>Description</i> (Descripción) de Dublin Core; el campo 856 (\"Dirección electrónica\") ha sido mapeado hacia URL; el campo 787 (\"Nota de relación no específica\") hacia <i>Relation</i> (Relación); el campo 540 (\"nota sobre la reproducción\") hacia <i>Rights</i> (Derechos de autor); el campo 245 (\"enunciado del título\") hacia <i>Title</i> (Título); el campo 655 (\"término del índice - género/forma\") hacia <i>Type</i> (Tipo). Los campos 650 (\"Asunto: tópico\") y 653 (\"término del índice: no controlado\") han sido mapeados hacia <i>Subject</i> (Asunto).
343<p>
344
345El campo 024 de MARC (\"Identificador\") no ha sido mapeado hacia un metadato de Greenstone, ya que Greenstone utiliza su propio metadato <i>Identificador</i>. En vez de eso ha sido mapeado hacia un elemento de metadato Greenstone diferente llamado <i>MarcIdentifier</i>. Del mismo modo el campo 786 (\"Entrada de la fuente del dato\") no ha sido mapeado hacia <i>Source</i> (Fuente), ya que Greenstone tiene su propio metadato <i>Fuente</i>, sino a un nuevo campo llamado <i>MarcSource</i>; y el campo 546 (\"Idioma\") ha sido mapeado hacia <i>MarcLanguage</i>.
346<p>
347
348Algunos campos MARC con contraparte en Dublin Core simplemente se han ignorado, p. ej. el 620 (<i>Colaborador</i>) y 500 (<i>Cobertura</i>). El campo 260 de MARC se llama \"Publicación, etc.\" y ha sido mapeado en su totalidad hacia <i>Editorial</i>. De hecho, se supone que el campo 260c (un subcampo) es la fecha de publicación, pero no se ha mapeado como tal.
349<p>
350
351Sin duda se pueden definir diferentes mapeos alterando los archivos que se indican arriba y que le permiten al plugin de MARC dar soporte a otras variantes del formato MARC. El plugin no reconoce subcampos MARC individuales, simplemente los concatena. Sin embargo, mejorarlo para que trate de forma adecuada los subcampos no debería ser una tarea difícil. Esto implicaría alterar un par de páginas de código PERL en el plugin de MARC.
352"
353
354# -- Russian text ----------------
355collectionmeta collectionextra [l=ru] "This collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
356<a href=\"http://www.cs.waikato.ac.nz\">Computer Science Department</a> at <a href=\"http://www.waikato.ac.nz\">the University of Waikato</a>. <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=HASH0127daf20f8b3eec5c5db834s9\">ЗЎесь</a> преЎставлеМ тОпПвПй ЎПкуЌеМт ЎаММПй кПллекцОО.
357
358<h3>Как рабПтает кПллекцОя</h3>
359<p>
360
361<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>КПМфОгурацОПММый файл</a> ОспПльзует плагОМы <i>ZIPPlug</i> О <i>MARCPlug</i>, пПЌОЌП третьегП стаМЎарта. ИЌеются трО классОфОкатПра, ПсМПваММые Ма ЌетаЎаММых
362 <i>НазваМОя (Title)</i>, <i>СПзЎателя(Creator)</i> О <i>ПреЎЌета (Subject)</i>. Все ПМО являются классОфОкатПраЌО <i>AZCompactList</i> О все ПпреЎеляют <i>mingroup</i> 1. ЭтП выМужЎает Ох
363 сПзЎавать ОкПМку кМОжМПй пПлкО, Ўаже в тПЌ случае, еслО ОЌеется тПлькП ПЎОМ преЎЌет Ма пПлке (пПЎПбМП пПказаММПЌу <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">зЎесь</a>). ПрОчОМа этПгП чОстП эстетОческая: спОсПк выгляЎОт ПЎМПрПЎМыЌ, все преЎЌеты сЌПтрятся ПЎОМакПвП, включая О еЎОМствеММую кМОгу. В тПЌ случае, еслО Вы Ме любОте этПт стОль, прПстП прПпустОте параЌетр <i>mingroup</i>. ВтПрПй параЌетр Ўля классОфОкатПрПв <i>НазваМОе</i> О <i>СПзЎатель</i> уЎаляют суффОксы Оз стрПкО ЌетаЎаММых
364 (<i>НазваМОе</i> О <i>СПзЎатель</i>, сППтветствеММП). ЭтП требует устаМПвкО PERL Ўля правОльМПгП выражеМОя, О урезает зМакО (тОпа кПМечМых
365 зМакПв препОМаМОя) Оз стрПкО Ўля ПтПбражеМОя. ТрО параЌетра фПрЌата являются сх
366ПЎМыЌО: в частМПстО кажЎый Оз МОх
367 вывПЎОт чОслП ЎПкуЌеМтПв в лОсте Ма правую стрПМу ЎОсплея, чтП Вы ЌПжете вОЎеть <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">зЎесь</a>.
368<p>
369
370ПлагОМ MARC ОспПльзует спецОальМый файл Ўля сПпПставлеМОя МПЌера пПля в MARC О ЌетаЎаММых
371 Greenstone. ЭтПт файл Мах
372ПЎОтся в ЎОректПрОО <i>gsdl/etc</i> О Мазывается <a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>marctodc.txt</a>. ОМ преЎставляет спОсПк сППтветствОя ЌежЎу МПЌераЌО пПлей сОстеЌы MARC О ЌетаЎаММыЌО Greenstone. ᅵюбые пПля MARC, кПтПрые Ме вМесеМы в спОсПк, прПстП Ме пПявляются как ЌетаЎаММые, х
373Птя ПМО прОсутствуют в ЎПкуЌеМте Greenstone. КажЎая стрПка в этПЌ файле ОЌеет слеЎующОй фПрЌат.
374
375<blockquote>
376&lt;MARC field number&gt; --&gt; GreenstoneMetadataName
377</blockquote>
378СтрПкО в ЎаММПЌ файле, кПтПрые МачОМаются сП зМака \"\#\", являются кПЌЌеМтарОяЌО (ПЎМакП, кПЌЌеМтарОО ЌПгут быть уЎалеМы Оз распечаткО, ЎаММПй МОже).
379<p>
380
381СтаМЎартМая версОя этПгП файла свПбПЎМП базОруется Ма MARC в ПпОсаМОО Dublin Core, кПтПрПе вПспрОМОЌает USMARC/MARC21 О кПтПрПе ЌПжМП МайтО Ма <a href=\"http://lcweb.loc.gov/marc/dccross.html\">http://lcweb.loc.gov/marc/dccross.html</a>. ОМ сПЎержОт слеЎующОе стрПкО:
382<p>
383
384<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>gsdl/etc/marctodc.txt</a>
385<br>\n
386720 --&gt; СПзЎатель
387<br>\n
388100 --&gt; СПзЎатель
389<br>\n
390110 --&gt; СПзЎатель
391<br>\n
392111 --&gt; СПзЎатель
393<br>\n
394520 --&gt; ОпОсаМОе
395<br>\n
396856 --&gt; URL
397<br>\n
398260 --&gt; ИзЎатель
399<br>\n
400787 --&gt; ОтМПшеМОе
401<br>\n
402540 --&gt; Права
403<br>\n
404024 --&gt; ИЎеМтОфОкатПр MARC
405<br>\n
406786 --&gt; ИстПчМОк MARC
407<br>\n
408546 --&gt; Язык MARC
409<br>\n
410650 --&gt; ПреЎЌет
411<br>\n
412653 --&gt; ПреЎЌет
413<br>\n
414245 --&gt; НазваМОе
415<br>\n
416655 --&gt; ТОп
417<p>
418
419НескПлькП разлОчМых
420 пПлей фПрЌата MARC вМесеМы в <i>Creator</i> Dublin Core. ППле 720 -- «НекПМтрПлОруеЌПе ОЌя», 100 -- «ПерсПМальМПе МазваМОе», 110 -- «КПрпПратОвМПе МазваМОе», 111 -- «НазваМОе встреч». ЀактОческОе запОсО в фПрЌате MARC ПбычМП ПпреЎеляют тПлькП ПЎМП Оз этОх
421 пПлей, теЌ бПлее, чтП Greenstone ЎПпускает ЌМПгПзМачМые ЌетаЎаММые.
422<p>
423
424ППле MARC 520 («РезюЌе, ПбратОте вМОЌаМОе»), вМесеМП в <i>ОпОсаМОе (Description)</i> Dublin Core, пПле 856 («ЭлектрПММПе ЌестПпПлПжеМОе») сППтМесеМП к <i>URL</i>; пПле 787 («НеспецОфОческая запОсь ПтМПшеМОй») к ОтМПшеМОю; пПле 540 («ПрОЌечаМОе П вПспрПОзвеЎеМОО») к <i>ПраваЌ</i>; пПле 245 («ОператПр <i>НазваМОя</i>») к <i>НазваМОю</i>; пПле 655 («ИМЎексМый терЌОМ -- жаМр/фПрЌа») к <i>ТОпу</i>. Оба пПля 650 («ПреЎЌет: теЌатОческОй терЌОМ») О 653 (« ИМЎексМый терЌОМ: МекПМтрПлОруеЌый») ПтМесеМ к <i>ПреЎЌету</i>.
425<p>
426
427ППле MARC 024 («ИЎеМтОфОкатПр») Ме сПпПставлеМП с ЌетаЎаММыЌО Greenstone, пПтПЌу чтП в Greenstone ОспПльзуются сПбствеММые ЌетаЎаММые. <i>ИЎеМтОфОкатПр</i>; вЌестП этПгП разлОчМыЌ ЌетаЎаММыЌ Greenstone сПпПставлеМ элеЌеМт MARC, МазываеЌый <i>MarcIdentifier</i>. АМалПгОчМыЌ ПбразПЌ пПле 786 («Дата ввПЎа ОстПчМОка») Ме ПтМесеМа к <i>ИстПчМОку</i>, пПтПЌу чтП Greenstone ОЌеет ЌетаЎаММые <i>ИстПчМОк</i>, МП взаЌеМ этПгП ввеЎеМП МПвПе пПле ЌетаЎаММых
428, МазваММПе <i>MarcSource</i>, а также О пПле 546 («Язык») ПбПзМачеМП как <i>MarcLanguage</i>.
429<p>
430
431НекПтПрые пПля MARC c эквОвалеМтаЌО Dublin Core прПстП ОгМПрОруются, МапрОЌер 620 (<i>УчастМОк</i>) О 500 (<i>Ох
432ват</i>). ППле 260 в MARC Мазывают «ПублОкацОей» О т.ÐŽ.» О еЌу в сППтветствОе пПставлеМП <i>ИзЎатель</i>. ЀактОческО пПле 260 с (пПЎпПле) ЎПлжМП ПзМачать Ўату публОкацОО, МП в такПЌ вОЎе ПМП Ме включеМП.
433<p>
434
435КПМечМП, разлОчМые сППтветствОя ЌПгут быть ПпреЎелеМы путеЌ ОзЌеМеМОя вышеупПЌяМутПгП файла, чтП пПзвПляет плагОМаЌ пПЎЎержОвать ЎругОе варОаМты фПрЌата MARC. ПлагОМ Ме распПзМает ОМЎОвОЎуальМые пПЎпПля MARC: ПМ прПстП связывает Ох
436 вЌесте. ОЎМакП, ЎПвеЎеМОе егП ЎП такПгП урПвМя, чтПбы ОЌеть ЎелП МепПсреЎствеММП с пПЎпПляЌО, Ме былП бы труЎМПй рабПтПй: МаЎП былП бы ОзЌеМОть МескПлькП страМОц прПграЌЌы PERL в плагОМах
437 MARC."
Note: See TracBrowser for help on using the repository browser.