Browse Source

Define a filesize attribute to be persisted (#156)

pull/729/head
Jared Whiklo 5 years ago committed by dannylamb
parent
commit
f301c833cf
  1. 1
      islandora.module
  2. 3
      modules/islandora_core_feature/config/install/rdf.mapping.media.audio.yml
  3. 3
      modules/islandora_core_feature/config/install/rdf.mapping.media.file.yml
  4. 3
      modules/islandora_core_feature/config/install/rdf.mapping.media.image.yml
  5. 3
      modules/islandora_core_feature/config/install/rdf.mapping.media.video.yml

1
islandora.module

@ -60,6 +60,7 @@ function islandora_rdf_namespaces() {
'pcdm' => 'http://pcdm.org/models#', 'pcdm' => 'http://pcdm.org/models#',
'use' => 'http://pcdm.org/use#', 'use' => 'http://pcdm.org/use#',
'iana' => 'http://www.iana.org/assignments/relation/', 'iana' => 'http://www.iana.org/assignments/relation/',
'premis' => 'http://www.loc.gov/premis/rdf/v1#',
]; ];
} }

3
modules/islandora_core_feature/config/install/rdf.mapping.media.audio.yml

@ -43,3 +43,6 @@ fieldMappings:
properties: properties:
- 'schema:additionalType' - 'schema:additionalType'
mapping_type: rel mapping_type: rel
field_file_size:
properties:
- 'premis:hasSize'

3
modules/islandora_core_feature/config/install/rdf.mapping.media.file.yml

@ -43,3 +43,6 @@ fieldMappings:
properties: properties:
- 'schema:additionalType' - 'schema:additionalType'
mapping_type: rel mapping_type: rel
field_file_size:
properties:
- 'premis:hasSize'

3
modules/islandora_core_feature/config/install/rdf.mapping.media.image.yml

@ -49,3 +49,6 @@ fieldMappings:
field_height: field_height:
properties: properties:
- 'ebucore:height' - 'ebucore:height'
field_file_size:
properties:
- 'premis:hasSize'

3
modules/islandora_core_feature/config/install/rdf.mapping.media.video.yml

@ -43,3 +43,6 @@ fieldMappings:
properties: properties:
- 'schema:additionalType' - 'schema:additionalType'
mapping_type: rel mapping_type: rel
field_file_size:
properties:
- 'premis:hasSize'

Loading…
Cancel
Save