Ignore:
Timestamp:
2010-03-15T15:06:10+13:00 (14 years ago)
Author:
kjdon
Message:

indented it with smaller indent, and changed a few comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/WEB-INF/classes/OAIConfig.xml

    r21769 r21791  
    33-->
    44<OAIConfig>       
    5     <!-- The name of this oai repository, which is human readable. -->
    6          <repositoryName>Greenstone3 OAI repository</repositoryName>
    7     <!-- The base url to request metadata from this repository.
    8             TODO: this element should be determined and overriden dynamically given the osi request url in OAIServer.java. -->
    9          <baseURL>http://your-domain-name/greenstone3/oaiserver</baseURL>
    10      <!-- The version of OAI specification this repository supports. -->
    11          <protocolVersion>2.0</protocolVersion>
    12     <!-- A UTC date time that is the guaranteed lower limit of all datestamps recording changes, midifications etc. in the repository
    13               This element is not necessary in this file since the earliest datestamp is dynamically found out by searching thru all oai collections in the repository to get the earliest built time amongst the collections.
    14          <earliestDatestamp>1970-01-01</earliestDatestamp>
    15     -->
    16          <!-- The manner in which the repository supports the notion of deleted records -->
    17          <deletedRecord>no</deletedRecord>
    18     <!-- The granularity of the datestamp -->
    19          <granularity>YYYY-MM-DDThh:mm:ssZ</granularity>
    20     <!-- The repository maintainer email address -->
    21          <adminEmail></adminEmail>
    22    <!-- Information above this line goes into the response to the Identify request -->
    23   <!-- set to no if you don't want a stylesheet to be specified in the OAI output -->
     5  <!-- The name of this oai repository, which is human readable. -->
     6  <repositoryName>Greenstone3 OAI repository</repositoryName>
     7  <!-- The base url to request metadata from this repository.
     8  TODO: this element should be determined and overriden dynamically given the osi request url in OAIServer.java. -->
     9  <baseURL>http://your-domain-name/greenstone3/oaiserver</baseURL>
     10  <!-- The version of OAI specification this repository supports. Can be 2.0 or 1.0 -->
     11  <protocolVersion>2.0</protocolVersion>
     12  <!-- A UTC date time that is the guaranteed lower limit of all datestamps recording changes, midifications etc. in the repository
     13  This element is not necessary in this file since the earliest datestamp is dynamically found out by searching thru all oai collections in the repository to get the earliest built time amongst the collections.
     14  <earliestDatestamp>1970-01-01</earliestDatestamp>
     15  -->
     16  <!-- The manner in which the repository supports the notion of deleted records -->
     17  <deletedRecord>no</deletedRecord>
     18  <!-- The granularity of the datestamp -->
     19  <granularity>YYYY-MM-DDThh:mm:ssZ</granularity>
     20  <!-- The repository maintainer email address -->
     21  <adminEmail></adminEmail>
     22  <!-- Information above this line goes into the response to the Identify request -->
     23  <!-- set the following to no if you don't want a stylesheet to be specified in the OAI output -->
    2424  <useOAIStylesheet>yes</useOAIStylesheet>
    2525  <!-- uncomment and set value if you want to use a different stylesheet to the default interfaces/oai/oai2.xsl -->
    26    <!--<OAIStylesheet></OAIStylesheet> -->
    27          
    28     <!-- The time period in which a newly generated resumption token will remain valid, specified in second. Hence, the default
    29               value 7200 is equivalent to 2 hours.       
    30               If the resumeAfter parameter is less than 0, this value will not be used.
    31          -->
    32          <resumptionTokenExpiration>7200</resumptionTokenExpiration>
    33      <!-- How many sets/identifiers/records to send for the request before issuing a resumption token. A value less than 0 indicates that a complete list of records will be returned. -->
    34          <resumeAfter>250</resumeAfter>
    35          <!-- These field names will be used when there is no any mapping provided in the collectionConfig.xml and OAIConfig.xml -->
    36          <DCmetadataNames>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</DCmetadataNames>
    37          <!-- a list of metadata formats supported by this repository -->
    38          <ListMetadataFormats>
    39             <metadataFormat metadataPrefix="oai_dc">
    40                 <metadataPrefix>oai_dc</metadataPrefix>
    41                 <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
    42                 <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
    43             <mappingList>
     26  <!--<OAIStylesheet></OAIStylesheet> -->
     27 
     28  <!-- The time period in which a newly generated resumption token will remain valid, specified in second. Hence, the default
     29  value 7200 is equivalent to 2 hours.       
     30  If the resumeAfter parameter is less than 0, this value will not be used.
     31  -->
     32  <resumptionTokenExpiration>7200</resumptionTokenExpiration>
     33  <!-- How many sets/identifiers/records to send for the request before issuing a resumption token. A value less than 0 (e.g. -1) indicates that a complete list of records will be returned. -->
     34  <resumeAfter>250</resumeAfter>
     35  <!-- These field names will be used when there is no any mapping provided in the collectionConfig.xml and OAIConfig.xml -->
     36  <DCmetadataNames>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</DCmetadataNames>
     37  <!-- a list of metadata formats supported by this repository -->
     38  <ListMetadataFormats>
     39    <metadataFormat metadataPrefix="oai_dc">
     40      <metadataPrefix>oai_dc</metadataPrefix>
     41      <schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
     42      <metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace>
     43      <mappingList>
    4444        <!--
    4545        This mapping will be used when there is no mapping provided in the collectionConfig.xml for the oai_dc metadata format.
     
    5252        **Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
    5353        -->
    54             <mapping>dc.Title,dls.Title</mapping>
    55             <mapping>dc.Subject,dls.Subject</mapping> 
    56             <mapping>dc.Language,dls.Language</mapping> 
    57             <mapping>dc.Organization,dls.Organization</mapping> 
    58            </mappingList>
    59         </metadataFormat>
    60          </ListMetadataFormats>
     54    <mapping>dc.Title,dls.Title</mapping>
     55    <mapping>dc.Subject,dls.Subject</mapping> 
     56    <mapping>dc.Language,dls.Language</mapping> 
     57    <mapping>dc.Organization,dls.Organization</mapping> 
     58      </mappingList>
     59    </metadataFormat>
     60  </ListMetadataFormats>
    6161</OAIConfig>
Note: See TracChangeset for help on using the changeset viewer.