Ignore:
Timestamp:
2017-08-21T15:38:19+12:00 (7 years ago)
Author:
ak19
Message:

First part of commit after using earliestDatestamp from oai-inf.db rather than build conf: 1. skip output of OAI records for internal 'OID' stored in oai-inf.db, whose entry represents the collection's earliest timestamp info. 2. Now prefer doc's lastmod date from oai-inf.db to doc's oailastmod date in indedb. So for all records, not just deleted records that only have entries in oaiinfdb and not indexdb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/OAIXML.java

    r31230 r31911  
    7878  public static final String RESPONSE_DATE = "responseDate";
    7979  public static final String REQUEST = "request";
    80  
     80
     81  // internal "OID" identifiers in the oai-inf db
     82  /** represents the timestamp of the OAI collection (when its oai-inf db was first created) */
     83  public static final String OAI_EARLIEST_TIMESTAMP_OID = "_earliesttimestamp"; 
     84   
    8185  // Identify data
    8286  public static final String ADMIN_EMAIL = "adminEmail";
Note: See TracChangeset for help on using the changeset viewer.