Ignore:
Timestamp:
2009-04-19T16:00:41+12:00 (15 years ago)
Author:
kjdon
Message:

updated the config file to match demo collection, then checked the description and updated for 2.82

File:
1 edited

Legend:

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

    r18807 r19044  
    1 #documented collect.cfg file for Greenstone CSS/style demo collection
    2 
    31creator     [email protected]
     2maintainer  [email protected]
    43public      true
    54
    6 buildtype   mg
     5buildtype   mgpp
     6searchtypes plain,form
    77
    8 indexes     document:text
    9 defaultindex    document:text
     8indexes     text dls.Title,Title dls.Subject dls.Organization dls.Keyword
    109
    11 # import files ending with any of these words, and remove '/*' and '#'
    12 # from start of titles
    13 # plugin        TEXTPlug -title_sub (/\\*|#) -process_exp (txt|css|cfg|dm)$
    14 # following 3 plugins are required for building collections from archives
    15 plugin      GAPlug
    16 plugin      MetadataXMLPlug
    17 plugin      HTMLPlug -description_tags
    18 plugin      ArcPlug
    19 plugin      RecPlug
     10levels  section document
    2011
    21 classify    AZList -metadata Title -buttonname Title
     12plugin  GreenstoneXMLPlugin
     13plugin  HTMLPlugin -description_tags
     14plugin  MetadataXMLPlugin
     15plugin  ArchivesInfPlugin
     16plugin  DirectoryPlugin
    2217
    23 # for the 1st classifier (vertical lists)
    24 format CL1VList "<td>[link][icon][/link]</td><td>[Title]</td>"
     18classify    List -metadata dls.Title
    2519
    26 #### format statements for displaying documents
    27 format DocumentHeading "<h2>[Title]</h2>"
    28 format DocumentButtons ""
     20classify    Hierarchy -metadata "dls.Subject" -sort dls.Title
    2921
    30 format DateList "<td>[link][icon][/link]</td>
    31 <td>[highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight]</td>
    32 <td>[ex.Date]</td>"
     22classify    List -sort_leaf_nodes_using dls.Title -metadata dls.Organization -bookshelf_type always
    3323
    34 format HList "[link][highlight][ex.Title][/highlight][/link]"
     24classify    List -metadata dls.Keyword -buttonname Howto
    3525
    36 format VList "<td valign=\"top\">[link][icon][/link]</td>
    37 <td valign=\"top\">[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]</td>
    38 <td valign=\"top\">[highlight]
    39 {Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}
    40 [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
     26format CL4VList "<td>[link][icon][/link]</td><td>[link][dls.Keyword][/link]"
    4127
    42 format DocumentText "[Text]"
     28format SearchVList "<td valign=top>[link][icon][/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]"
     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"
     42
     43# -- English strings ----------------
     44collectionmeta  collectionname [l=en] "Cascading Style Sheets<br/> Demo collection"
     45
     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\"}"
     56
     57# -- French strings ----------------
     58collectionmeta  collectionname [l=fr] "Démo de feuilles de styles en cascade (CSS)"
     59
     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"
     67
     68# -- Spanish strings ----------------
     69collectionmeta  collectionname [l=es] "Colección de muestra CSS"
     70
     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"
     78
     79# -- Russian strings ----------------
     80collectionmeta  .text [l=ru] "текст"
     81collectionmeta  .dls.Title,Title [l=ru] "загПлПвкО"
     82collectionmeta  .dls.Subject [l=ru] "указателО"
     83collectionmeta  .dls.Organization [l=ru] "ПргаМОзацОО"
     84collectionmeta  .dls.Keyword [l=ru] "спПсПбы"
     85collectionmeta  .document [l=ru] "кМОга"
     86collectionmeta  .section [l=ru] "глава"
     87
     88# -- Arabic strings ----------------
     89collectionmeta  .text [l=ar] "نص"
     90collectionmeta  .dls.Title,Title [l=ar] "العناوين"
     91collectionmeta  .dls.Subject [l=ar] "الÙ
     92وضوعات"
     93collectionmeta  .dls.Organization [l=ar] "الÙ
     94ن؞Ù
     95ات"
     96collectionmeta  .dls.Keyword [l=ar] "إر؎اد"
     97collectionmeta  .document [l=ar] "كتاؚ"
     98collectionmeta  .section [l=ar] "فصل"
    4399
    44100
    45 # -- English strings ---------------
     101# -- Brazilian Portuguese strings ----------------
     102collectionmeta  .text [l=pt-br] "texto"
     103collectionmeta  .dls.Title,Title [l=pt-br] "títulos"
     104collectionmeta  .dls.Subject [l=pt-br] "assuntos"
     105collectionmeta  .dls.Organization [l=pt-br] "organizações"
     106collectionmeta  .dls.Keyword [l=pt-br] "como fazer"
    46107
    47 collectionmeta  collectionname [l=en] "Cascading Style Sheets<br/> Demo collection"
    48 collectionmeta  .document:text [l=en] "text"
     108collectionmeta  .document [l=pt-br] "livro"
     109collectionmeta  .section [l=pt-br] "capítulo"
    49110
    50 # -- French strings ---------------
     111# -- Thai strings ----------------
     112collectionmeta  .text [l=th] "àž‚à¹‰àž­àž„àž§àž²àž¡"
     113collectionmeta  .dls.Title,Title [l=th] "àžŠàž·à¹ˆàž­à¹€àž£àž·à¹ˆàž­àž‡"
     114collectionmeta  .dls.Subject [l=th] "àž«àž±àž§à¹€àž£àž·à¹ˆàž­àž‡"
     115collectionmeta  .dls.Organization [l=th] "àž«àž™à¹ˆàž§àž¢àž‡àž²àž™"
     116collectionmeta  .dls.Keyword [l=th] "àž§àžŽàž˜àžµà¹ƒàžŠà¹‰"
    51117
    52 collectionmeta  collectionname [l=fr] "Démo de feuilles de styles en cascade (CSS)"
     118collectionmeta  .document [l=th] "àž«àž™àž±àž‡àžªàž·àž­"
     119collectionmeta  .section [l=th] "àžšàž—"
    53120
    54 # -- Spanish strings --------------
     121# -- Simplified Chinese strings ----------------
     122collectionmeta  .text [l=zh] "文本"
     123collectionmeta  .dls.Title,Title [l=zh] "题名"
     124collectionmeta  .dls.Subject [l=zh] "䞻题"
     125collectionmeta  .dls.Organization [l=zh] "机构"
     126collectionmeta  .dls.Keyword [l=zh] "劂䜕"
    55127
    56 collectionmeta  collectionname [l=es] "Colección de muestra CSS"
     128collectionmeta  .document [l=zh] "乊"
     129collectionmeta  .section [l=zh] "ç« "
    57130
    58 # -- English text
     131# -- English text ---------------------------
    59132
    60 collectionmeta  collectionextra [l=en] "This collection demonstrates Greenstone\'s use of Cascading Style Sheets (CSS)
     133collectionmeta  collectionextra [l=en] "
     134This collection demonstrates Greenstone\'s use of Cascading Style Sheets (CSS)
    61135for visual formatting in web browsers. (Greenstone uses CSS instead of HTML
    62136tables since version 2.63.) On every page, you can change the
     
    66140<p>
    67141An <a href=\'_httpcollection_/macros/extra.dm\'>extra.dm</a> macro file is used by the collection to provide the stylesheet switching. This redefines a few macros from the <i>Style</i> package: <b>\_cssheader\_</b>, to link to multiple stylesheets; <b>\_optnavigationbar\_</b>, to display the links to click; and <b>\_pagescriptextra\_</b>, to facilitate the switching when a link is clicked.
    68 </p>
    69 <p>The documents in the collection are the configuration file, the extra.dm file and all the stylesheets.
    70142</p>
    71143<p>If you want to download any of these stylesheets for your own collections,
     
    96168</p>
    97169"
    98 
Note: See TracChangeset for help on using the changeset viewer.