Changeset 19373 for collections/documented-examples
- Timestamp:
- 2009-05-11T14:09:52+12:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
collections/documented-examples/trunk/marc-e/etc/collect.cfg
r19359 r19373 10 10 levels document 11 11 12 plugin 13 plugin 14 plugin 15 plugin 16 plugin 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.Subject12 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 21 22 22 format VList "<td>[link][icon][/link]</td> … … 40 40 collectionmeta .Source [l=en] "_labelSource_" 41 41 42 collectionmeta sampleoid"D0s156"42 collectionmeta sampleoid [l=en] "D0s156" 43 43 44 44 # -- English strings ---------------- … … 68 68 <i>dc.Creator</i> respectively). This is specified as a PERL regular 69 69 expression, and trims characters (such as trailing punctuation) 70 from the strings for display. 70 from the strings for display. 71 71 <p> 72 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. … … 91 91 (which assumes USMARC/MARC21). 92 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 to93 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 96 <i>dc.Creator</i>. Actual MARC records normally 97 97 define only one of these fields, and anyway Greenstone allows … … 101 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 102 <blockquote> 103 260$c$g 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\". 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 107 " 108 108 … … 117 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 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 120 réguliÚre de PERL et ajuste pour l\'affichage des caractÚres (comme une ponctuation finale). 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 121 <p> 122 122 _text2_ … … 146 146 <p> 147 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 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 151 152 152 <p> … … 165 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 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\"), 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 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 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 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 174 </blockquote> 175 175 … … 185 185 186 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_ 188 зМакПв пÑепОМаМОÑ) Оз ÑÑÑПкО ÐŽÐ»Ñ ÐŸÑПбÑажеМОÑ. 187 <i>ÐÐ°Ð·Ð²Ð°ÐœÐžÑ (dc.Title)</i>, <i>СПзЎаÑÐµÐ»Ñ (dc.Creator)</i> О <i>ÐÑеЎЌеÑа (dc.Subject)</i>. _text1_ ÐÑП ÑÑебÑÐµÑ ÑÑÑаМПвкО PERL ÐŽÐ»Ñ Ð¿ÑавОлÑМПгП вÑÑажеМОÑ, О ÑÑÐµÐ·Ð°ÐµÑ Ð·ÐœÐ°ÐºÐž (ÑОпа кПМеÑÐœÑÑ 188 зМакПв пÑепОМаМОÑ) Оз ÑÑÑПкО ÐŽÐ»Ñ ÐŸÑПбÑажеМОÑ. 189 189 <p> 190 190 _text2_ … … 199 199 <MARC field number> -> GreenstoneMetadataName 200 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>. 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 205 206 206 _text3_
Note:
See TracChangeset
for help on using the changeset viewer.