Skip to content

Commit

Permalink
Merge pull request #7 from Islandora-CLAW/text_extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
seth-shaw-unlv authored Sep 19, 2019
2 parents 94d8eb2 + 0bd9ab1 commit 3e132f9
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 48 deletions.
1 change: 0 additions & 1 deletion config/install/context.context.all_media.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ conditions:
image: image
video: video
negate: 0
uuid: ae973920-edc3-40c4-a1d6-f2039ede8648
context_mapping:
media: '@islandora.media_route_context_provider:media'
reactions:
Expand Down
2 changes: 0 additions & 2 deletions config/install/context.context.audio_original_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ conditions:
media_has_term:
id: media_has_term
negate: 0
uuid: 6a56b625-4b86-46dc-8997-b3bc2443d48b
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
parent_node_has_term:
id: parent_node_has_term
negate: 0
uuid: a05516b2-72e0-44a4-b0db-45c71d5d8105
uri: 'http://purl.org/coar/resource_type/c_18cc'
context_mapping:
media: '@islandora.media_route_context_provider:media'
Expand Down
1 change: 0 additions & 1 deletion config/install/context.context.binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ conditions:
node_has_term:
id: node_has_term
negate: 0
uuid: f84aa317-a681-4a1e-8a40-2fe2b6868ea8
tids:
-
target_id: '5'
Expand Down
3 changes: 0 additions & 3 deletions config/install/context.context.collection.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ conditions:
node_has_term:
id: node_has_term
negate: 0
uuid: 30424693-e24a-444f-8aeb-11ab527ed233
context_mapping:
node: '@node.node_route_context:node'
uri: 'http://purl.org/dc/dcmitype/Collection'
Expand All @@ -37,9 +36,7 @@ reactions:
css_class: ''
unique: 0
context_id: collection
uuid: 41f1d520-14ae-479e-90d2-34aa6f4a750e
id: blocks
saved: false
uuid: 379baa20-03b9-4402-8a5c-20a3201f239b
include_default_blocks: 1
weight: 0
1 change: 0 additions & 1 deletion config/install/context.context.external_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ conditions:
filesystems:
public: public
negate: 0
uuid: 399d6acd-013e-4cb1-8c45-ece5c18060d5
context_mapping:
file: '@islandora.file_route_context_provider:file'
reactions:
Expand Down
1 change: 0 additions & 1 deletion config/install/context.context.files_in_fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ conditions:
filesystems:
fedora: fedora
negate: 0
uuid: ea9d2661-2dc1-4480-bc9b-3fedeceba5f9
context_mapping:
file: '@islandora.file_route_context_provider:file'
reactions:
Expand Down
2 changes: 0 additions & 2 deletions config/install/context.context.image_original_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ conditions:
media_has_term:
id: media_has_term
negate: 0
uuid: ae122314-81cd-42cb-b3b8-908754ba72e5
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
parent_node_has_term:
id: parent_node_has_term
negate: 0
uuid: 2d2839ad-fc37-4c46-a8d2-e8409127c31d
uri: 'http://purl.org/coar/resource_type/c_c513'
context_mapping:
media: '@islandora.media_route_context_provider:media'
Expand Down
1 change: 0 additions & 1 deletion config/install/context.context.open_seadragon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ conditions:
node_has_term:
id: node_has_term
negate: 0
uuid: dba449c3-4b9a-4428-8320-e6bd8f69eee2
tids:
-
target_id: '35'
Expand Down
33 changes: 33 additions & 0 deletions config/install/context.context.pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
langcode: en
status: true
dependencies:
module:
- islandora
name: pages
label: Pages
group: Islandora
description: 'Context for page objects'
requireAllConditions: true
disabled: false
conditions:
parent_node_has_term:
id: parent_node_has_term
negate: 0
uri: 'http://id.loc.gov/ontologies/bibframe/part'
context_mapping:
media: '@islandora.media_route_context_provider:media'
media_has_term:
id: media_has_term
negate: 0
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
reactions:
derivative:
id: derivative
actions:
get_ocr_from_image: get_ocr_from_image
image_generate_a_service_file_from_an_original_file: image_generate_a_service_file_from_an_original_file
image_generate_a_thumbnail_from_an_original_file: image_generate_a_thumbnail_from_an_original_file
saved: false
weight: 0
3 changes: 1 addition & 2 deletions config/install/context.context.pdf_original_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,20 @@ conditions:
media_has_term:
id: media_has_term
negate: 0
uuid: a263091f-a591-4aff-b890-64bd88c3b01e
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
parent_node_has_term:
id: parent_node_has_term
negate: 0
uuid: 5654bf7d-f82b-48ca-a738-f36720b4e252
uri: 'https://schema.org/DigitalDocument'
context_mapping:
media: '@islandora.media_route_context_provider:media'
reactions:
derivative:
id: derivative
actions:
get_ocr_from_image: get_ocr_from_image
image_generate_a_thumbnail_from_an_original_file: image_generate_a_thumbnail_from_an_original_file
saved: false
weight: 0
1 change: 0 additions & 1 deletion config/install/context.context.pdfjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ conditions:
node_has_term:
id: node_has_term
negate: 0
uuid: f77caead-2e84-41e3-bcd5-11368f0342b2
uri: 'http://mozilla.github.io/pdf.js'
context_mapping:
node: '@node.node_route_context:node'
Expand Down
1 change: 0 additions & 1 deletion config/install/context.context.repository_content.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ conditions:
bundles:
islandora_object: islandora_object
negate: 0
uuid: 640d52cd-7cd5-4d9e-837d-c93b2deb814e
context_mapping:
node: '@node.node_route_context:node'
reactions:
Expand Down
1 change: 0 additions & 1 deletion config/install/context.context.taxonomy_terms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ conditions:
types:
taxonomy_term: taxonomy_term
negate: 0
uuid: cd01ce46-58a9-4d0e-8643-66f981b2c137
context_mapping:
taxonomy_term: '@islandora.taxonomy_term_route_context_provider:taxonomy_term'
reactions:
Expand Down
2 changes: 0 additions & 2 deletions config/install/context.context.video_original_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@ conditions:
media_has_term:
id: media_has_term
negate: 0
uuid: ee21a5e7-ab00-49f8-8ef1-1f8c81ed1d14
uri: 'http://pcdm.org/use#OriginalFile'
context_mapping:
media: '@islandora.media_route_context_provider:media'
parent_node_has_term:
id: parent_node_has_term
negate: 0
uuid: e215a087-46d2-401e-8d73-db5bde00e485
uri: 'http://purl.org/coar/resource_type/c_12ce'
context_mapping:
media: '@islandora.media_route_context_provider:media'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ content:
settings:
link_to_entity: false
third_party_settings: { }
field_gemini_uri:
weight: 15
region: content
settings: { }
third_party_settings: { }
field_identifier:
type: string
weight: 1
Expand Down
23 changes: 0 additions & 23 deletions config/install/field.storage.node.field_weight.yml

This file was deleted.

3 changes: 2 additions & 1 deletion islandora_defaults.info.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Islandora Defaults'
description: 'A functional example that can be used to learn how content modeling works in CLAW.'
description: 'Default configuration for Islandora 8.'
type: module
core: 8.x
dependencies:
Expand All @@ -18,6 +18,7 @@ dependencies:
- islandora_audio
- islandora_core_feature
- islandora_image
- islandora_text_extraction_defaults
- islandora_video
- language
- link
Expand Down

0 comments on commit 3e132f9

Please sign in to comment.