Show
Ignore:
Timestamp:
23.06.2010 13:58:54 (10 years ago)
Author:
kjdon
Message:

ids are now like oai:repos-id:collection:doc

Files:
1 modified

Legend:

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

    r16718 r22289  
    210210  text_t           lastModified; 
    211211  int              oaiVersion = this->configuration->getOAIVersion(); 
    212  
     212  text_t repos_id = this->configuration->getRepositoryId(); 
    213213  get_info(OID, collection, "", metadata, false, protocol, response, logout); 
    214214  doc_info = response.docInfo[0]; 
     
    217217  // output the record for this document 
    218218  text_t oaiLabel = OID; 
    219   oaiclassifier::toOAI(collection, oaiLabel); 
     219  oaiclassifier::toOAI(repos_id, collection, oaiLabel); 
    220220 
    221221  if(oaiVersion <= 110)