Changeset 19122

Show
Ignore:
Timestamp:
20.04.2009 15:26:30 (10 years ago)
Author:
ak19
Message:

Some rudimentary steps to ensure that glisite.cfg, llssite.cfg and cgi-bin/gsdlsite.cfg are there.

Location:
gsdl/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/collect/demo/demo.col

    r13030 r19122  
    66  <!ELEMENT Build             (Arguments*)> 
    77  <!ELEMENT Import            (Arguments*)> 
     8  <!ELEMENT Schedule          (Arguments*)> 
    89  <!ELEMENT Argument          (#PCDATA)> 
    910  <!ATTLIST Argument 
     
    2021            <Argument enabled="true" name="removeold"/> 
    2122        </Import> 
     23        <Schedule/> 
    2224    </BuildConfig> 
    2325</GathererCollection> 
  • gsdl/trunk/collect/demo/etc/collect.cfg

    r18894 r19122  
    88indexes     text dls.Title,Title dls.Subject dls.Organization dls.Keyword 
    99 
    10 levels      section document 
     10levels  section document 
    1111 
    12 plugin      GreenstoneXMLPlugin 
    13 plugin      HTMLPlugin -description_tags 
    14 plugin      MetadataXMLPlugin 
    15 plugin      ArchivesInfPlugin 
    16 plugin      DirectoryPlugin 
     12plugin  GreenstoneXMLPlugin 
     13plugin  HTMLPlugin -description_tags 
     14plugin  MetadataXMLPlugin 
     15plugin  ArchivesInfPlugin 
     16plugin  DirectoryPlugin 
    1717 
    1818classify    List -metadata dls.Title 
    1919 
    20 classify    Hierarchy -metadata dls.Subject -sort dls.Title 
     20classify    Hierarchy -metadata "dls.Subject" -sort dls.Title 
    2121 
    22 classify    List -metadata dls.Organization -bookshelf_type always -sort_leaf_nodes_using dls.Title  
     22classify    List -sort_leaf_nodes_using dls.Title -metadata dls.Organization -bookshelf_type always 
    2323 
    2424classify    List -metadata dls.Keyword -buttonname Howto 
     
    3939format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>" 
    4040 
     41format SearchTypes "plain,form" 
     42 
    4143# -- English strings ---------------- 
    4244collectionmeta  collectionname [l=en] "Greenstone demo" 
    4345collectionmeta  collectionextra [l=en] "This is a demonstration collection for the Greenstone digital library software.\nIt contains a small subset (11 documents) of the Humanity Development Library." 
    4446 
    45 collectionmeta .text [l=en] "text" 
    46 collectionmeta .dls.Title,Title [l=en] "titles" 
    47 collectionmeta .dls.Subject [l=en] "subjects" 
    48 collectionmeta .dls.Organization [l=en] "organizations" 
    49 collectionmeta .dls.Keyword [l=en] "how to" 
     47collectionmeta  .text [l=en] "text" 
     48collectionmeta  .dls.Title,Title [l=en] "titles" 
     49collectionmeta  .dls.Subject [l=en] "subjects" 
     50collectionmeta  .dls.Organization [l=en] "organizations" 
     51collectionmeta  .dls.Keyword [l=en] "how to" 
    5052 
    51 collectionmeta .document [l=en] "book" 
    52 collectionmeta .section [l=en] "chapter" 
     53collectionmeta  .document [l=en] "book" 
     54collectionmeta  .section [l=en] "chapter" 
    5355 
    5456collectionmeta  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\"}" 
     
    5658# -- French strings ---------------- 
    5759collectionmeta  collectionname [l=fr] "Démo Greenstone" 
    58 collectionmeta  collectionextra [l=fr] "Il s'agit d'une collection de démonstration pour le logiciel de bibliothÚque numérique Greenstone.\nElle contient un petit échantillon (11 documents) de la BibliothÚque de Développement de l'Humanité." 
     60collectionmeta  collectionextra [l=fr] "Il s\'agit d\'une collection de démonstration pour le logiciel de bibliothÚque numérique Greenstone.\nElle contient un petit échantillon (11 documents) de la BibliothÚque de Développement de l\'Humanité." 
    5961 
    60 collectionmeta .text [l=fr] "texte" 
    61 collectionmeta .dls.Title,Title [l=fr] "titres" 
    62 collectionmeta .dls.Subject [l=fr] "sujets" 
    63 collectionmeta .dls.Organization [l=fr] "organisations" 
    64 collectionmeta .dls.Keyword [l=fr] "comment faire" 
    65 collectionmeta .document [l=fr] "livre" 
    66 collectionmeta .section [l=fr] "châpitre" 
     62collectionmeta  .text [l=fr] "texte" 
     63collectionmeta  .dls.Title,Title [l=fr] "titres" 
     64collectionmeta  .dls.Subject [l=fr] "sujets" 
     65collectionmeta  .dls.Organization [l=fr] "organisations" 
     66collectionmeta  .dls.Keyword [l=fr] "comment faire" 
     67collectionmeta  .document [l=fr] "livre" 
     68collectionmeta  .section [l=fr] "châpitre" 
    6769 
    6870# -- Spanish strings ---------------- 
     
    7072collectionmeta  collectionextra [l=es] "Esta es una colección de demostración del programa Greenstone.\nContiene un pequeño subconjunto (11 documentos) de la Biblioteca para el Desarrollo Humano." 
    7173 
    72 collectionmeta .text [l=es] "texo" 
    73 collectionmeta .dls.Title,Title [l=es] "títulos" 
    74 collectionmeta .dls.Subject [l=es] "temas" 
    75 collectionmeta .dls.Organization [l=es] "organizaciones" 
    76 collectionmeta .dls.Keyword [l=es] "cómo" 
    77 collectionmeta .document [l=es] "libro" 
    78 collectionmeta .section [l=es] "capítulo" 
     74collectionmeta  .text [l=es] "texo" 
     75collectionmeta  .dls.Title,Title [l=es] "títulos" 
     76collectionmeta  .dls.Subject [l=es] "temas" 
     77collectionmeta  .dls.Organization [l=es] "organizaciones" 
     78collectionmeta  .dls.Keyword [l=es] "cómo" 
     79collectionmeta  .document [l=es] "libro" 
     80collectionmeta  .section [l=es] "capítulo" 
    7981 
    8082# -- Russian strings ---------------- 
    8183collectionmeta  collectionname [l=ru] "ЎеЌПМстрацОПММый прОЌер ГрОМстПуМ" 
    8284collectionmeta  collectionextra [l=ru] "ЭтП - ЎеЌПМстрацОПММая кПллекцОя прПграЌЌМПгП ПбеспечеМОя цОфрПвПй бОблОПтекО ГрОМстПуМ. ОМа сПЎержОт МебПльшПй пПЎМабПр (11 ЎПкуЌеМтПв) ГуЌаМОтарМПй бОблОПтекО развОтОя." 
    83 collectionmeta .text [l=ru] "текст" 
    84 collectionmeta .dls.Title,Title [l=ru] "загПлПвкО" 
    85 collectionmeta .dls.Subject [l=ru] "указателО" 
    86 collectionmeta .dls.Organization [l=ru] "ПргаМОзацОО" 
    87 collectionmeta .dls.Keyword [l=ru] "спПсПбы" 
    88 collectionmeta .document [l=ru] "кМОга" 
    89 collectionmeta .section [l=ru] "глава" 
     85collectionmeta  .text [l=ru] "текст" 
     86collectionmeta  .dls.Title,Title [l=ru] "загПлПвкО" 
     87collectionmeta  .dls.Subject [l=ru] "указателО" 
     88collectionmeta  .dls.Organization [l=ru] "ПргаМОзацОО" 
     89collectionmeta  .dls.Keyword [l=ru] "спПсПбы" 
     90collectionmeta  .document [l=ru] "кМОга" 
     91collectionmeta  .section [l=ru] "глава" 
    9092 
    9193# -- Arabic strings ---------------- 
     
    105107كتؚة التن٠
    106108ية الؚ؎رية." 
    107 collectionmeta .text [l=ar] "نص" 
    108 collectionmeta .dls.Title,Title [l=ar] "العناوين" 
    109 collectionmeta .dls.Subject [l=ar] "ال٠
     109collectionmeta  .text [l=ar] "نص" 
     110collectionmeta  .dls.Title,Title [l=ar] "العناوين" 
     111collectionmeta  .dls.Subject [l=ar] "ال٠
    110112وضوعات" 
    111 collectionmeta .dls.Organization [l=ar] "ال٠
     113collectionmeta  .dls.Organization [l=ar] "ال٠
    112114ن؞٠
    113115ات" 
    114 collectionmeta .dls.Keyword [l=ar] "إر؎اد" 
    115 collectionmeta .document [l=ar] "كتاؚ" 
    116 collectionmeta .section [l=ar] "فصل" 
     116collectionmeta  .dls.Keyword [l=ar] "إر؎اد" 
     117collectionmeta  .document [l=ar] "كتاؚ" 
     118collectionmeta  .section [l=ar] "فصل" 
    117119 
    118120# -- Armenian strings ---------------- 
     
    130132collectionmeta  collectionextra [l=pt-br] "Esta é uma coleção de demonstração para o software de biblioteca digital Greenstone. \nEle contém um pequeno subconjunto (11 documentos) da Biblioteca de Desenvolvimento Humano." 
    131133 
    132 collectionmeta .text [l=pt-br] "texto" 
    133 collectionmeta .dls.Title,Title [l=pt-br] "títulos" 
    134 collectionmeta .dls.Subject [l=pt-br] "assuntos" 
    135 collectionmeta .dls.Organization [l=pt-br] "organizações" 
    136 collectionmeta .dls.Keyword [l=pt-br] "como fazer" 
     134collectionmeta  .text [l=pt-br] "texto" 
     135collectionmeta  .dls.Title,Title [l=pt-br] "títulos" 
     136collectionmeta  .dls.Subject [l=pt-br] "assuntos" 
     137collectionmeta  .dls.Organization [l=pt-br] "organizações" 
     138collectionmeta  .dls.Keyword [l=pt-br] "como fazer" 
    137139 
    138 collectionmeta .document [l=pt-br] "livro" 
    139 collectionmeta .section [l=pt-br] "capítulo" 
    140  
     140collectionmeta  .document [l=pt-br] "livro" 
     141collectionmeta  .section [l=pt-br] "capítulo" 
    141142 
    142143# -- Thai strings ---------------- 
     
    144145collectionmeta  collectionextra [l=th] "àž„àž­àž¥à¹€àž¥àžàžŠàž±àž™àž™àžµà¹‰à¹€àž›à¹‡àž™àž„àž­àž¥à¹€àž¥àžàžŠàž±àž™àžªàž²àž˜àžŽàž•àž‚àž­àž‡àž‹àž­àžŸàž•à¹Œà¹àž§àž£à¹Œàž«à¹‰àž­àž‡àžªàž¡àžžàž”àž”àžŽàžˆàžŽàž—àž±àž¥àžàž£àžµàž™à¹‚àž•àž™\nIt àž‹àž¶à¹ˆàž‡àž›àž£àž°àžàž­àžšàž”à¹‰àž§àž¢àžŠàžžàž”àž‚à¹‰àž­àž¡àž¹àž¥àž¢à¹ˆàž­àž¢àž‚àž™àž²àž”à¹€àž¥à¹‡àžàžˆàž³àž™àž§àž™àž«àž™àž¶à¹ˆàž‡àžŠàžžàž” (à¹€àž­àžàžªàž²àž£àžˆàž³àž™àž§àž™ 11 àž‰àžšàž±àžš) àž‚àž­àž‡àž«à¹‰àž­àž‡àžªàž¡àžžàž”à¹€àžžàž·à¹ˆàž­àžàž²àž£àžžàž±àž’àž™àž²àž¡àž™àžžàž©àž¢àžŠàž²àž•àžŽ (Humanity Development Library)" 
    145146 
    146 collectionmeta .text [l=th] "àž‚à¹‰àž­àž„àž§àž²àž¡" 
    147 collectionmeta .dls.Title,Title [l=th] "àžŠàž·à¹ˆàž­à¹€àž£àž·à¹ˆàž­àž‡" 
    148 collectionmeta .dls.Subject [l=th] "àž«àž±àž§à¹€àž£àž·à¹ˆàž­àž‡" 
    149 collectionmeta .dls.Organization [l=th] "àž«àž™à¹ˆàž§àž¢àž‡àž²àž™" 
    150 collectionmeta .dls.Keyword [l=th] "àž§àžŽàž˜àžµà¹ƒàžŠà¹‰" 
     147collectionmeta  .text [l=th] "àž‚à¹‰àž­àž„àž§àž²àž¡" 
     148collectionmeta  .dls.Title,Title [l=th] "àžŠàž·à¹ˆàž­à¹€àž£àž·à¹ˆàž­àž‡" 
     149collectionmeta  .dls.Subject [l=th] "àž«àž±àž§à¹€àž£àž·à¹ˆàž­àž‡" 
     150collectionmeta  .dls.Organization [l=th] "àž«àž™à¹ˆàž§àž¢àž‡àž²àž™" 
     151collectionmeta  .dls.Keyword [l=th] "àž§àžŽàž˜àžµà¹ƒàžŠà¹‰" 
    151152 
    152 collectionmeta .document [l=th] "àž«àž™àž±àž‡àžªàž·àž­" 
    153 collectionmeta .section [l=th] "àžšàž—" 
    154  
     153collectionmeta  .document [l=th] "àž«àž™àž±àž‡àžªàž·àž­" 
     154collectionmeta  .section [l=th] "àžšàž—" 
    155155 
    156156# -- Simplified Chinese strings ---------------- 
     
    159159含了人类发展囟乊銆Humanity Development Library的䞀䞪小子集11䞪文档。" 
    160160 
    161 collectionmeta .text [l=zh] "文本" 
    162 collectionmeta .dls.Title,Title [l=zh] "题名" 
    163 collectionmeta .dls.Subject [l=zh] "䞻题" 
    164 collectionmeta .dls.Organization [l=zh] "机构" 
    165 collectionmeta .dls.Keyword [l=zh] "劂䜕" 
     161collectionmeta  .text [l=zh] "文本" 
     162collectionmeta  .dls.Title,Title [l=zh] "题名" 
     163collectionmeta  .dls.Subject [l=zh] "䞻题" 
     164collectionmeta  .dls.Organization [l=zh] "机构" 
     165collectionmeta  .dls.Keyword [l=zh] "劂䜕" 
    166166 
    167 collectionmeta .document [l=zh] "乊" 
    168 collectionmeta .section [l=zh] "ç« " 
     167collectionmeta  .document [l=zh] "乊" 
     168collectionmeta  .section [l=zh] "ç« " 
    169169 
    170  
    171  
  • gsdl/trunk/makegs2.bat

    r18829 r19122  
    107107echo 2. Web library only 
    108108echo 3. Both 
    109 echo 4. Quit 
     109echo 4. Set up configuration files (glisite.cfg, llssite.cfg, gsdlsite) 
     110echo 5. Quit 
    110111echo. 
    111112echo Please choose a number from the menu. Otherwise both libraries will be compiled in 15 seconds. 
    112113.\bin\windows\choice.exe /N /T:3,15 /C:1234 
    113     IF errorlevel 4 GOTO END 
     114    IF errorlevel 5 GOTO END 
     115    IF errorlevel 4 GOTO ENDOK 
    114116    IF errorlevel 3 GOTO WITHBOTH 
    115117    IF errorlevel 2 GOTO WITHOUTLOCALLIB 
     
    195197 
    196198:ENDOK 
     199if not exist llssite.cfg copy llssite.cfg.in llssite.cfg 
     200if not exist glisite.cfg copy glisite.cfg.in glisite.cfg 
     201if not exist cgi-bin\gsdlsite.cfg echo "Please replace the GSDLHOME placeholder in cgi-bin\gsdlsite.cfg with your GS2 installation path" 
     202if not exist cgi-bin\gsdlsite.cfg copy cgi-bin\gsdlsite.cfg.in cgi-bin\gsdlsite.cfg 
    197203echo. 
    198204echo Done!