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.

Location:
main/trunk/greenstone2/collect/demo
Files:
11 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 ----------------
  • main/trunk/greenstone2/collect/demo/import/b17mie/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">Microlivestock - Little-Known Small Animals with a Promising Economic Future (b17mie)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
     7            <Metadata name="dc.Title">Microlivestock - Little-Known Small Animals with a Promising Economic Future (b17mie)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
    1010            <Metadata mode="accumulate" name="dls.Organization">BOSTID</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Keyword">introduce small animals and micro-livestock in your farm</Metadata>
  • main/trunk/greenstone2/collect/demo/import/b18ase/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">Little Known Asian Animals With a Promising Economic Future (b18ase)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
     7            <Metadata name="dc.Title">Little Known Asian Animals With a Promising Economic Future (b18ase)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
    1010            <Metadata mode="accumulate" name="dls.Organization">BOSTID</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Keyword">introduce little-known Asian farm animals with a promising future</Metadata>
  • main/trunk/greenstone2/collect/demo/import/b20cre/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">Managing Tropical Animal Resources - Crocodiles as a Resource for the Tropics (b20cre)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
     7            <Metadata name="dc.Title">Managing Tropical Animal Resources - Crocodiles as a Resource for the Tropics (b20cre)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
    1010            <Metadata mode="accumulate" name="dls.Organization">BOSTID</Metadata>
    1111        </Description>
  • main/trunk/greenstone2/collect/demo/import/b21wae/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">The Water Buffalo: New Prospects For An Underutilized Animal (1984) (b21wae)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Animal Husbandry and Animal Product Processing|Cattle</Metadata>
    10             <Metadata mode="accumulate" name="dls.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
     7            <Metadata name="dc.Title">The Water Buffalo: New Prospects For An Underutilized Animal (1984) (b21wae)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Animal Husbandry and Animal Product Processing|Cattle</Metadata>
     10            <Metadata mode="accumulate" name="dc.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Organization">BOSTID</Metadata>
    1212            <Metadata mode="accumulate" name="dls.Keyword">utilize the Water Buffalo more effectively</Metadata>
  • main/trunk/greenstone2/collect/demo/import/b22bue/metadata.xml

    r23488 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">Butterfly Farming in Papua New Guinea (b22bue)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
     7            <Metadata name="dc.Title">Butterfly Farming in Papua New Guinea (b22bue)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Animal Husbandry and Animal Product Processing|Other animals (micro-livestock, little known animals, silkworms, reptiles, frogs, snails, game, etc.)</Metadata>
    1010            <Metadata mode="accumulate" name="dls.Organization">BOSTID</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Keyword">start a butterfly farm</Metadata>
  • main/trunk/greenstone2/collect/demo/import/ec158e/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">The Courier - N°158 - July - August 1996 Dossier Communication and the media - Country report Cape Verde (ec158e)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Communication, Information and Documentation|Communication, telecommunication, mass communication, mass media, film-making</Metadata>
    10             <Metadata mode="accumulate" name="dls.Subject">Development Periodicals and Magazines|The Courier ACP 1990 - 1996 Africa-Caribbean-Pacific - European Union</Metadata>
     7            <Metadata name="dc.Title">The Courier - N°158 - July - August 1996 Dossier Communication and the media - Country report Cape Verde (ec158e)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Communication, Information and Documentation|Communication, telecommunication, mass communication, mass media, film-making</Metadata>
     10            <Metadata mode="accumulate" name="dc.Subject">Development Periodicals and Magazines|The Courier ACP 1990 - 1996 Africa-Caribbean-Pacific - European Union</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Organization">EC Courier</Metadata>
    1212        </Description>
  • main/trunk/greenstone2/collect/demo/import/ec159e/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">The Courier - N°159 - Sept- Oct 1996 Dossier Investing in People Country Reports: Mali ; Western Samoa (ec159e)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Society, Culture, Community, Woman, Youth, Population|Social sciences, sociology (works comprising several subgroups) incl. participatory research and training</Metadata>
    10             <Metadata mode="accumulate" name="dls.Subject">Development Periodicals and Magazines|The Courier ACP 1990 - 1996 Africa-Caribbean-Pacific - European Union</Metadata>
     7            <Metadata name="dc.Title">The Courier - N°159 - Sept- Oct 1996 Dossier Investing in People Country Reports: Mali ; Western Samoa (ec159e)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Society, Culture, Community, Woman, Youth, Population|Social sciences, sociology (works comprising several subgroups) incl. participatory research and training</Metadata>
     10            <Metadata mode="accumulate" name="dc.Subject">Development Periodicals and Magazines|The Courier ACP 1990 - 1996 Africa-Caribbean-Pacific - European Union</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Organization">EC Courier</Metadata>
    1212        </Description>
  • main/trunk/greenstone2/collect/demo/import/ec160e/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">The Courier - N°160 - Nov - Dec 1996 - Dossier Habitat - Country reports: Fiji , Tonga (ec160e)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Settlements, Housing, Building - Infrastructure Construction (Roads etc)|Settlements and housing: general works incl. low- cost housing, planning techniques, surveying, etc.</Metadata>
    10             <Metadata mode="accumulate" name="dls.Subject">Development Periodicals and Magazines|The Courier ACP 1990 - 1996 Africa-Caribbean-Pacific - European Union</Metadata>
     7            <Metadata name="dc.Title">The Courier - N°160 - Nov - Dec 1996 - Dossier Habitat - Country reports: Fiji , Tonga (ec160e)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Settlements, Housing, Building - Infrastructure Construction (Roads etc)|Settlements and housing: general works incl. low- cost housing, planning techniques, surveying, etc.</Metadata>
     10            <Metadata mode="accumulate" name="dc.Subject">Development Periodicals and Magazines|The Courier ACP 1990 - 1996 Africa-Caribbean-Pacific - European Union</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Organization">EC Courier</Metadata>
    1212        </Description>
  • main/trunk/greenstone2/collect/demo/import/fb33fe/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">Farming snails 1: Learning about snails; Building a pen; Food and shelter plants (fb33fe)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Agriculture and Food Processing|Better Farming series of FAO and INADES - 46 booklets</Metadata>
    10             <Metadata mode="accumulate" name="dls.Subject">Settlements, Housing, Building - Infrastructure Construction (Roads etc)|Settlements and housing: general works incl. low- cost housing, planning techniques, surveying, etc.</Metadata>
     7            <Metadata name="dc.Title">Farming snails 1: Learning about snails; Building a pen; Food and shelter plants (fb33fe)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Agriculture and Food Processing|Better Farming series of FAO and INADES - 46 booklets</Metadata>
     10            <Metadata mode="accumulate" name="dc.Subject">Settlements, Housing, Building - Infrastructure Construction (Roads etc)|Settlements and housing: general works incl. low- cost housing, planning techniques, surveying, etc.</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Organization">FAO Better Farming series</Metadata>
    1212         </Description>
  • main/trunk/greenstone2/collect/demo/import/fb34fe/metadata.xml

    r18374 r27030  
    55        <FileName>.*</FileName>
    66        <Description>
    7             <Metadata name="dls.Title">Farming snails 2: Choosing snails; Care and harvesting; Further improvement (fb34fe)</Metadata>
    8             <Metadata mode="accumulate" name="dls.Language">English</Metadata>
    9             <Metadata mode="accumulate" name="dls.Subject">Agriculture and Food Processing|Better Farming series of FAO and INADES - 46 booklets</Metadata>
    10             <Metadata mode="accumulate" name="dls.Subject">Settlements, Housing, Building - Infrastructure Construction (Roads etc)|Settlements and housing: general works incl. low- cost housing, planning techniques, surveying, etc.</Metadata>
     7            <Metadata name="dc.Title">Farming snails 2: Choosing snails; Care and harvesting; Further improvement (fb34fe)</Metadata>
     8            <Metadata mode="accumulate" name="dc.Language">English</Metadata>
     9            <Metadata mode="accumulate" name="dc.Subject">Agriculture and Food Processing|Better Farming series of FAO and INADES - 46 booklets</Metadata>
     10            <Metadata mode="accumulate" name="dc.Subject">Settlements, Housing, Building - Infrastructure Construction (Roads etc)|Settlements and housing: general works incl. low- cost housing, planning techniques, surveying, etc.</Metadata>
    1111            <Metadata mode="accumulate" name="dls.Organization">FAO Better Farming series</Metadata>
    1212            <Metadata mode="accumulate" name="dls.Keyword">farm snails</Metadata>
Note: See TracChangeset for help on using the changeset viewer.