Ignore:
Timestamp:
2017-08-18T19:28:42+12:00 (7 years ago)
Author:
ak19
Message:

I hope these are all the changes necessary on the runtime side of GS2 to get the OAI server validation working for GS2: instead of working out the earliest datetime stamp of the OAI repository by comparing the builddate in index/build.cfg of each OAI collection and selecting the earliest, the oai-inf.db is now storing the special earliesttimestamp record. The timestamp of this record represents its collection's earliest timestamp. And the earliest of these among all OAI collections is now the earliest datetime of the OAI repository.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/oaiservr/listidsaction.cpp

    r31387 r31903  
    237237  text_tset        metadata;
    238238  ofstream         logout("oai.log", ios::app);
     239    // logout closed automatically by object destructor at this method's end:
     240    // https://stackoverflow.com/questions/748014/do-i-need-to-manually-close-an-ifstream
    239241  text_t           lastModified = "";
    240242  text_t           deleted_status = "";
Note: See TracChangeset for help on using the changeset viewer.