Ignore:
Timestamp:
2011-06-03T22:44:28+12:00 (13 years ago)
Author:
ak19
Message:

Now GS2 works out the earliestDatestamp of the repository in the manner GS3 does it (read each OAI-enabled collection's build.cfg to get the collection's earliestDatestamp field and choose the oldest such date among the OAI collections). Previously GS2 used to always set the earliestDatestamp to the unix epoch of 1970, which, while it would validate, wasn't the right thing to do as it wouldn't help with resumptiontokens and other date based things. Checked that the GS server still validates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/colservr/comtypes.h

    r22050 r24114  
    112112  text_tmap      private_documents;   // the acl to disallow access to listed documents
    113113  text_tmap      dynamic_classifiers;
     114  text_t         earliestDatestamp;   // For OAIserver validation. Time since linux Epoch, expressed as (long) integer value in string form
    114115};
    115116
Note: See TracChangeset for help on using the changeset viewer.