- Timestamp:
- 2008-08-12T14:24:59+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/runtime-src/src/oaiservr/abstractlistaction.cpp
r16720 r16722 76 76 protocol->get_collectinfo(gsdlCollect, cinfo, err, *this->logout); 77 77 78 text_t metadataPrefix = params["metadataPrefix"]; 79 78 80 // check resumption token 79 81 if (params["resumptionToken"] != "") { … … 81 83 if (token.getCollection() == gsdlCollect) { 82 84 startDoc = token.getPosition() - 1; // first document is said to be 1.. 85 metadataPrefix = "oai_dc"; // TO DO: This should come from the resumption token 83 86 } 84 87 } … … 111 114 // the required date range (if specified). 112 115 if (this->inDateRange(params["from"], params["until"], gsdlCollect, gsdl_id, protocol, output)) { 113 if (this->output_document(output, protocol, gsdlCollect, gsdl_id, params["metadataPrefix"])) {116 if (this->output_document(output, protocol, gsdlCollect, gsdl_id, metadataPrefix)) { 114 117 // this should be an IF statement, where prevDocSeen is only set to true if the above 115 118 // function call returns true (indicating that the doc supported the metadata prefix) but
Note:
See TracChangeset
for help on using the changeset viewer.