Changeset 19373


Ignore:
Timestamp:
2009-05-11T14:09:52+12:00 (15 years ago)
Author:
kjdon
Message:

opened and closed in GLI. minor formatting changes to file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • collections/documented-examples/trunk/marc-e/etc/collect.cfg

    r19359 r19373  
    1010levels  document
    1111
    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
     12plugin  GreenstoneXMLPlugin
     13plugin  MARCPlugin -OIDtype incremental
     14plugin  MetadataXMLPlugin
     15plugin  ArchivesInfPlugin
     16plugin  DirectoryPlugin
     17
     18classify    AZList -metadata dc.Title -removesuffix \\s*(\\/|;|,|\\.).*
     19classify    AZCompactList -metadata dc.Creator -removesuffix (b\\.\\s+)?(\\d+(\\-?))(\\d+(\\.)?)?
     20classify    AZCompactList -metadata "dc.Subject"
    2121
    2222format VList "<td>[link][icon][/link]</td>
     
    4040collectionmeta  .Source [l=en] "_labelSource_"
    4141
    42 collectionmeta sampleoid "D0s156"
     42collectionmeta  sampleoid [l=en] "D0s156"
    4343
    4444# -- English strings ----------------
     
    6868<i>dc.Creator</i> respectively). This is specified as a PERL regular
    6969expression, and trims characters (such as trailing punctuation)
    70 from the strings for display. 
     70from the strings for display.
    7171<p>
    7272The <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.
     
    9191(which assumes USMARC/MARC21).
    9292<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
     93Multiple MARC fields may map to a single Dublin Core field.
     94For example, fields 720 (\"Uncontrolled name\"), 100 (\"Personal name\"),
     95110 (\"Corporate name\") and 111 (\"Meeting name\") all map to
    9696<i>dc.Creator</i>. Actual MARC records normally
    9797define only one of these fields, and anyway Greenstone allows
     
    101101information 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:
    102102<blockquote>
    103 260$c$g     -&gt; 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\". 
     103260$c$g -&gt; dc.Date
     104</blockquote>
     105
     106Greenstone 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\".
    107107"
    108108
     
    117117Le <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.
    118118Il 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). 
     119Ceci est spécifié comme une expression
     120réguliÚre de PERL et ajuste pour l\'affichage des caractÚres (comme une ponctuation finale).
    121121<p>
    122122_text2_
     
    146146<p>
    147147
    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.
     148El <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>
     150La 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.
    151151
    152152<p>
     
    165165La 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).
    166166
    167 Múltiples campos MARC pueden mapearse a un mismo campo Dublin Core. 
    168 Por ejemplo, los campos 720 (\"Uncontrolled name\"), 100 (\"Personal name\"), 
     167Múltiples campos MARC pueden mapearse a un mismo campo Dublin Core.
     168Por ejemplo, los campos 720 (\"Uncontrolled name\"), 100 (\"Personal name\"),
    169169110 (\"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
    170170<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     -&gt; dc.Date
     171Algunos 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>
     173260$c$g -&gt; dc.Date
    174174</blockquote>
    175175
     
    185185
    186186<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  Ð·ÐœÐ°ÐºÐŸÐ² препОМаМОя) Оз стрПкО Ўля ПтПбражеМОя. 
     187 <i>НазваМОя (dc.Title)</i>, <i>СПзЎателя (dc.Creator)</i> О <i>ПреЎЌета (dc.Subject)</i>. _text1_ ЭтП требует устаМПвкО PERL Ўля правОльМПгП выражеМОя, О урезает зМакО (тОпа кПМечМыÑ
     188 Ð·ÐœÐ°ÐºÐŸÐ² препОМаМОя) Оз стрПкО Ўля ПтПбражеМОя.
    189189<p>
    190190_text2_
     
    199199&lt;MARC field number&gt; -&gt; GreenstoneMetadataName
    200200</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>.
    205205
    206206_text3_
Note: See TracChangeset for help on using the changeset viewer.