Skip to content

Commit

Permalink
Updating default config for GenerateOCRDerivative.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dannylamb authored Dec 12, 2022
1 parent 33965b4 commit f86f2be
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@ class GenerateOCRDerivative extends AbstractGenerateDerivative {
public function defaultConfiguration() {
$config = parent::defaultConfiguration();
$config['path'] = '[date:custom:Y]-[date:custom:m]/[node:nid]-[term:name].txt';
$config['mimetype'] = 'application/xml';
$config['event'] = 'Generate Derivative';
$config['source_term_uri'] = 'http://pcdm.org/use#OriginalFile';
$config['derivative_term_uri'] = 'http://pcdm.org/use#ExtractedText';
$config['mimetype'] = 'text/plain';
$config['queue'] = 'islandora-connector-ocr';
$config['destination_media_type'] = 'file';
$config['destination_media_type'] = 'extracted_text';
$config['scheme'] = 'fedora';
return $config;
}

Expand Down

0 comments on commit f86f2be

Please sign in to comment.