SURFshare didl2ore gateway
Gateway is implemented with Python
Files:
-
transform.xsl
transforms a single DIDL record into a Atom XML Resource Map
-
feed.xsl
transforms a list of DIDL records, e.g. a search result set, into a Atom feed of which the entries are Atom XML Resource Maps; the latter are generated by transform.xsl
-
atom-grddl.xsl
transforms a Atom XML Resource Map into a RDF XML Resource Map; this is an adapation of a GRDDL document with the same name created by the LANL research group of Herbert Van de Sompel
FIXME there is namespace problem with the date elements - created, modified
-
metadata.xsl
extracts MODS and OAI_DC from DIDL records
-
didl2oregateway.py
python source code of this gateway
URL templates:
- gateway = "https://ore/place.pukurin.uvt.nl"
- source = "{prefix for didl}/{oai identifier of record}/{baseurl of OAI server}"
- Atom ReM = "{gateway}/rem/atom/{source}"
- RDF ReM = "{gateway}/rem/rdf/{source}"
- Aggregation = "{gateway}/a/{source}"
- MODS record = {gateway}/mods/{source}
- OAI_DC record = "{gateway}/oai_dc/{source}"
- Atom feed of Atom ReMs = "{gateway}/request?query={cql-query}[&startRecord={startRecord}][&maximumRecords={maximumRecords}]"
Mapping of DIDL/MODS to OAI-ORE Resource Maps
Examples: