Ignore:
Timestamp:
2013-03-07T17:18:36+13:00 (11 years ago)
Author:
ak19
Message:

Updating demo collection's import documents to use dc.Title, dc.Language and dc.Subject fields in place of their dls.* equivalents, as these are common to both dc and dls metadata sets. The collect.cfg for GS2 has now been updated to make use of this. Need to make similar changes to GS3's collectionConfig.xml for the demo docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/collect/demo/etc/collect.cfg

    r24954 r27030  
    77infodbtype  gdbm
    88
    9 indexes     text dls.Title,ex.Title dls.Subject dls.Organization dls.Keyword
     9indexes     text dc.Title,ex.Title dc.Subject dls.Organization dls.Keyword
    1010
    1111levels  section document
     
    1515# following two plugins not needed for the demo collection, but are useful to
    1616# include for tutorial purposes
    17 plugin  ImagePlugin
    18 plugin  ZIPPlugin
     17plugin  ImagePlugin
     18plugin  ZIPPlugin
    1919plugin  MetadataXMLPlugin
    2020plugin  ArchivesInfPlugin
    2121plugin  DirectoryPlugin
    2222
    23 classify    List -metadata dls.Title -partition_type_within_level constant_size
     23classify    List -metadata dc.Title -partition_type_within_level constant_size
    2424
    25 classify    Hierarchy -metadata dls.Subject -sort dls.Title
     25classify    Hierarchy -metadata dc.Subject -sort dc.Title
    2626
    27 classify    List -sort_leaf_nodes_using dls.Title -metadata dls.Organization -bookshelf_type always -partition_type_within_level constant_size
     27classify    List -sort_leaf_nodes_using dc.Title -metadata dls.Organization -bookshelf_type always -partition_type_within_level constant_size
    2828
    2929classify    List -metadata dls.Keyword -partition_type_within_level constant_size -buttonname Howto
     
    5050# default
    5151collectionmeta  .text [l=en] "_labeltext_"
    52 collectionmeta  .dls.Title,Title [l=en] "_labelTitle_"
    53 collectionmeta  .dls.Subject [l=en] "_labelSubject_"
     52collectionmeta  .dc.Title,Title [l=en] "_labelTitle_"
     53collectionmeta  .dc.Subject [l=en] "_labelSubject_"
    5454collectionmeta  .dls.Organization [l=en] "_labelOrganization_"
    5555collectionmeta  .dls.Keyword [l=en] "_labelHowto_"
     
    6262collectionmeta  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."
    6363
    64 collectionmeta  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\"}"
     64collectionmeta  depositormetadata [l=en] "{\"name\":\"dc.Title\",\"label\":\"Title\",\"tooltip\":\"dc.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\":\"dc.Subject\",\"label\":\"Subject\",\"tooltip\":\"dc.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\":\"dc.Language\",\"label\":\"Language\",\"tooltip\":\"dc.Language: The language of this resource.\",\"type\":\"text\"}"
    6565
    6666# -- French strings ----------------
Note: See TracChangeset for help on using the changeset viewer.