source: documented-example-collections/trunk/marc-e/etc/collect.cfg@ 18793

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

the rest of the documented example collections

  • Property svn:executable set to *
File size: 27.9 KB
Line 
1creator [email protected]
2maintainer [email protected]
3public true
4
5buildtype mgpp
6
7indexes text Title
8defaultindex text
9
10levels document
11
12plugin ZIPPlug
13plugin GAPlug
14plugin MetadataXMLPlug
15plugin MARCPlug
16plugin ArcPlug
17plugin RecPlug
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
48collectionmeta iconcollection [l=en] "_httpprefix_/collect/marcexam/images/en/marcexam.gif"
49collectionmeta iconcollection [l=fr] "_httpprefix_/collect/marcexam/images/fr/marcexam.gif"
50collectionmeta iconcollection [l=es] "_httpprefix_/collect/marcexam/images/es/marcexam.gif"
51collectionmeta iconcollection [l=ru] "_httpprefix_/collect/marcexam/images/ru/marcexam.gif"
52
53# -- English strings ----------------
54collectionmeta collectionname [l=en] "MARC example"
55
56collectionmeta .document:text [l=en] "text"
57collectionmeta .document:Title [l=en] "titles"
58
59# -- French strings ----------------
60collectionmeta collectionname [l=fr] "Exemple MARC"
61
62collectionmeta .document:text [l=fr] "text"
63collectionmeta .document:Title [l=fr] "titres"
64
65# -- Spanish strings ----------------
66collectionmeta collectionname [l=es] "Colección de muestra MARC"
67
68collectionmeta .document:text [l=es] "texto"
69collectionmeta .document:Title [l=es] "títulos"
70
71# -- Russian strings ----------------
72collectionmeta collectionname [l=ru] "ПрОЌер MARC"
73
74collectionmeta .document:text [l=ru] "текст"
75collectionmeta .document:Title [l=ru] "НазваМОя"
76
77# -- English text ----------------
78collectionmeta collectionextra [l=en] "This collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
79<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>.
80<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=HASH0127daf20f8b3eec5c5db834s9\">Here</a> is a sample document in the collection.
81
82<h3>How the collection works</h3>\n
83
84<p>
85The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration file</a> uses <i>ZIPPlug</i> and <i>MARCPlug</i>, apart from the
86standard four. There are three classifiers, based on <i>Title</i>,
87<i>Creator</i>, and <i>Subject</i> metadata. All are <i>AZCompactList</i>
88classifiers, and all specify a <i>mingroup</i> of 1. This
89forces them to create a bookshelf icon even if there is only one
90item on the shelf (like
91<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">this</a>).
92
93The reason is aesthetic: the list has a uniform appearance: all items look the same, including
94one-book entries. (Of course, if you don\'t like this style, just leave out the <i>mingroup</i>
95argument.) A second argument for the <i>Title</i> and <i>Creator</i>
96classifiers removes suffixes from the metadata string (<i>Title</i> and
97<i>Creator</i> respectively). This is specified as a PERL regular
98expression, and trims characters (such as trailing punctuation)
99from the strings for display. The three format statements are
100similar: in particular, they each put out the number of leaf
101documents on the right-hand side of the display, as you can see
102<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">here</a>.\n
103<p>
104
105The MARC plugin uses a special file to map MARC field numbers to
106Greenstone-style metadata. This file resides in the
107<i>gsdl/etc</i> directory, and is called
108<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>marctodc.txt</a>.
109It lists the correspondences between MARC field numbers and Greenstone
110metadata. Any MARC fields that are not listed simply do not
111appear as metadata, though they are still present in the
112Greenstone document. Each line in the file has the format
113<blockquote>
114&lt;MARC field number&gt; --&gt; GreenstoneMetadataName
115</blockquote>
116Lines in the file that begin with \"\#\" are comments (however, comments
117have been stripped out of the listing below).\n
118<p>
119The standard version of this file is loosely based on
120the MARC to Dublin Core mapping found at <a
121href=\"http://lcweb.loc.gov/marc/dccross.html\">http://lcweb.loc.gov/marc/dccross.html</a>
122(which assumes USMARC/MARC21), and contains these lines:\n
123<p>
124<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>gsdl/etc/marctodc.txt</a>
125<br>\n
126720 --&gt; Creator
127<br>\n
128100 --&gt; Creator
129<br>\n
130110 --&gt; Creator
131<br>\n
132111 --&gt; Creator
133<br>\n
134520 --&gt; Description
135<br>\n
136856 --&gt; URL
137<br>\n
138260 --&gt; Publisher
139<br>\n
140787 --&gt; Relation
141<br>\n
142540 --&gt; Rights
143<br>\n
144024 --&gt; MarcIdentifier
145<br>\n
146786 --&gt; MarcSource
147<br>\n
148546 --&gt; MarcLanguage
149<br>\n
150650 --&gt; Subject
151<br>\n
152653 --&gt; Subject
153<br>\n
154245 --&gt; Title
155<br>\n
156655 --&gt; Type\n
157<p>
158
159Several different MARC fields are mapped on to Dublin Core <i>Creator</i>.
160Field 720 is \"Uncontrolled name,\" 100 is \"Personal name,\" 110 is
161\"Corporate name,\" 111 is \"Meeting name.\" Actual MARC records normally
162define only one of these fields, and anyway Greenstone allows
163multi-valued metadata.\n
164<p>
165MARC field 520 (\"Summary, note\") is mapped to
166Dublin Core <i>Description</i>; field 856 (\"Electronic location\") is mapped to
167<i>URL</i>; field 787 (\"Nonspecific relationship note\") to Relation; field 540
168(\"Reproduction note\") to <i>Rights</i>; field 245 (\"Title statement\") to
169<i>Title</i>; field 655 (\"Index term - genre/form\") to <i>Type</i>. Both fields 650
170(\"Subject: topical term\") and 653 (\"Index term: uncontrolled\") are
171mapped to <i>Subject</i>.\n
172<p>
173MARC field 024 (\"Identifier\") is not mapped to Greenstone metadata,
174because Greenstone uses its own <i>Identifier</i> metadata; instead it is
175mapped to a different Greenstone metadata element called
176<i>MarcIdentifier</i>. Likewise field 786 (\"Data source entry\") is not mapped
177to <i>Source</i>, because Greenstone has <i>Source</i> metadata, but to a new
178metadata field called <i>MarcSource</i> instead; and field 546 (\"Language\") is
179mapped to <i>MarcLanguage</i>.\n
180<p>
181Some MARC fields with Dublin Core
182counterparts are simply ignored, e.g. 620 (<i>Contributor</i>) and 500
183(<i>Coverage</i>). MARC field 260 is called \"Publication, etc\") and is mapped
184in its entirety to <i>Publisher</i>. In fact, field 260c (a subfield) is
185supposed to be publication date, but is not mapped as such.\n
186<p>
187Of course, different mappings can be defined by altering the above
188file-which allows the MARC plugin to support other variants of the MARC
189format. The plugin does not recognize individual MARC subfields: it
190simply concatenates them together. However, enhancing it to deal
191appropriately with subfields would not be a difficult job: it would
192involve altering a couple of pages of PERL code in the MARC plugin.
193"
194
195# -- French text ----------------
196collectionmeta collectionextra [l=fr] "Cette collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
197<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>.
198<a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=HASH0127daf20f8b3eec5c5db834s9\">Voici</a> un document échantillon dans la collection.
199
200<h3>Comment marche cette collection ?</h3>
201
202<p>
203Le <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.
204Il y a trois classificateurs basés sur les méta-données <i>Title</i>, <i>Creator</i> et <i>Subject</i>.
205Tous sont dans des classificateurs <i>AZCompact</i> et tous précisent un <i>mingroup</i>
206de 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>).
207
208La raison est d\'ordre esthétique : la liste a une apparence uniforme; tous les éléments
209se 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
210(<i>Title</i> et <i>Creator</i> respectivement). Ceci est spécifié comme une expression
211ré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>.
212
213<p>
214Le 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>,
215et 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:
216
217<blockquote>
218&lt;numéro de champ MARC&gt; --&gt; NonMetadonnéeGreenstone
219</blockquote>
220
221Les lignes dans le fichier qui commence par \"\#\" sont des commentaires (cependant, les commentaires ont été enlevées du listing ci-dessous).
222
223<p>
224La 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>
225(qui suppose USMARC/MARC21), et contient ces lignes :
226<p>
227<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>gsdl/etc/marctodc.txt</a>
228<br>
229720 --&gt; Creator
230<br>
231100 --&gt; Creator
232<br>
233110 --&gt; Creator
234<br>
235111 --&gt; Creator
236<br>
237520 --&gt; Description
238<br>
239856 --&gt; URL
240<br>
241260 --&gt; Publisher
242<br>
243787 --&gt; Relation
244<br>
245540 --&gt; Rights
246<br>
247024 --&gt; MarcIdentifier
248<br>
249786 --&gt; MarcSource
250<br>
251546 --&gt; MarcLanguage
252<br>
253650 --&gt; Subject
254<br>
255653 --&gt; Subject
256<br>
257245 --&gt; Title
258<br>
259655 --&gt; Type
260
261<p>
262Plusieurs 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.
263
264<p>
265Le 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\")
266sont mis en correspondance avec <i>Subject</i>.
267
268<p>
269Le 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>.
270
271<p>
272Quelques 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\"
273et 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.
274
275<p>
276Naturellement, 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.
277Le plugin ne reconnaît pas les sous-champs MARC: Il les concatÚne tout simplement.
278Cependant, 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
279le plugin Marc.
280"
281
282# -- Spanish text ----------------
283collectionmeta collectionextra [l=es] "Esta colección, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
284<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.
285<p>
286
287<h3>Cómo trabaja esta colección</h3>
288<p>
289
290El <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>.
291<p>
292
293El 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:
294<p>
295
296<blockquote>
297&lt;MARC field number&gt; --&gt; GreenstoneMetadataName
298</blockquote>
299<p>
300
301Las líneas en el archivo que empiezan con \"\#\" son comentarios. (Los comentarios no han sido incluidos en la lista que aparece más abajo).
302<p>
303
304La 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:
305<p>
306
307<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>gsdl/etc/marctodc.txt</a>
308<br>\n
309720 --&gt; Creator
310<br>\n
311100 --&gt; Creator
312<br>\n
313110 --&gt; Creator
314<br>\n
315111 --&gt; Creator
316<br>\n
317520 --&gt; Description
318<br>\n
319856 --&gt; URL
320<br>\n
321260 --&gt; Publisher
322<br>\n
323787 --&gt; Relation
324<br>\n
325540 --&gt; Rights
326<br>\n
327024 --&gt; MarcIdentifier
328<br>\n
329786 --&gt; MarcSource
330<br>\n
331546 --&gt; MarcLanguage
332<br>\n
333650 --&gt; Subject
334<br>\n
335653 --&gt; Subject
336<br>\n
337245 --&gt; Title
338<br>\n
339655 --&gt; Type\n
340<p>
341
342
343Varios 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.
344<p>
345
346El 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).
347<p>
348
349El 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>.
350<p>
351
352Algunos 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.
353<p>
354
355Sin 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.
356"
357
358# -- Russian text ----------------
359collectionmeta collectionextra [l=ru] "This collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
360<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> преЎставлеМ тОпПвПй ЎПкуЌеМт ЎаММПй кПллекцОО.
361
362<h3>Как рабПтает кПллекцОя</h3>
363<p>
364
365<a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>КПМфОгурацОПММый файл</a> ОспПльзует плагОМы <i>ZIPPlug</i> О <i>MARCPlug</i>, пПЌОЌП третьегП стаМЎарта. ИЌеются трО классОфОкатПра, ПсМПваММые Ма ЌетаЎаММых
366 <i>НазваМОя (Title)</i>, <i>СПзЎателя(Creator)</i> О <i>ПреЎЌета (Subject)</i>. Все ПМО являются классОфОкатПраЌО <i>AZCompactList</i> О все ПпреЎеляют <i>mingroup</i> 1. ЭтП выМужЎает Ох
367 сПзЎавать ОкПМку кМОжМПй пПлкО, Ўаже в тПЌ случае, еслО ОЌеется тПлькП ПЎОМ преЎЌет Ма пПлке (пПЎПбМП пПказаММПЌу <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">зЎесь</a>). ПрОчОМа этПгП чОстП эстетОческая: спОсПк выгляЎОт ПЎМПрПЎМыЌ, все преЎЌеты сЌПтрятся ПЎОМакПвП, включая О еЎОМствеММую кМОгу. В тПЌ случае, еслО Вы Ме любОте этПт стОль, прПстП прПпустОте параЌетр <i>mingroup</i>. ВтПрПй параЌетр Ўля классОфОкатПрПв <i>НазваМОе</i> О <i>СПзЎатель</i> уЎаляют суффОксы Оз стрПкО ЌетаЎаММых
368 (<i>НазваМОе</i> О <i>СПзЎатель</i>, сППтветствеММП). ЭтП требует устаМПвкО PERL Ўля правОльМПгП выражеМОя, О урезает зМакО (тОпа кПМечМых
369 зМакПв препОМаМОя) Оз стрПкО Ўля ПтПбражеМОя. ТрО параЌетра фПрЌата являются сх
370ПЎМыЌО: в частМПстО кажЎый Оз МОх
371 вывПЎОт чОслП ЎПкуЌеМтПв в лОсте Ма правую стрПМу ЎОсплея, чтП Вы ЌПжете вОЎеть <a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\">зЎесь</a>.
372<p>
373
374ПлагОМ MARC ОспПльзует спецОальМый файл Ўля сПпПставлеМОя МПЌера пПля в MARC О ЌетаЎаММых
375 Greenstone. ЭтПт файл Мах
376ПЎОтся в ЎОректПрОО <i>gsdl/etc</i> О Мазывается <a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>marctodc.txt</a>. ОМ преЎставляет спОсПк сППтветствОя ЌежЎу МПЌераЌО пПлей сОстеЌы MARC О ЌетаЎаММыЌО Greenstone. ᅵюбые пПля MARC, кПтПрые Ме вМесеМы в спОсПк, прПстП Ме пПявляются как ЌетаЎаММые, х
377Птя ПМО прОсутствуют в ЎПкуЌеМте Greenstone. КажЎая стрПка в этПЌ файле ОЌеет слеЎующОй фПрЌат.
378
379<blockquote>
380&lt;MARC field number&gt; --&gt; GreenstoneMetadataName
381</blockquote>
382СтрПкО в ЎаММПЌ файле, кПтПрые МачОМаются сП зМака \"\#\", являются кПЌЌеМтарОяЌО (ПЎМакП, кПЌЌеМтарОО ЌПгут быть уЎалеМы Оз распечаткО, ЎаММПй МОже).
383<p>
384
385СтаМЎартМая версОя этПгП файла свПбПЎМП базОруется Ма MARC в ПпОсаМОО Dublin Core, кПтПрПе вПспрОМОЌает USMARC/MARC21 О кПтПрПе ЌПжМП МайтО Ма <a href=\"http://lcweb.loc.gov/marc/dccross.html\">http://lcweb.loc.gov/marc/dccross.html</a>. ОМ сПЎержОт слеЎующОе стрПкО:
386<p>
387
388<a href=\"_httpprefix_/etc/marctodc.txt\" target=marctodc>gsdl/etc/marctodc.txt</a>
389<br>\n
390720 --&gt; СПзЎатель
391<br>\n
392100 --&gt; СПзЎатель
393<br>\n
394110 --&gt; СПзЎатель
395<br>\n
396111 --&gt; СПзЎатель
397<br>\n
398520 --&gt; ОпОсаМОе
399<br>\n
400856 --&gt; URL
401<br>\n
402260 --&gt; ИзЎатель
403<br>\n
404787 --&gt; ОтМПшеМОе
405<br>\n
406540 --&gt; Права
407<br>\n
408024 --&gt; ИЎеМтОфОкатПр MARC
409<br>\n
410786 --&gt; ИстПчМОк MARC
411<br>\n
412546 --&gt; Язык MARC
413<br>\n
414650 --&gt; ПреЎЌет
415<br>\n
416653 --&gt; ПреЎЌет
417<br>\n
418245 --&gt; НазваМОе
419<br>\n
420655 --&gt; ТОп
421<p>
422
423НескПлькП разлОчМых
424 пПлей фПрЌата MARC вМесеМы в <i>Creator</i> Dublin Core. ППле 720 -- «НекПМтрПлОруеЌПе ОЌя», 100 -- «ПерсПМальМПе МазваМОе», 110 -- «КПрпПратОвМПе МазваМОе», 111 -- «НазваМОе встреч». ЀактОческОе запОсО в фПрЌате MARC ПбычМП ПпреЎеляют тПлькП ПЎМП Оз этОх
425 пПлей, теЌ бПлее, чтП Greenstone ЎПпускает ЌМПгПзМачМые ЌетаЎаММые.
426<p>
427
428ППле 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>.
429<p>
430
431ППле MARC 024 («ИЎеМтОфОкатПр») Ме сПпПставлеМП с ЌетаЎаММыЌО Greenstone, пПтПЌу чтП в Greenstone ОспПльзуются сПбствеММые ЌетаЎаММые. <i>ИЎеМтОфОкатПр</i>; вЌестП этПгП разлОчМыЌ ЌетаЎаММыЌ Greenstone сПпПставлеМ элеЌеМт MARC, МазываеЌый <i>MarcIdentifier</i>. АМалПгОчМыЌ ПбразПЌ пПле 786 («Дата ввПЎа ОстПчМОка») Ме ПтМесеМа к <i>ИстПчМОку</i>, пПтПЌу чтП Greenstone ОЌеет ЌетаЎаММые <i>ИстПчМОк</i>, МП взаЌеМ этПгП ввеЎеМП МПвПе пПле ЌетаЎаММых
432, МазваММПе <i>MarcSource</i>, а также О пПле 546 («Язык») ПбПзМачеМП как <i>MarcLanguage</i>.
433<p>
434
435НекПтПрые пПля MARC c эквОвалеМтаЌО Dublin Core прПстП ОгМПрОруются, МапрОЌер 620 (<i>УчастМОк</i>) О 500 (<i>Ох
436ват</i>). ППле 260 в MARC Мазывают «ПублОкацОей» О т.ÐŽ.» О еЌу в сППтветствОе пПставлеМП <i>ИзЎатель</i>. ЀактОческО пПле 260 с (пПЎпПле) ЎПлжМП ПзМачать Ўату публОкацОО, МП в такПЌ вОЎе ПМП Ме включеМП.
437<p>
438
439КПМечМП, разлОчМые сППтветствОя ЌПгут быть ПпреЎелеМы путеЌ ОзЌеМеМОя вышеупПЌяМутПгП файла, чтП пПзвПляет плагОМаЌ пПЎЎержОвать ЎругОе варОаМты фПрЌата MARC. ПлагОМ Ме распПзМает ОМЎОвОЎуальМые пПЎпПля MARC: ПМ прПстП связывает Ох
440 вЌесте. ОЎМакП, ЎПвеЎеМОе егП ЎП такПгП урПвМя, чтПбы ОЌеть ЎелП МепПсреЎствеММП с пПЎпПляЌО, Ме былП бы труЎМПй рабПтПй: МаЎП былП бы ОзЌеМОть МескПлькП страМОц прПграЌЌы PERL в плагОМах
441 MARC."
Note: See TracBrowser for help on using the repository browser.