1 | creator [email protected]
|
---|
2 | maintainer [email protected]
|
---|
3 | public true
|
---|
4 |
|
---|
5 | buildtype mgpp
|
---|
6 |
|
---|
7 | indexes text dc.Title
|
---|
8 | defaultindex text
|
---|
9 |
|
---|
10 | levels document
|
---|
11 |
|
---|
12 | plugin GreenstoneXMLPlugin
|
---|
13 | plugin MARCPlugin -OIDtype incremental
|
---|
14 | plugin MetadataXMLPlugin
|
---|
15 | plugin ArchivesInfPlugin
|
---|
16 | plugin DirectoryPlugin
|
---|
17 |
|
---|
18 | classify AZList -metadata dc.Title -removesuffix \\s*(\\/|;|,|\\.).*
|
---|
19 | classify AZCompactList -metadata dc.Creator -removesuffix (b\\.\\s+)?(\\d+(\\-?))(\\d+(\\.)?)?
|
---|
20 | classify AZCompactList -metadata dc.Subject
|
---|
21 |
|
---|
22 | format VList "<td>[link][icon][/link]</td>
|
---|
23 | <td>{If}{[numleafdocs],[Title],<b>[dc.Title]</b>{If}{[dc.Creator], [sibling:dc.Creator]}{If}{[dc.Publisher], <i>[dc.Publisher]</i>}}</td>{If}{[numleafdocs],<td><i>([numleafdocs])</i></td>}"
|
---|
24 |
|
---|
25 | #format CL2VList "<td>[link][icon][/link]</td><td>{If}{[numleafdocs],[Title],[dc.Creator]; <i>[dc.Title]</i>{If}{[dc.Publisher], <i>[dc.Publisher]</i>}}</td><td>{If}{[numleafdocs],<i>([numleafdocs])</i>}</td>"
|
---|
26 | #format CL3VList "<td>[link][icon][/link]</td><td>{If}{[numleafdocs]{[Title],[dc.Title]{If}{[dc.Creator], [dc.Creator]}{If}{[dc.Publisher], [dc.Publisher]}}</td><td>{If}{[numleafdocs],<i>([numleafdocs])</i>}</td>"
|
---|
27 |
|
---|
28 | format HList "[link][highlight][ex.Title][/highlight][/link]"
|
---|
29 |
|
---|
30 | format DocumentHeading "[dc.Title]<br>"
|
---|
31 |
|
---|
32 | format DocumentText "[Text]"
|
---|
33 |
|
---|
34 | format DocumentButtons ""
|
---|
35 |
|
---|
36 | format SearchTypes "plain,form"
|
---|
37 |
|
---|
38 | collectionmeta .text [l=en] "_labeltext_"
|
---|
39 | collectionmeta .Title [l=en] "_labelTitle_"
|
---|
40 | collectionmeta .Source [l=en] "_labelSource_"
|
---|
41 |
|
---|
42 | collectionmeta sampleoid "D0s156"
|
---|
43 |
|
---|
44 | # -- English strings ----------------
|
---|
45 | collectionmeta collectionname [l=en] "MARC example"
|
---|
46 |
|
---|
47 | # -- French strings ----------------
|
---|
48 | collectionmeta collectionname [l=fr] "Exemple MARC"
|
---|
49 |
|
---|
50 | # -- Spanish strings ----------------
|
---|
51 | collectionmeta collectionname [l=es] "Colección de muestra MARC"
|
---|
52 |
|
---|
53 | # -- Russian strings ----------------
|
---|
54 | collectionmeta collectionname [l=ru] "ÐÑÐžÐŒÐµÑ MARC"
|
---|
55 |
|
---|
56 | # -- English text ----------------
|
---|
57 | collectionmeta collectionextra [l=en] "This collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
|
---|
58 | <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>.
|
---|
59 | <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">Here</a> is a sample document in the collection.
|
---|
60 |
|
---|
61 | <h3>How the collection works</h3>\n
|
---|
62 |
|
---|
63 | <p>
|
---|
64 | The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>configuration file</a> uses <i>MARCPlugin</i> to process the MARC records, as well as the
|
---|
65 | standard plugins. There are three classifiers, based on <i>dc.Title</i>,
|
---|
66 | <i>dc.Creator</i>, and <i>dc.Subject</i> metadata. The <i>Title</i> classifier uses AZList, while the other two use AZCompactList, which groups items with the same metadata into a bookshelf. The <i>-removesuffix</i> argument for the <i>Title</i> and <i>Creator</i>
|
---|
67 | classifiers removes suffixes from the metadata string (<i>dc.Title</i> and
|
---|
68 | <i>dc.Creator</i> respectively). This is specified as a PERL regular
|
---|
69 | expression, and trims characters (such as trailing punctuation)
|
---|
70 | from the strings for display.
|
---|
71 | <p>
|
---|
72 | The <i>VList</i> format statement controls the display of search results and all classifiers. For bookshelves, the number of leaf documents is displayed on the right-hand side. For documents, <i>dc.Title</i> is displayed, along with <i>dc.Creator</i> and <i>dc.Publisher</i>. <i>[sibling:dc.Creator]</i> is used as dc.Creator has multiple values, and specifies that all values be output, not just the first one.
|
---|
73 | <p>
|
---|
74 |
|
---|
75 | The MARC plugin uses a special file to map MARC field numbers to
|
---|
76 | Greenstone-style metadata. This file resides in the
|
---|
77 | <i>greenstone/etc</i> directory, and is called
|
---|
78 | <a href=\"_httpprefix_/etc/marc2dc.txt\" target=marc2dc>marc2dc.txt</a>.
|
---|
79 | It lists the correspondences between MARC field numbers and Greenstone
|
---|
80 | metadata. Any MARC fields that are not listed simply do not
|
---|
81 | appear as metadata, though they are still present in the
|
---|
82 | Greenstone document. Each line in the file has the format
|
---|
83 | <blockquote>
|
---|
84 | <MARC field number> -> GreenstoneMetadataName
|
---|
85 | </blockquote>
|
---|
86 | Lines in the file that begin with \"\#\" are comments. \n
|
---|
87 | <p>
|
---|
88 | The standard version of this file is loosely based on
|
---|
89 | the MARC to Dublin Core mapping found at <a
|
---|
90 | href=\"http://www.loc.gov/marc/marc2dc.html\">http://www.loc.gov/marc/marc2dc.html</a>
|
---|
91 | (which assumes USMARC/MARC21).
|
---|
92 | <p>
|
---|
93 | Multiple MARC fields may map to a single Dublin Core field.
|
---|
94 | For example, fields 720 (\"Uncontrolled name\"), 100 (\"Personal name\"),
|
---|
95 | 110 (\"Corporate name\") and 111 (\"Meeting name\") all map to
|
---|
96 | <i>dc.Creator</i>. Actual MARC records normally
|
---|
97 | define only one of these fields, and anyway Greenstone allows
|
---|
98 | multi-valued metadata.\n
|
---|
99 | <p>
|
---|
100 | Some mappings are dependent on subfields. For example, MARC field 260 contains
|
---|
101 | information about publication and distribution. Subfields \"c\" (Date of Publication) and \"g\" (Date of manufacture) are mapped to <i>dc.Date</i>, using the following mapping line:
|
---|
102 | <blockquote>
|
---|
103 | 260$c$g -> dc.Date
|
---|
104 | </blockquote>
|
---|
105 |
|
---|
106 | Greenstone also provides a file for mapping MARC to <b>qualified</b> dublin core: <a href=\"_httpprefix_/etc/marc2qdc.txt\" target=marc2qdc>greenstone/etc/marc2qdc.txt</a>. This can be used by the MARC plugin by setting the <i>-metadata_mapping_file</i> option to \"marc2qdc.txt\".
|
---|
107 | "
|
---|
108 |
|
---|
109 | # -- French text ----------------
|
---|
110 | collectionmeta collectionextra [l=fr] "Cette collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
|
---|
111 | <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>.
|
---|
112 | <a href=\"_gwcgi_?l=_cgiargl_&a=d&c=_cgiargc_&d=_sampleoid_\">Voici</a> un document échantillon dans la collection.
|
---|
113 |
|
---|
114 | <h3>Comment marche cette collection ?</h3>
|
---|
115 |
|
---|
116 | <p>
|
---|
117 | Le <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.
|
---|
118 | Il y a trois classificateurs basés sur les méta-données <i>dc.Title</i>, <i>dc.Creator</i> et <i>dc.Subject</i>. _text1_
|
---|
119 | Ceci est spécifié comme une expression
|
---|
120 | réguliÚre de PERL et ajuste pour l\'affichage des caractÚres (comme une ponctuation finale).
|
---|
121 | <p>
|
---|
122 | _text2_
|
---|
123 |
|
---|
124 | <p>
|
---|
125 | Le 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>,
|
---|
126 | et est appelé <a href=\"_httpprefix_/etc/marc2dc.txt\" target=marc2dc>marc2dc.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:
|
---|
127 |
|
---|
128 | <blockquote>
|
---|
129 | <numéro de champ MARC> -> NonMetadonnéeGreenstone
|
---|
130 | </blockquote>
|
---|
131 |
|
---|
132 | Les lignes dans le fichier qui commence par \"\#\" sont des commentaires.
|
---|
133 |
|
---|
134 | <p>
|
---|
135 | La version standard de ce fichier est approximativement basée sur la mise en correspondance MARC - Dublin Core trouvé à <a href=\"http://www.loc.gov/marc/marc2dc.html\">http://www.loc.gov/marc/marc2dc.html</a>
|
---|
136 | (qui suppose USMARC/MARC21).
|
---|
137 | _text3_
|
---|
138 | "
|
---|
139 |
|
---|
140 | # -- Spanish text ----------------
|
---|
141 | collectionmeta collectionextra [l=es] "Esta colección, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
|
---|
142 | <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=_sampleoid_\">aquÃ</a> un documento muestra de la colección.
|
---|
143 | <p>
|
---|
144 |
|
---|
145 | <h3>Cómo trabaja esta colección</h3>
|
---|
146 | <p>
|
---|
147 |
|
---|
148 | El <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>archivo de configuración</a> utiliza <i>MARCPlugin</i> además de los tres plugins estándar. Existen tres clasificadores basados en los metadatos <i>dc.TÃtulo</i>, <i>dc.Creador</i> y <i>dc.Asunto</i>. El clasificador <i>dc.Title</i> es una AZList, mientras que los otros dos son AZCompactList, que agrupa items con el mismo metadato en un "estante". El argumento <i>-removesuffix</i> para el clasificador por <i>Title</i> y por <i>Creator</i> remueve los sufijos de la cadena de caracteres (<i>dc.Title</i> y <i>dc.Creator</i> 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.
|
---|
149 | <p>
|
---|
150 | La cadena de formateo <i>VList</i> controla la forma en la que se muestran los resultados y todos los clasificadores. Para los estantes, el número de documentos contenidos se muestra en la parte derecha. Para los documentos, se muestra el metadato <i>dc.Title</i>, junto al <i>dc.Creator</i> y el <i>dc.Publisher</i>. <i>[sibling:dc.Creator]</i> se utiliza debido a que dc.Creator tiene múltiples valores, y especifica que se deben mostrar todos los valores, no solamente el primero.
|
---|
151 |
|
---|
152 | <p>
|
---|
153 |
|
---|
154 | El 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/marc2dc.txt\" target=marc2dc>marc2dc.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:
|
---|
155 | <p>
|
---|
156 |
|
---|
157 | <blockquote>
|
---|
158 | <MARC field number> -> GreenstoneMetadataName
|
---|
159 | </blockquote>
|
---|
160 | <p>
|
---|
161 |
|
---|
162 | Las lÃneas en el archivo que empiezan con \"\#\" son comentarios.
|
---|
163 | <p>
|
---|
164 |
|
---|
165 | La 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://www.loc.gov/marc/marc2dc.html\">http://www.loc.gov/marc/marc2dc.html</a> (el cual asume USMARC/MARC21).
|
---|
166 |
|
---|
167 | Múltiples campos MARC pueden mapearse a un mismo campo Dublin Core.
|
---|
168 | Por ejemplo, los campos 720 (\"Uncontrolled name\"), 100 (\"Personal name\"),
|
---|
169 | 110 (\"Corporate name\") y 111 (\"Meeting name\") mapean todos a <i>dc.Creator</i>. Los registros actuales de MARC normalmente definen solo uno de esos campos, pero de cualquier manera Greenstone permite metadatos multivalor. \n
|
---|
170 | <p>
|
---|
171 | Algunos mapeos dependen de los subcampos. Por ejemplo, el campo MARC 260 contiene información sobre la publicación y la distribución. Subcampos \"c\" (Date of Publication) y \"g\" (Date of manufacture) son mapeados a <i>dc.Date</i>, usando la siguiente linea de configuración:
|
---|
172 | <blockquote>
|
---|
173 | 260$c$g -> dc.Date
|
---|
174 | </blockquote>
|
---|
175 |
|
---|
176 | Greenstone también provee un archivo para el mapeo de MARC a Dublin Core <b>cualificado</b>: <a href=\"_httpprefix_/etc/marc2qdc.txt\" target=marc2qdc>greenstone/etc/marc2qdc.txt</a>. Puede ser usado por el plugin de MARC configurando el parámetro <i>-metadata_mapping_file</i> con \"marc2qdc.txt\".
|
---|
177 | "
|
---|
178 |
|
---|
179 | # -- Russian text ----------------
|
---|
180 | collectionmeta collectionextra [l=ru] "This collection, which contains _about:numdocs_ MARC entries, is based on the MARC records of working papers published by
|
---|
181 | <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=_sampleoid_\">ÐЎеÑÑ</a> пÑеЎÑÑавлеМ ÑОпПвПй ЎПкÑÐŒÐµÐœÑ ÐŽÐ°ÐœÐœÐŸÐ¹ кПллекÑОО.
|
---|
182 |
|
---|
183 | <h3>Ðак ÑабПÑÐ°ÐµÑ ÐºÐŸÐ»Ð»ÐµÐºÑОÑ</h3>
|
---|
184 | <p>
|
---|
185 |
|
---|
186 | <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>ÐПМÑОгÑÑаÑОПММÑй Ñайл</a> ОÑпПлÑзÑÐµÑ Ð¿Ð»Ð°Ð³ÐžÐœÑ <i>ZIPPlug</i> О <i>MARCPlug</i>, пПЌОЌП ÑÑеÑÑегП ÑÑаМЎаÑÑа. ÐЌеÑÑÑÑ ÑÑО клаÑÑОÑОкаÑПÑа, ПÑМПваММÑе Ма ЌеÑаЎаММÑÑ
|
---|
187 | <i>ÐÐ°Ð·Ð²Ð°ÐœÐžÑ (dc.Title)</i>, <i>СПзЎаÑÐµÐ»Ñ (dc.Creator)</i> О <i>ÐÑеЎЌеÑа (dc.Subject)</i>. _text1_ ÐÑП ÑÑебÑÐµÑ ÑÑÑаМПвкО PERL ÐŽÐ»Ñ Ð¿ÑавОлÑМПгП вÑÑажеМОÑ, О ÑÑÐµÐ·Ð°ÐµÑ Ð·ÐœÐ°ÐºÐž (ÑОпа кПМеÑÐœÑÑ
|
---|
188 | зМакПв пÑепОМаМОÑ) Оз ÑÑÑПкО ÐŽÐ»Ñ ÐŸÑПбÑажеМОÑ.
|
---|
189 | <p>
|
---|
190 | _text2_
|
---|
191 | <p>
|
---|
192 |
|
---|
193 | ÐлагОМ MARC ОÑпПлÑзÑÐµÑ ÑпеÑОалÑÐœÑй Ñайл ÐŽÐ»Ñ ÑПпПÑÑÐ°Ð²Ð»ÐµÐœÐžÑ ÐœÐŸÐŒÐµÑа Ð¿ÐŸÐ»Ñ Ð² MARC О ЌеÑаЎаММÑÑ
|
---|
194 | Greenstone. ÐÑÐŸÑ Ñайл МаÑ
|
---|
195 | ПЎОÑÑÑ Ð² ЎОÑекÑПÑОО <i>gsdl/etc</i> О МазÑваеÑÑÑ <a href=\"_httpprefix_/etc/marc2dc.txt\" target=marc2dc>marc2dc.txt</a>. ÐÐœ пÑеЎÑÑавлÑÐµÑ ÑпОÑПк ÑППÑвеÑÑÑÐ²ÐžÑ ÐŒÐµÐ¶ÐŽÑ ÐœÐŸÐŒÐµÑаЌО пПлей ÑОÑÑÐµÐŒÑ MARC О ЌеÑаЎаММÑЌО Greenstone. ï¿œÑбÑе Ð¿ÐŸÐ»Ñ MARC, кПÑПÑÑе Ме вМеÑÐµÐœÑ Ð² ÑпОÑПк, пÑПÑÑП Ме пПÑвлÑÑÑÑÑ ÐºÐ°Ðº ЌеÑаЎаММÑе, Ñ
|
---|
196 | ПÑÑ ÐŸÐœÐž пÑОÑÑÑÑÑвÑÑÑ Ð² ЎПкÑЌеМÑе Greenstone. ÐÐ°Ð¶ÐŽÐ°Ñ ÑÑÑПка в ÑÑПЌ Ñайле ÐžÐŒÐµÐµÑ ÑлеЎÑÑÑОй ÑПÑЌаÑ.
|
---|
197 |
|
---|
198 | <blockquote>
|
---|
199 | <MARC field number> -> GreenstoneMetadataName
|
---|
200 | </blockquote>
|
---|
201 | СÑÑПкО в ЎаММПЌ Ñайле, кПÑПÑÑе МаÑОМаÑÑÑÑ ÑП зМака \"\#\", ÑвлÑÑÑÑÑ ÐºÐŸÐŒÐŒÐµÐœÑаÑОÑЌО.
|
---|
202 | <p>
|
---|
203 |
|
---|
204 | СÑаМЎаÑÑÐœÐ°Ñ Ð²ÐµÑÑÐžÑ ÑÑПгП Ñайла ÑвПбПЎМП базОÑÑеÑÑÑ ÐœÐ° MARC в ПпОÑаМОО Dublin Core, кПÑПÑПе вПÑпÑÐžÐœÐžÐŒÐ°ÐµÑ USMARC/MARC21 О кПÑПÑПе ЌПжМП МайÑО Ма <a href=\"http://www.loc.gov/marc/marc2dc.html\">http://www.loc.gov/marc/marc2dc.html</a>.
|
---|
205 |
|
---|
206 | _text3_
|
---|
207 | "
|
---|