Drupal modules for browsing and managing Fedora-based digital repositories.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

34 lines
842 B

<?php
/**
* @file
* Islandora module for working with MODS Metadata.
*/
define('ISLANDORA_MODS_NAMESPACE', 'http://www.loc.gov/mods/v3/');
define('ISLANDORA_MODS_NAMESPACE_PREFIX', 'mods');
define('ISLANDORA_MODS_RDF_NAMESPACE', 'http://www.loc.gov/mods/modsrdf/v1#');
define('ISLANDORA_MODS_RDF_NAMESPACE_PREFIX', 'modsrdf');
define('ISLANDORA_MODS_FIELD', 'field_mods');
define('ISLANDORA_MODS_FILE_ID', 'MODS');
/**
* Implements hook_rdf_namespaces().
*/
function islandora_mods_rdf_namespaces() {
return array(
ISLANDORA_MODS_RDF_NAMESPACE_PREFIX => ISLANDORA_MODS_RDF_NAMESPACE,
);
}
/**
* Implements hook_pcdm_file_mapping().
*/
function islandora_mods_pcdm_file_mapping() {
return array(
ISLANDORA_MODS_FIELD => array(
'id' => ISLANDORA_MODS_FILE_ID,
'mimetype' => 'application/xml',
),
);
}