Changeset 27031


Ignore:
Timestamp:
2013-03-07T17:30:21+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 had just been updated to make use of this. Now have made similar changes to GS3's collectionConfig.xml files for the demo docs (gs2mgppdemo, gs2mgdemo and lucene).

Location:
main/trunk/greenstone3/web/sites/localsite/collect
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/sites/localsite/collect/gs2mgdemo/etc/collectionConfig.xml

    r25374 r27031  
    5656    <browse>
    5757        <classifier name="List">
    58             <option name="-metadata" value="dls.Title"/>
     58            <option name="-metadata" value="dc.Title"/>
    5959            <option name="-partition_type_within_level" value="constant_size"/>
    6060        </classifier>
    6161        <classifier name="Hierarchy">
    62             <option name="-metadata" value="dls.Subject"/>
    63             <option name="-sort" value="dls.Title"/>
     62            <option name="-metadata" value="dc.Subject"/>
     63            <option name="-sort" value="dc.Title"/>
    6464        </classifier>
    6565        <classifier name="List">
    6666            <option name="-metadata" value="dls.Organization"/>
    67             <option name="-sort_leaf_nodes_using" value="dls.Title"/>
     67            <option name="-sort_leaf_nodes_using" value="dc.Title"/>
    6868            <option name="-partition_type_within_level" value="constant_size"/>
    6969            <option name="-bookshelf_type" value="always"/>
     
    9595                    <!--   a custom mapping as this collection doesn't have dc metadata -->
    9696                    <mappingList>
    97                         <mapping>dc:title,dls.Title</mapping>
    98                         <mapping>dc:subject,dls.Subject</mapping>
    99                         <mapping>dc:language,dls.Language</mapping>
     97                        <mapping>dc:title,dc.Title</mapping>
     98                        <mapping>dc:subject,dc.Subject</mapping>
     99                        <mapping>dc:language,dc.Language</mapping>
    100100                        <mapping>dc:publisher,dls.Organization</mapping>
    101101                    </mappingList>
  • main/trunk/greenstone3/web/sites/localsite/collect/gs2mgppdemo/etc/collectionConfig.xml

    r25825 r27031  
    2929            <displayItem lang="en" name="name">text</displayItem>
    3030        </index>
    31         <index name="dls.Title,Title">
     31        <index name="dc.Title,Title">
    3232            <displayItem lang="en" name="name">titles</displayItem>
    3333        </index>
    34         <index name="dls.Subject">
     34        <index name="dc.Subject">
    3535            <displayItem lang="en" name="name">subjects</displayItem>
    3636        </index>
     
    6262    <browse>
    6363        <classifier name="List">
    64             <option name="-metadata" value="dls.Title"/>
     64            <option name="-metadata" value="dc.Title"/>
    6565            <option name="-partition_type_within_level" value="constant_size"/>
    6666        </classifier>
    6767        <classifier name="Hierarchy">
    68             <option name="-metadata" value="dls.Subject"/>
    69             <option name="-sort" value="dls.Title"/>
     68            <option name="-metadata" value="dc.Subject"/>
     69            <option name="-sort" value="dc.Title"/>
    7070        </classifier>
    7171        <classifier name="List">
    7272            <option name="-metadata" value="dls.Organization"/>
    73             <option name="-sort_leaf_nodes_using" value="dls.Title"/>
     73            <option name="-sort_leaf_nodes_using" value="dc.Title"/>
    7474            <option name="-partition_type_within_level" value="constant_size"/>
    7575            <option name="-bookshelf_type" value="always"/>
     
    101101                    <!--   a custom mapping as this collection doesn't have dc metadata -->
    102102                    <mappingList>
    103                         <mapping>dc:title,dls.Title</mapping>
    104                         <mapping>dc:subject,dls.Subject</mapping>
    105                         <mapping>dc:language,dls.Language</mapping>
     103                        <mapping>dc:title,dc.Title</mapping>
     104                        <mapping>dc:subject,dc.Subject</mapping>
     105                        <mapping>dc:language,dc.Language</mapping>
    106106                        <mapping>dc:publisher,dls.Organization</mapping>
    107107                    </mappingList>
  • main/trunk/greenstone3/web/sites/localsite/collect/lucene-jdbm-demo/etc/collectionConfig.xml

    r26530 r27031  
    4040            <displayItem lang="en" name="name">text</displayItem>
    4141        </index>
    42         <index name="dls.Title,Title">
     42        <index name="dc.Title,Title">
    4343            <displayItem lang="en" name="name">titles</displayItem>
    4444        </index>
    45         <index name="dls.Subject">
     45        <index name="dc.Subject">
    4646            <displayItem lang="en" name="name">subjects</displayItem>
    4747        </index>
     
    9292    <browse>
    9393        <classifier name="List">
    94             <option name="-metadata" value="dls.Title"/>
     94            <option name="-metadata" value="dc.Title"/>
    9595            <option name="-partition_type_within_level" value="constant_size"/>
    9696        </classifier>
    9797        <classifier name="Hierarchy">
    98             <option name="-metadata" value="dls.Subject"/>
    99             <option name="-sort" value="dls.Title"/>
     98            <option name="-metadata" value="dc.Subject"/>
     99            <option name="-sort" value="dc.Title"/>
    100100        </classifier>
    101101        <classifier name="List">
    102102            <option name="-metadata" value="dls.Organization"/>
    103             <option name="-sort_leaf_nodes_using" value="dls.Title"/>
     103            <option name="-sort_leaf_nodes_using" value="dc.Title"/>
    104104            <option name="-partition_type_within_level" value="constant_size"/>
    105105            <option name="-bookshelf_type" value="always"/>
     
    197197           
    198198            <gsf:headMetaTags>
    199               <gsf:metadata name="dls.Title"/>
    200               <gsf:metadata name="dls.Subject"/>
     199              <gsf:metadata name="dc.Title"/>
     200              <gsf:metadata name="dc.Subject"/>
    201201              <gsf:metadata name="dls.Organization"/>
    202202            </gsf:headMetaTags>
     
    218218                    <!--   a custom mapping as this collection doesn't have dc metadata -->                   
    219219                    <mappingList>                       
    220                         <mapping>dc:title,dls.Title</mapping>
    221                         <mapping>dc:subject,dls.Subject</mapping>
    222                         <mapping>dc:language,dls.Language</mapping>
     220                        <mapping>dc:title,dc.Title</mapping>
     221                        <mapping>dc:subject,dc.Subject</mapping>
     222                        <mapping>dc:language,dc.Language</mapping>
    223223                        <mapping>dc:publisher,dls.Organization</mapping>                   
    224224                    </mappingList>
Note: See TracChangeset for help on using the changeset viewer.