Revision 4944
Added by Duane Costa almost 15 years ago
OAIHandler.java | ||
---|---|---|
39 | 39 |
import org.apache.log4j.Logger; |
40 | 40 |
import org.apache.log4j.PropertyConfigurator; |
41 | 41 |
|
42 |
import edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml; |
|
42 | 43 |
import edu.ucsb.nceas.metacat.oaipmh.provider.server.crosswalk.Eml2oai_dc; |
43 | 44 |
import edu.ucsb.nceas.metacat.service.PropertyService; |
44 | 45 |
import edu.ucsb.nceas.metacat.service.ServiceException; |
... | ... | |
540 | 541 |
// Initialize the directory path to the crosswalk XSLT files |
541 | 542 |
String xsltDirPath = servletContext.getRealPath(XSLT_DIR); |
542 | 543 |
Eml2oai_dc.setDirPath(xsltDirPath); |
544 |
Eml.setDirPath(xsltDirPath); |
|
543 | 545 |
|
544 | 546 |
try { |
545 | 547 |
HashMap attributes = null; |
Also available in: Unified diff
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.