Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
checkfolder
Commits
f5bdffef
Verified
Commit
f5bdffef
authored
Mar 09, 2018
by
Ingo Pfennigstorf
💅
Browse files
Use correct Kalliope identifier order
parent
7cdcfefc
Pipeline
#9023
passed with stage
in 1 minute and 34 seconds
Changes
3
Pipelines
2
Expand all
Hide whitespace changes
Inline
Side-by-side
src/Command/CheckNewFiles.php
View file @
f5bdffef
...
...
@@ -60,7 +60,7 @@ class CheckNewFiles extends ContainerAwareCommand
return
0
;
}
$this
->
logger
->
info
(
'Start hotfolding'
);
$sourceFilesystem
=
$this
->
getContainer
()
->
get
(
'oneup_flysystem.goobi_filesystem'
);
foreach
(
$sourceFilesystem
->
listContents
()
as
$content
)
{
...
...
src/Service/IdentifierService.php
View file @
f5bdffef
...
...
@@ -10,6 +10,7 @@ class IdentifierService
'//mets:mets/mets:dmdSec/mets:mdWrap[@MDTYPE="MODS"]/mets:xmlData/mods:mods[1]/mods:identifier[@type="gbv-ppn"]'
,
'//mets:mets/mets:dmdSec/mets:mdWrap[@MDTYPE="MODS"]/mets:xmlData/mods:mods[1]/mods:identifier[@type="ppn" or @type="PPN"]'
,
'//mets:mets/mets:dmdSec/mets:mdWrap[@MDTYPE="MODS"]/mets:xmlData/mods:mods[1]/mods:identifier[@type="urn" or @type="URN"]'
,
'//mets:mets/mets:dmdSec/mets:mdWrap[@MDTYPE="MODS"]/mets:xmlData/mods:mods[1]/mods:recordInfo/mods:recordIdentifier[@source="DE-611"]'
,
'//mets:mets/mets:dmdSec/mets:mdWrap[@MDTYPE="MODS"]/mets:xmlData/mods:mods[1]/mods:recordInfo/mods:recordIdentifier[@source="Kalliope"]'
,
'//mets:mets/mets:dmdSec/mets:mdWrap[@MDTYPE="MODS"]/mets:xmlData/mods:mods[1]/mods:identifier[@type="local"][not(@invalid="yes")]'
,
'//mets:mets/mets:dmdSec/mets:mdWrap[@MDTYPE="MODS"]/mets:xmlData/mods:mods[1]/mods:recordInfo/mods:recordIdentifier'
,
...
...
tests/Fixtures/HANS_DE_7_w042080.mets.xml
0 → 100644
View file @
f5bdffef
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment