Changeset 19010

Show
Ignore:
Timestamp:
16.04.2009 15:33:35 (11 years ago)
Author:
kjdon
Message:

updated the config file to match demo one - mgpp, List classifiers etc. HAven't checked the collection description yet.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • documented-example-collections/trunk/garish-e/etc/collect.cfg

    r18807 r19010  
    33public      true 
    44 
    5  
    6 plugin      HTMLPlug -description_tags 
    7 plugin      WordPlug   
    8 plugin      GAPlug  
    9 plugin      ArcPlug  
    10 plugin      RecPlug -use_metadata_files  
    11  
    12 indexes     section:text section:Title document:text 
    13  
    14 classify    Hierarchy -metadata dls.Subject -sort Title -buttonname Subject 
    15 classify    Hierarchy -hlist_at_top -metadata dls.AZList -sort Title -buttonname Title 
    16 classify    Hierarchy -metadata dls.Organization -sort Title -buttonname Organization 
    17 classify    Hierarchy -metadata dls.Keyword -sort Title -buttonname Howto 
    18  
    19 format VList "<td valign=top>[link][icon][/link]</td> 
    20     <td valign=top>[highlight]{Or}{[Title],Untitled}[/highlight] 
    21     <i><small>{If}{[Date],<br>_textdate_[Date]}{If}{[NumPages], 
    22     <br>_textnumpages_[NumPages]}{If}{[Source],<br>_textsource_[Source]}</small></i> 
    23     </td>" 
    24  
    25 format SearchVList "<td valign=top>[link]<img src='[DocImage]' height='21'>[/link]</td> 
    26     <td>{If}{[parent(All': '):Title], 
    27       [parent(All': '):Title]:}[link][Title][/link]</td>" 
    28 format DocumentText "<h2>[Title]</h2><p>[Text]</p>" 
    29  
     5buildtype   mgpp 
     6searchtypes plain,form 
     7 
     8indexes     text dls.Title,Title dls.Subject dls.Organization dls.Keyword 
     9 
     10levels  section document 
     11 
     12plugin  GreenstoneXMLPlugin 
     13plugin  HTMLPlugin -description_tags 
     14plugin  MetadataXMLPlugin 
     15plugin  ArchivesInfPlugin 
     16plugin  DirectoryPlugin 
     17 
     18classify    List -metadata dls.Title 
     19 
     20classify    Hierarchy -metadata "dls.Subject" -sort dls.Title 
     21 
     22classify    List -sort_leaf_nodes_using dls.Title -metadata dls.Organization -bookshelf_type always 
     23 
     24classify    List -metadata dls.Keyword -buttonname Howto 
     25 
     26format CL4VList "<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]" 
     27 
     28format SearchVList "<td valign=top>[link]<img src='[DocImage]' height='21'>[/link]</td><td>{If}{[parent(All\': \'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>" 
     29 
     30format VList "<td valign=top>[link][icon][/link]</td><td valign=top>[highlight]{Or}{[Title],Untitled}[/highlight]{If}{[Date],<br><small><i>_textdate_[Date]</i></small>}{If}{[NumPages],<br><small><i>_textnumpages_[NumPages]</i></small>}{If}{[Source],<br><small><i>_textsource_[Source]</i></small>}</td>" 
     31 
     32format DocumentText "<h3>[Title]</h3>\\n\\n<p>[Text]</p>" 
     33format DocumentImages true 
     34format DocumentButtons "Expand Text|Expand Contents|Highlight|Detach|Print" 
     35format DocumentSearchResultLinks true 
     36 
     37format HList "[link][highlight][Title][/highlight][/link]" 
     38 
     39format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>" 
     40 
     41format SearchTypes "plain,form" 
    3042 
    3143# -- English strings ---------------- 
    3244collectionmeta  collectionname [l=en] "Garish version of demo collection" 
    3345 
    34 collectionmeta  .section:text [l=en] "chapters" 
    35 collectionmeta  .section:Title [l=en] "section titles" 
    36 collectionmeta  .document:text [l=en] "entire documents" 
    37  
     46collectionmeta  .text [l=en] "text" 
     47collectionmeta  .dls.Title,Title [l=en] "titles" 
     48collectionmeta  .dls.Subject [l=en] "subjects" 
     49collectionmeta  .dls.Organization [l=en] "organizations" 
     50collectionmeta  .dls.Keyword [l=en] "how to" 
     51 
     52collectionmeta  .document [l=en] "book" 
     53collectionmeta  .section [l=en] "chapter" 
     54 
     55collectionmeta  depositormetadata [l=en] "{\"name\":\"dls.Title\",\"label\":\"Title\",\"tooltip\":\"dls.Title: The title of this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Organization\",\"label\":\"Organization\",\"tooltip\":\"dls.Organization: The organization responsible for producing this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Subject\",\"label\":\"Subject\",\"tooltip\":\"dls.Subject: The subject of this resource.\",\"type\":\"text\"}, {\"name\":\"dls.Keyword\",\"label\":\"Keyword\",\"tooltip\":\"dls.Keyword: A more specific indication of what the resource can be used for.\",\"type\":\"text\"}, {\"name\":\"dls.Language\",\"label\":\"Language\",\"tooltip\":\"dls.Language: The language of this resource.\",\"type\":\"text\"}" 
    3856 
    3957# -- French strings ---------------- 
    4058collectionmeta  collectionname [l=fr] "Version Garish de la collection de démonstration" 
    4159 
    42 collectionmeta  .section:text [l=fr] "chapitres" 
    43 collectionmeta  .section:Title [l=fr] "titres des sections" 
    44 collectionmeta  .document:text [l=fr] "documents entiers" 
    45  
     60collectionmeta  .text [l=fr] "texte" 
     61collectionmeta  .dls.Title,Title [l=fr] "titres" 
     62collectionmeta  .dls.Subject [l=fr] "sujets" 
     63collectionmeta  .dls.Organization [l=fr] "organisations" 
     64collectionmeta  .dls.Keyword [l=fr] "comment faire" 
     65collectionmeta  .document [l=fr] "livre" 
     66collectionmeta  .section [l=fr] "châpitre" 
    4667 
    4768# -- Spanish strings ---------------- 
    4869collectionmeta  collectionname [l=es] "Versión Garish de la colección de muestra" 
    4970 
    50 collectionmeta  .section:text [l=es] "capítulos" 
    51 collectionmeta  .section:Title [l=es] "títulos de las secciones" 
    52 collectionmeta  .document:text [l=es] "documentos completos" 
    53  
     71collectionmeta  .text [l=es] "texo" 
     72collectionmeta  .dls.Title,Title [l=es] "títulos" 
     73collectionmeta  .dls.Subject [l=es] "temas" 
     74collectionmeta  .dls.Organization [l=es] "organizaciones" 
     75collectionmeta  .dls.Keyword [l=es] "cómo" 
     76collectionmeta  .document [l=es] "libro" 
     77collectionmeta  .section [l=es] "capítulo" 
    5478 
    5579# -- Russian strings ---------------- 
    5680collectionmeta  collectionname [l=ru] "Резкая версОя ЎеЌПМстрацОПМ-МПй кПллекцОО" 
    5781 
    58 collectionmeta  .section:text [l=ru] "Главы" 
    59 collectionmeta  .section:Title [l=ru] "НазваМОя разЎелПв" 
    60 collectionmeta  .document:text [l=ru] "ППлМые ЎПкуЌеМты" 
    61  
     82collectionmeta  .text [l=ru] "текст" 
     83collectionmeta  .dls.Title,Title [l=ru] "загПлПвкО" 
     84collectionmeta  .dls.Subject [l=ru] "указателО" 
     85collectionmeta  .dls.Organization [l=ru] "ПргаМОзацОО" 
     86collectionmeta  .dls.Keyword [l=ru] "спПсПбы" 
     87collectionmeta  .document [l=ru] "кМОга" 
     88collectionmeta  .section [l=ru] "глава" 
     89 
     90# -- Arabic strings ---------------- 
     91 
     92collectionmeta  .text [l=ar] "نص" 
     93collectionmeta  .dls.Title,Title [l=ar] "العناوين" 
     94collectionmeta  .dls.Subject [l=ar] "ال٠
     95وضوعات" 
     96collectionmeta  .dls.Organization [l=ar] "ال٠
     97ن؞٠
     98ات" 
     99collectionmeta  .dls.Keyword [l=ar] "إر؎اد" 
     100collectionmeta  .document [l=ar] "كتاؚ" 
     101collectionmeta  .section [l=ar] "فصل" 
     102 
     103# -- Brazilian Portuguese strings ---------------- 
     104 
     105collectionmeta  .text [l=pt-br] "texto" 
     106collectionmeta  .dls.Title,Title [l=pt-br] "títulos" 
     107collectionmeta  .dls.Subject [l=pt-br] "assuntos" 
     108collectionmeta  .dls.Organization [l=pt-br] "organizações" 
     109collectionmeta  .dls.Keyword [l=pt-br] "como fazer" 
     110collectionmeta  .document [l=pt-br] "livro" 
     111collectionmeta  .section [l=pt-br] "capítulo" 
     112 
     113# -- Thai strings ---------------- 
     114collectionmeta  .text [l=th] "àž‚à¹‰àž­àž„àž§àž²àž¡" 
     115collectionmeta  .dls.Title,Title [l=th] "àžŠàž·à¹ˆàž­à¹€àž£àž·à¹ˆàž­àž‡" 
     116collectionmeta  .dls.Subject [l=th] "àž«àž±àž§à¹€àž£àž·à¹ˆàž­àž‡" 
     117collectionmeta  .dls.Organization [l=th] "àž«àž™à¹ˆàž§àž¢àž‡àž²àž™" 
     118collectionmeta  .dls.Keyword [l=th] "àž§àžŽàž˜àžµà¹ƒàžŠà¹‰" 
     119 
     120collectionmeta  .document [l=th] "àž«àž™àž±àž‡àžªàž·àž­" 
     121collectionmeta  .section [l=th] "àžšàž—" 
     122 
     123# -- Simplified Chinese strings ---------------- 
     124collectionmeta  .text [l=zh] "文本" 
     125collectionmeta  .dls.Title,Title [l=zh] "题名" 
     126collectionmeta  .dls.Subject [l=zh] "䞻题" 
     127collectionmeta  .dls.Organization [l=zh] "机构" 
     128collectionmeta  .dls.Keyword [l=zh] "劂䜕" 
     129 
     130collectionmeta  .document [l=zh] "乊" 
     131collectionmeta  .section [l=zh] "ç« " 
    62132 
    63133# -- English text ----------------