- Timestamp:
- 2017-02-08T18:31:18+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/oaiservr/listidsaction.cpp
r27534 r31387 237 237 text_tset metadata; 238 238 ofstream logout("oai.log", ios::app); 239 text_t lastModified; 239 text_t lastModified = ""; 240 text_t deleted_status = ""; 240 241 int oaiVersion = this->configuration->getOAIVersion(); 241 242 text_t repos_id = this->configuration->getRepositoryId(); 242 get_ info(OID, collection, "", metadata, false, protocol, response, logout);243 get_oai_info(OID, collection, "", metadata, false, protocol, response, logout); 243 244 doc_info = response.docInfo[0]; 244 245 this->getLastModifiedDate(doc_info, lastModified); 246 this->getMeta(doc_info, "oaiinf.status", deleted_status); 245 247 246 248 // output the record for this document … … 251 253 output << " <identifier>" << oaiLabel << "</identifier>\n"; 252 254 else 253 this->output_record_header(output, oaiLabel, lastModified, 255 this->output_record_header(output, oaiLabel, lastModified, deleted_status, 254 256 doc_info.metadata["memberof"].values, oaiVersion); 255 257
Note:
See TracChangeset
for help on using the changeset viewer.