Project

General

Profile

« Previous | Next » 

Revision 4944

Bug 3835: Design and implement OAI-PMH compliant harvest subsystem
Add support for request parameter "metadataPrefix=eml". This returns EML 2.1.0 records in an OAI-PMH format. EML 2.0.0 and 2.0.1 documents are first transformed to EML 2.1.0 using the eml201to210.xsl stylesheet that is packaged with the EML Utilities.

View differences:

MetacatCatalog.java
323 323
      recordMap = new HashMap<String, String>();
324 324
      recordMap.put("localIdentifier", localIdentifier);
325 325
      recordMap.put("lastModified", dateMap.get(localIdentifier));
326
      recordMap.put("doctype", docTypeMap.get(localIdentifier));
326 327
      return recordMap;
327 328
    }
328 329
    

Also available in: Unified diff