diff --git a/composer.lock b/composer.lock
index ca49c52e24e341b0fbeaf1568a8efd8a0b99fb5c..66942e888f3ddc9c7ccffb5b20563eaf3bd499cc 100755
--- a/composer.lock
+++ b/composer.lock
@@ -58,16 +58,16 @@
},
{
"name": "aws/aws-sdk-php",
- "version": "3.195.2",
+ "version": "3.196.1",
"source": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-php.git",
- "reference": "7e0cdfe30ee3cfa2a1494f8e3b4fa5277f118102"
+ "reference": "2845899d05c66a00d88eabbf7cf5d3dbae2da58a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/7e0cdfe30ee3cfa2a1494f8e3b4fa5277f118102",
- "reference": "7e0cdfe30ee3cfa2a1494f8e3b4fa5277f118102",
+ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/2845899d05c66a00d88eabbf7cf5d3dbae2da58a",
+ "reference": "2845899d05c66a00d88eabbf7cf5d3dbae2da58a",
"shasum": ""
},
"require": {
@@ -143,9 +143,9 @@
"support": {
"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80",
"issues": "https://github.com/aws/aws-sdk-php/issues",
- "source": "https://github.com/aws/aws-sdk-php/tree/3.195.2"
+ "source": "https://github.com/aws/aws-sdk-php/tree/3.196.1"
},
- "time": "2021-09-29T18:17:19+00:00"
+ "time": "2021-10-01T18:23:06+00:00"
},
{
"name": "doctrine/annotations",
@@ -721,12 +721,12 @@
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
- "reference": "c1dd809c8f51a477701052f4b9e5b4bb5c1061aa"
+ "reference": "e32022e4122e70220050fb47c6467477e269d16c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/guzzle/promises/zipball/c1dd809c8f51a477701052f4b9e5b4bb5c1061aa",
- "reference": "c1dd809c8f51a477701052f4b9e5b4bb5c1061aa",
+ "url": "https://api.github.com/repos/guzzle/promises/zipball/e32022e4122e70220050fb47c6467477e269d16c",
+ "reference": "e32022e4122e70220050fb47c6467477e269d16c",
"shasum": ""
},
"require": {
@@ -798,7 +798,7 @@
"type": "tidelift"
}
],
- "time": "2021-09-05T15:38:28+00:00"
+ "time": "2021-10-02T14:35:57+00:00"
},
{
"name": "guzzlehttp/psr7",
@@ -2189,12 +2189,12 @@
"source": {
"type": "git",
"url": "https://github.com/phpDocumentor/TypeResolver.git",
- "reference": "4b3579fc931524f60874ecee67600d5c80c7b505"
+ "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/4b3579fc931524f60874ecee67600d5c80c7b505",
- "reference": "4b3579fc931524f60874ecee67600d5c80c7b505",
+ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae",
+ "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae",
"shasum": ""
},
"require": {
@@ -2230,9 +2230,9 @@
"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names",
"support": {
"issues": "https://github.com/phpDocumentor/TypeResolver/issues",
- "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.x"
+ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1"
},
- "time": "2021-09-26T07:37:33+00:00"
+ "time": "2021-10-02T14:08:47+00:00"
},
{
"name": "phpstan/phpdoc-parser",
@@ -2876,12 +2876,12 @@
"source": {
"type": "git",
"url": "https://github.com/subugoe/EMOBundle.git",
- "reference": "1f53b0478df9b83cf4dae5fff28dddc251027258"
+ "reference": "3606bd942f2764458b06e1e558dfb915719ee160"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/subugoe/EMOBundle/zipball/1f53b0478df9b83cf4dae5fff28dddc251027258",
- "reference": "1f53b0478df9b83cf4dae5fff28dddc251027258",
+ "url": "https://api.github.com/repos/subugoe/EMOBundle/zipball/3606bd942f2764458b06e1e558dfb915719ee160",
+ "reference": "3606bd942f2764458b06e1e558dfb915719ee160",
"shasum": ""
},
"require": {
@@ -2913,7 +2913,7 @@
"issues": "https://github.com/subugoe/EMOBundle/issues",
"source": "https://github.com/subugoe/EMOBundle/tree/master"
},
- "time": "2021-09-29T23:51:12+00:00"
+ "time": "2021-10-03T23:41:04+00:00"
},
{
"name": "symfony/asset",
@@ -3483,7 +3483,7 @@
},
{
"name": "symfony/deprecation-contracts",
- "version": "dev-main",
+ "version": "2.5.x-dev",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
@@ -3498,7 +3498,6 @@
"require": {
"php": ">=7.1"
},
- "default-branch": true,
"type": "library",
"extra": {
"branch-alias": {
@@ -4433,12 +4432,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/http-kernel.git",
- "reference": "801b925e308518ddf821ba91952c41ae77c77507"
+ "reference": "5e942925153975147eaf6cc6ed6e9d51d60b0245"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/http-kernel/zipball/801b925e308518ddf821ba91952c41ae77c77507",
- "reference": "801b925e308518ddf821ba91952c41ae77c77507",
+ "url": "https://api.github.com/repos/symfony/http-kernel/zipball/5e942925153975147eaf6cc6ed6e9d51d60b0245",
+ "reference": "5e942925153975147eaf6cc6ed6e9d51d60b0245",
"shasum": ""
},
"require": {
@@ -4529,7 +4528,7 @@
"type": "tidelift"
}
],
- "time": "2021-09-28T10:23:32+00:00"
+ "time": "2021-09-30T16:33:05+00:00"
},
{
"name": "symfony/inflector",
@@ -5675,12 +5674,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/security-core.git",
- "reference": "99ae75e257d5a4fd8537464d98d1dede0180b611"
+ "reference": "5589b07c97b2f06e2f13649f1497517fa064da0b"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/security-core/zipball/99ae75e257d5a4fd8537464d98d1dede0180b611",
- "reference": "99ae75e257d5a4fd8537464d98d1dede0180b611",
+ "url": "https://api.github.com/repos/symfony/security-core/zipball/5589b07c97b2f06e2f13649f1497517fa064da0b",
+ "reference": "5589b07c97b2f06e2f13649f1497517fa064da0b",
"shasum": ""
},
"require": {
@@ -5754,7 +5753,7 @@
"type": "tidelift"
}
],
- "time": "2021-09-20T16:52:24+00:00"
+ "time": "2021-10-02T07:06:29+00:00"
},
{
"name": "symfony/security-csrf",
@@ -5834,12 +5833,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/serializer.git",
- "reference": "61cf72466172b1d222d6b9ba419740a51add034d"
+ "reference": "5d7f068253ac3e7c62964ebdda491b06d401059a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/serializer/zipball/61cf72466172b1d222d6b9ba419740a51add034d",
- "reference": "61cf72466172b1d222d6b9ba419740a51add034d",
+ "url": "https://api.github.com/repos/symfony/serializer/zipball/5d7f068253ac3e7c62964ebdda491b06d401059a",
+ "reference": "5d7f068253ac3e7c62964ebdda491b06d401059a",
"shasum": ""
},
"require": {
@@ -5929,7 +5928,7 @@
"type": "tidelift"
}
],
- "time": "2021-09-29T06:27:16+00:00"
+ "time": "2021-09-29T17:19:25+00:00"
},
{
"name": "symfony/service-contracts",
@@ -8326,12 +8325,12 @@
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "7cecb7bed123949b840aacbca504d248a3537754"
+ "reference": "3ca2f862e11bb02cb7a97185afed902522e2edbb"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/7cecb7bed123949b840aacbca504d248a3537754",
- "reference": "7cecb7bed123949b840aacbca504d248a3537754",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/3ca2f862e11bb02cb7a97185afed902522e2edbb",
+ "reference": "3ca2f862e11bb02cb7a97185afed902522e2edbb",
"shasum": ""
},
"require": {
@@ -8395,7 +8394,7 @@
"type": "github"
}
],
- "time": "2021-09-20T14:22:28+00:00"
+ "time": "2021-09-25T04:46:46+00:00"
},
{
"name": "phpunit/php-file-iterator",
@@ -10160,12 +10159,12 @@
"source": {
"type": "git",
"url": "https://github.com/symfony/phpunit-bridge.git",
- "reference": "12ba881a8e0e8df45788906199a8cd2fe74f9769"
+ "reference": "2a5e310db72f0f9e6e2f7a15195bc3e9c3328167"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/12ba881a8e0e8df45788906199a8cd2fe74f9769",
- "reference": "12ba881a8e0e8df45788906199a8cd2fe74f9769",
+ "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/2a5e310db72f0f9e6e2f7a15195bc3e9c3328167",
+ "reference": "2a5e310db72f0f9e6e2f7a15195bc3e9c3328167",
"shasum": ""
},
"require": {
@@ -10235,7 +10234,7 @@
"type": "tidelift"
}
],
- "time": "2021-09-14T13:57:43+00:00"
+ "time": "2021-09-30T13:47:35+00:00"
},
{
"name": "symfony/process",
diff --git a/data/gnd-files/000376582.json b/data/gnd-files/000376582.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/040183483.json b/data/gnd-files/040183483.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/100162878.json b/data/gnd-files/100162878.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/100190014.json b/data/gnd-files/100190014.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/100203604.json b/data/gnd-files/100203604.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/100278043.json b/data/gnd-files/100278043.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/100842453.json b/data/gnd-files/100842453.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/1017601240.json b/data/gnd-files/1017601240.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/102223403X.json b/data/gnd-files/102223403X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/102223417X.json b/data/gnd-files/102223417X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/1036337227.json b/data/gnd-files/1036337227.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/104226056.json b/data/gnd-files/104226056.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/104285907.json b/data/gnd-files/104285907.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/1075511119.json b/data/gnd-files/1075511119.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/1086834968.json b/data/gnd-files/1086834968.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/1089110456.json b/data/gnd-files/1089110456.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/1148108955.json b/data/gnd-files/1148108955.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/115368302.json b/data/gnd-files/115368302.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/115526641.json b/data/gnd-files/115526641.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116102276.json b/data/gnd-files/116102276.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116131624.json b/data/gnd-files/116131624.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116139935.json b/data/gnd-files/116139935.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/11618860X.json b/data/gnd-files/11618860X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116195096.json b/data/gnd-files/116195096.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116250836.json b/data/gnd-files/116250836.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116483458.json b/data/gnd-files/116483458.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/11648960X.json b/data/gnd-files/11648960X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116551445.json b/data/gnd-files/116551445.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116571721.json b/data/gnd-files/116571721.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116711671.json b/data/gnd-files/116711671.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116880481.json b/data/gnd-files/116880481.json
old mode 100755
new mode 100644
index 83dfa00945c80fbd16ef76360c2c268ad78b41e7..6ce6263ab24ba72f41e36cea57ae26ce3a520ce2
--- a/data/gnd-files/116880481.json
+++ b/data/gnd-files/116880481.json
@@ -1 +1 @@
-{"gender":[{"id":"https://d-nb.info/standards/vocab/gnd/gender#male","label":"Männlich"}],"relatedWork":[{"id":"https://d-nb.info/gnd/1071746510","label":"Stempel (Nagler, Carl Ferdinand Friedrich von), 01"}],"dateOfDeath":["1846-06-13"],"placeOfDeath":[{"id":"https://d-nb.info/gnd/4005728-8","label":"Berlin"}],"type":["DifferentiatedPerson","Person","AuthorityResource"],"gndSubjectCategory":[{"id":"https://d-nb.info/standards/vocab/gnd/gnd-sc#16.5p","label":"Personen der Geschichte (Politiker und historische Persönlichkeiten)"},{"id":"https://d-nb.info/standards/vocab/gnd/gnd-sc#13.1bp","label":"Personen zu Kunstwissenschaft, Kunsthistoriker"}],"oldAuthorityNumber":["(DE-588a)116880481","(DE-588c)4830638-1","(DE-588a)101531532"],"geographicAreaCode":[{"id":"https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-DE","label":"Deutschland"}],"biographicalOrHistoricalInformation":["Dt. Politiker und Kunstsammler; preußischer Generalpostmeister","Buchbesitz: Seine Bibliothek deutscher und französischer Literatur und die Handschriften wurden 1835 für die Königliche Bibliothek zu Berlin gekauft; die Schriften zur Kunstwissenschaften, Malerei und über die Technik des Kupferstechens wurden für die Bibliothek der Königlichen Museen zu Berlin gekauft. Vor der Übergabe an den Staat wurden die Bücher, Kupferst. u.a. mit dem Stempel \"v.N.\" versehen. (Vgl. DbA I 843,185)"],"affiliation":[{"id":"https://d-nb.info/gnd/2043215-X","label":"Monumenta Germaniae Historica"}],"publication":["Briefe des Königl. Preuß. Staatsministers, General-Postmeisters und ehemaligen Bundestags-Gesandten Karl Ferdinand Friedrich von Nagler an einen Staatsbeamten. - 1869-","Briefe. - 1869"],"describedBy":{"id":"https://d-nb.info/gnd/116880481/about","license":{"id":"http://creativecommons.org/publicdomain/zero/1.0/","label":"http://creativecommons.org/publicdomain/zero/1.0/"},"dateModified":"2017-07-10T07:46:48.000"},"gndIdentifier":"116880481","id":"https://d-nb.info/gnd/116880481","preferredName":"Nagler, Carl Ferdinand Friedrich von","wikipedia":[{"id":"https://de.wikipedia.org/wiki/Karl_Ferdinand_Friedrich_von_Nagler","label":"https://de.wikipedia.org/wiki/Karl_Ferdinand_Friedrich_von_Nagler"}],"preferredNameEntityForThePerson":{"forename":["Carl Ferdinand Friedrich"],"prefix":["von"],"surname":["Nagler"]},"professionOrOccupationAsLiteral":["Generalpostmeister"],"depiction":[{"id":"http://commons.wikimedia.org/wiki/Special:FilePath/Karl%20Ferdinand%20Friedrich%20von%20Nagler.jpg","url":"https://commons.wikimedia.org/wiki/File:Karl%20Ferdinand%20Friedrich%20von%20Nagler.jpg?uselang=de","thumbnail":"https://commons.wikimedia.org/wiki/Special:FilePath/Karl%20Ferdinand%20Friedrich%20von%20Nagler.jpg?width=270"}],"professionOrOccupation":[{"id":"https://d-nb.info/gnd/4046517-2","label":"Politiker"},{"id":"https://d-nb.info/gnd/4166042-0","label":"Kunstsammler"}],"placeOfBirth":[{"id":"https://d-nb.info/gnd/4002170-1","label":"Ansbach"}],"dateOfBirth":["1770-01-22"],"variantNameEntityForThePerson":[{"personalName":["N."],"prefix":["v."]},{"forename":["Karl F."],"prefix":["von"],"surname":["Nagler"]},{"forename":["Carl F."],"prefix":["von"],"surname":["Nagler"]},{"forename":["C. F. F."],"prefix":["von"],"surname":["Nagler"]},{"personalName":["v. N."]},{"forename":["Ferdinand Friedrich"],"prefix":["von"],"surname":["Nagler"]},{"forename":["Karl Ferdinand Friedrich"],"prefix":["von"],"surname":["Nagler"]}],"@context":"http://lobid.org/gnd/context.jsonld","variantName":["Nagler, Carl F. von","Nagler, Ferdinand Friedrich von","v. N.","Nagler, Karl Ferdinand Friedrich von","Nagler, C. F. F. von","Nagler, Karl F. von","N. v."],"sameAs":[{"collection":{"abbr":"FFMPL","name":"Frankfurter Personenlexikon","publisher":"Frankfurter Bürgerstiftung im Holzhausenschlösschen","id":"http://www.wikidata.org/entity/Q39845173"},"id":"http://frankfurter-personenlexikon.de/beacon/beacon.php?116880481"},{"id":"http://isni.org/isni/0000000013893646","collection":{"id":"http://isni.org"}},{"id":"http://viaf.org/viaf/40141301","collection":{"id":"http://www.wikidata.org/entity/Q54919","abbr":"VIAF","publisher":"OCLC","icon":"http://viaf.org/viaf/images/viaf.ico","name":"Virtual International Authority File (VIAF)"}},{"collection":{"abbr":"ADB","name":"Allgemeine Deutsche Biographie (ADB)","publisher":"Historische Kommission bei der Bayerischen Akademie der Wissenschaften und Bayerische Staatsbibliothek","icon":"https://www.deutsche-biographie.de/favicon.ico","id":"http://www.deutsche-biographie.de"},"id":"http://www.deutsche-biographie.de/pnd116880481.html#adbcontent"},{"collection":{"abbr":"NDB","name":"Neue Deutsche Biographie (NDB)","publisher":"Historische Kommission bei der Bayerischen Akademie der Wissenschaften und Bayerische Staatsbibliothek","icon":"https://www.deutsche-biographie.de/favicon.ico","id":"http://www.deutsche-biographie.de"},"id":"http://www.deutsche-biographie.de/pnd116880481.html#ndbcontent"},{"collection":{"abbr":"Portraitindex","name":"Digitaler Portraitindex der druckgraphischen Bildnisse der Frühen Neuzeit","publisher":"Deutsches Dokumentationszentrum für Kunstgeschichte - Bildarchiv Foto Marburg","icon":"http://www.portraitindex.de/favicon.ico","id":"http://www.wikidata.org/entity/Q2105262"},"id":"http://www.portraitindex.de/dokumente/pnd/116880481"},{"id":"http://www.wikidata.org/entity/Q685860","collection":{"id":"http://www.wikidata.org/entity/Q2013","abbr":"WIKIDATA","publisher":"Wikimedia Foundation Inc.","icon":"https://www.wikidata.org/static/favicon/wikidata.ico","name":"Wikidata"}},{"collection":{"abbr":"DNB","name":"Gemeinsame Normdatei (GND) im Katalog der Deutschen Nationalbibliothek","publisher":"Deutsche Nationalbibliothek","icon":"https://www.dnb.de/SiteGlobals/Frontend/DNBWeb/Images/favicon.png?__blob=normal&v=4","id":"http://www.wikidata.org/entity/Q36578"},"id":"https://d-nb.info/gnd/116880481/about"},{"collection":{"abbr":"dewiki","name":"Wikipedia (Deutsch)","publisher":"Wikimedia Foundation Inc.","icon":"https://de.wikipedia.org/static/favicon/wikipedia.ico","id":"http://www.wikidata.org/entity/Q48183"},"id":"https://de.wikipedia.org/wiki/Karl_Ferdinand_Friedrich_von_Nagler"},{"collection":{"abbr":"DE-611","name":"Kalliope Verbundkatalog","publisher":"Staatsbibliothek zu Berlin - Preußischer Kulturbesitz","id":"https://kalliope-verbund.info"},"id":"https://kalliope-verbund.info/gnd/116880481"},{"collection":{"abbr":"ARCHIV-D","name":"Archivportal-D","publisher":"Deutsche Digitale Bibliothek","icon":"https://www.archivportal-d.de/favicon.ico","id":"https://www.archivportal-d.de"},"id":"https://www.archivportal-d.de/person/gnd/116880481"},{"collection":{"abbr":"DDB","name":"Deutsche Digitale Bibliothek","publisher":"Deutsche Digitale Bibliothek","icon":"https://www.deutsche-digitale-bibliothek.de/favicon.ico","id":"http://www.wikidata.org/entity/Q621630"},"id":"https://www.deutsche-digitale-bibliothek.de/person/gnd/116880481"},{"collection":{"abbr":"LAGIS","name":"Hessische Biografie","publisher":"Hessisches Landesamt für geschichtliche Landeskunde","icon":"http://www.lagis-hessen.de/favicon.ico","id":"http://www.wikidata.org/entity/Q14564246"},"id":"https://www.lagis-hessen.de/pnd/116880481"}]}
\ No newline at end of file
+{"gender":[{"id":"https://d-nb.info/standards/vocab/gnd/gender#male","label":"Männlich"}],"relatedWork":[{"id":"https://d-nb.info/gnd/1071746510","label":"Stempel (Nagler, Carl Ferdinand Friedrich von), 01"}],"dateOfDeath":["1846-06-13"],"placeOfDeath":[{"id":"https://d-nb.info/gnd/4005728-8","label":"Berlin"}],"type":["DifferentiatedPerson","Person","AuthorityResource"],"gndSubjectCategory":[{"id":"https://d-nb.info/standards/vocab/gnd/gnd-sc#16.5p","label":"Personen der Geschichte (Politiker und historische Persönlichkeiten)"},{"id":"https://d-nb.info/standards/vocab/gnd/gnd-sc#13.1bp","label":"Personen zu Kunstwissenschaft, Kunsthistoriker"}],"oldAuthorityNumber":["(DE-588a)116880481","(DE-588c)4830638-1","(DE-588a)101531532"],"geographicAreaCode":[{"id":"https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-DE","label":"Deutschland"}],"biographicalOrHistoricalInformation":["Dt. Politiker und Kunstsammler; preußischer Generalpostmeister","Buchbesitz: Seine Bibliothek deutscher und französischer Literatur und die Handschriften wurden 1835 für die Königliche Bibliothek zu Berlin gekauft; die Schriften zur Kunstwissenschaften, Malerei und über die Technik des Kupferstechens wurden für die Bibliothek der Königlichen Museen zu Berlin gekauft. Vor der Übergabe an den Staat wurden die Bücher, Kupferst. u.a. mit dem Stempel \"v.N.\" versehen. (Vgl. DbA I 843,185)"],"affiliation":[{"id":"https://d-nb.info/gnd/2043215-X","label":"Monumenta Germaniae Historica"}],"publication":["Briefe des Königl. Preuß. Staatsministers, General-Postmeisters und ehemaligen Bundestags-Gesandten Karl Ferdinand Friedrich von Nagler an einen Staatsbeamten. - 1869-","Briefe. - 1869"],"describedBy":{"id":"https://d-nb.info/gnd/116880481/about","license":{"id":"http://creativecommons.org/publicdomain/zero/1.0/","label":"http://creativecommons.org/publicdomain/zero/1.0/"},"dateModified":"2021-09-30T17:56:32.000"},"gndIdentifier":"116880481","id":"https://d-nb.info/gnd/116880481","preferredName":"Nagler, Carl Ferdinand Friedrich von","wikipedia":[{"id":"https://de.wikipedia.org/wiki/Karl_Ferdinand_Friedrich_von_Nagler","label":"https://de.wikipedia.org/wiki/Karl_Ferdinand_Friedrich_von_Nagler"}],"preferredNameEntityForThePerson":{"forename":["Carl Ferdinand Friedrich"],"prefix":["von"],"surname":["Nagler"]},"professionOrOccupationAsLiteral":["Generalpostmeister"],"depiction":[{"id":"http://commons.wikimedia.org/wiki/Special:FilePath/Karl%20Ferdinand%20Friedrich%20von%20Nagler.jpg","url":"https://commons.wikimedia.org/wiki/File:Karl%20Ferdinand%20Friedrich%20von%20Nagler.jpg?uselang=de","thumbnail":"https://commons.wikimedia.org/wiki/Special:FilePath/Karl%20Ferdinand%20Friedrich%20von%20Nagler.jpg?width=270"}],"professionOrOccupation":[{"id":"https://d-nb.info/gnd/4046517-2","label":"Politiker"},{"id":"https://d-nb.info/gnd/4166042-0","label":"Kunstsammler"}],"placeOfBirth":[{"id":"https://d-nb.info/gnd/4002170-1","label":"Ansbach"}],"dateOfBirth":["1770-01-22"],"variantNameEntityForThePerson":[{"forename":["Karl F."],"prefix":["von"],"surname":["Nagler"]},{"forename":["C. F. F."],"prefix":["von"],"surname":["Nagler"]},{"forename":["Carl F."],"prefix":["von"],"surname":["Nagler"]},{"personalName":["N."],"prefix":["v."]},{"personalName":["v. N."]},{"forename":["Karl Ferdinand Friedrich"],"prefix":["von"],"surname":["Nagler"]},{"forename":["Ferdinand Friedrich"],"prefix":["von"],"surname":["Nagler"]}],"@context":"http://lobid.org/gnd/context.jsonld","variantName":["Nagler, Carl F. von","Nagler, Ferdinand Friedrich von","v. N.","Nagler, Karl Ferdinand Friedrich von","Nagler, C. F. F. von","Nagler, Karl F. von","N. v."],"sameAs":[{"collection":{"abbr":"FFMPL","name":"Frankfurter Personenlexikon","publisher":"Frankfurter Bürgerstiftung im Holzhausenschlösschen","id":"http://www.wikidata.org/entity/Q39845173"},"id":"http://frankfurter-personenlexikon.de/beacon/beacon.php?116880481"},{"id":"http://isni.org/isni/0000000013893646","collection":{"id":"http://isni.org"}},{"id":"http://viaf.org/viaf/40141301","collection":{"id":"http://www.wikidata.org/entity/Q54919","abbr":"VIAF","publisher":"OCLC","icon":"http://viaf.org/viaf/images/viaf.ico","name":"Virtual International Authority File (VIAF)"}},{"collection":{"abbr":"ADB","name":"Allgemeine Deutsche Biographie (ADB)","publisher":"Historische Kommission bei der Bayerischen Akademie der Wissenschaften und Bayerische Staatsbibliothek","icon":"https://www.deutsche-biographie.de/favicon.ico","id":"http://www.deutsche-biographie.de"},"id":"http://www.deutsche-biographie.de/pnd116880481.html#adbcontent"},{"collection":{"abbr":"NDB","name":"Neue Deutsche Biographie (NDB)","publisher":"Historische Kommission bei der Bayerischen Akademie der Wissenschaften und Bayerische Staatsbibliothek","icon":"https://www.deutsche-biographie.de/favicon.ico","id":"http://www.deutsche-biographie.de"},"id":"http://www.deutsche-biographie.de/pnd116880481.html#ndbcontent"},{"collection":{"abbr":"Portraitindex","name":"Digitaler Portraitindex der druckgraphischen Bildnisse der Frühen Neuzeit","publisher":"Deutsches Dokumentationszentrum für Kunstgeschichte - Bildarchiv Foto Marburg","icon":"http://www.portraitindex.de/favicon.ico","id":"http://www.wikidata.org/entity/Q2105262"},"id":"http://www.portraitindex.de/dokumente/pnd/116880481"},{"id":"http://www.wikidata.org/entity/Q685860","collection":{"id":"http://www.wikidata.org/entity/Q2013","abbr":"WIKIDATA","publisher":"Wikimedia Foundation Inc.","icon":"https://www.wikidata.org/static/favicon/wikidata.ico","name":"Wikidata"}},{"collection":{"abbr":"DNB","name":"Gemeinsame Normdatei (GND) im Katalog der Deutschen Nationalbibliothek","publisher":"Deutsche Nationalbibliothek","icon":"https://www.dnb.de/SiteGlobals/Frontend/DNBWeb/Images/favicon.png?__blob=normal&v=4","id":"http://www.wikidata.org/entity/Q36578"},"id":"https://d-nb.info/gnd/116880481/about"},{"collection":{"abbr":"dewiki","name":"Wikipedia (Deutsch)","publisher":"Wikimedia Foundation Inc.","icon":"https://de.wikipedia.org/static/favicon/wikipedia.ico","id":"http://www.wikidata.org/entity/Q48183"},"id":"https://de.wikipedia.org/wiki/Karl_Ferdinand_Friedrich_von_Nagler"},{"collection":{"abbr":"DE-611","name":"Kalliope Verbundkatalog","publisher":"Staatsbibliothek zu Berlin - Preußischer Kulturbesitz","id":"https://kalliope-verbund.info"},"id":"https://kalliope-verbund.info/gnd/116880481"},{"collection":{"abbr":"ARCHIV-D","name":"Archivportal-D","publisher":"Deutsche Digitale Bibliothek","icon":"https://www.archivportal-d.de/favicon.ico","id":"https://www.archivportal-d.de"},"id":"https://www.archivportal-d.de/person/gnd/116880481"},{"collection":{"abbr":"DDB","name":"Deutsche Digitale Bibliothek","publisher":"Deutsche Digitale Bibliothek","icon":"https://www.deutsche-digitale-bibliothek.de/favicon.ico","id":"http://www.wikidata.org/entity/Q621630"},"id":"https://www.deutsche-digitale-bibliothek.de/person/gnd/116880481"},{"collection":{"abbr":"LAGIS","name":"Hessische Biografie","publisher":"Hessisches Landesamt für geschichtliche Landeskunde","icon":"http://www.lagis-hessen.de/favicon.ico","id":"http://www.wikidata.org/entity/Q14564246"},"id":"https://www.lagis-hessen.de/pnd/116880481"}]}
\ No newline at end of file
diff --git a/data/gnd-files/116989262.json b/data/gnd-files/116989262.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/116996773.json b/data/gnd-files/116996773.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117107565.json b/data/gnd-files/117107565.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117123560.json b/data/gnd-files/117123560.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117145068.json b/data/gnd-files/117145068.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117191787.json b/data/gnd-files/117191787.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117267821.json b/data/gnd-files/117267821.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117384259.json b/data/gnd-files/117384259.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117421995.json b/data/gnd-files/117421995.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117541052.json b/data/gnd-files/117541052.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117650390.json b/data/gnd-files/117650390.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/117654698.json b/data/gnd-files/117654698.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118503642.json b/data/gnd-files/118503642.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118510185.json b/data/gnd-files/118510185.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/11851301X.json b/data/gnd-files/11851301X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118519352.json b/data/gnd-files/118519352.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118523708.json b/data/gnd-files/118523708.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118531379.json b/data/gnd-files/118531379.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118535757.json b/data/gnd-files/118535757.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118540238.json b/data/gnd-files/118540238.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118545140.json b/data/gnd-files/118545140.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118545906.json b/data/gnd-files/118545906.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118547739.json b/data/gnd-files/118547739.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/11854943X.json b/data/gnd-files/11854943X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118549774.json b/data/gnd-files/118549774.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118554727.json b/data/gnd-files/118554727.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118559796.json b/data/gnd-files/118559796.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118561448.json b/data/gnd-files/118561448.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118572628.json b/data/gnd-files/118572628.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/11858281X.json b/data/gnd-files/11858281X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118587544.json b/data/gnd-files/118587544.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118594893.json b/data/gnd-files/118594893.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118597159.json b/data/gnd-files/118597159.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118603701.json b/data/gnd-files/118603701.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118605100.json b/data/gnd-files/118605100.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118607057.json b/data/gnd-files/118607057.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118613723.json b/data/gnd-files/118613723.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118614517.json b/data/gnd-files/118614517.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118615688.json b/data/gnd-files/118615688.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118619926.json b/data/gnd-files/118619926.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118626167.json b/data/gnd-files/118626167.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/11862783X.json b/data/gnd-files/11862783X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118639056.json b/data/gnd-files/118639056.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/11863934X.json b/data/gnd-files/11863934X.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118650130.json b/data/gnd-files/118650130.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118653946.json b/data/gnd-files/118653946.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118659642.json b/data/gnd-files/118659642.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118690426.json b/data/gnd-files/118690426.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118698400.json b/data/gnd-files/118698400.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118720880.json b/data/gnd-files/118720880.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118733389.json b/data/gnd-files/118733389.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118772562.json b/data/gnd-files/118772562.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118786113.json b/data/gnd-files/118786113.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118806556.json b/data/gnd-files/118806556.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118808184.json b/data/gnd-files/118808184.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118808850.json b/data/gnd-files/118808850.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118820656.json b/data/gnd-files/118820656.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118847570.json b/data/gnd-files/118847570.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118847767.json b/data/gnd-files/118847767.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118850210.json b/data/gnd-files/118850210.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118860283.json b/data/gnd-files/118860283.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118898418.json b/data/gnd-files/118898418.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118898426.json b/data/gnd-files/118898426.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118911953.json b/data/gnd-files/118911953.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118932640.json b/data/gnd-files/118932640.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/118939297.json b/data/gnd-files/118939297.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/119059452.json b/data/gnd-files/119059452.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/119059622.json b/data/gnd-files/119059622.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/119112647.json b/data/gnd-files/119112647.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/119335530.json b/data/gnd-files/119335530.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/119440660.json b/data/gnd-files/119440660.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/120908565.json b/data/gnd-files/120908565.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/125008945.json b/data/gnd-files/125008945.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/127312048.json b/data/gnd-files/127312048.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/139692541.json b/data/gnd-files/139692541.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/189489510.json b/data/gnd-files/189489510.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/189576448.json b/data/gnd-files/189576448.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/2065557-5.json b/data/gnd-files/2065557-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/2071989-9.json b/data/gnd-files/2071989-9.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/35247-0.json b/data/gnd-files/35247-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/35254-8.json b/data/gnd-files/35254-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/37101-4.json b/data/gnd-files/37101-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4000626-8.json b/data/gnd-files/4000626-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4001895-7.json b/data/gnd-files/4001895-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4002917-7.json b/data/gnd-files/4002917-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4005728-8.json b/data/gnd-files/4005728-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4006311-2.json b/data/gnd-files/4006311-2.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4007467-5.json b/data/gnd-files/4007467-5.json
old mode 100755
new mode 100644
index ac0e6ec46d709749ca4ac4993240e4fa0d2be3b8..ded334828952f5edc4d4e398e7651d0adccdd902
--- a/data/gnd-files/4007467-5.json
+++ b/data/gnd-files/4007467-5.json
@@ -1 +1 @@
-{"succeedingPlaceOrGeographicName":[{"id":"https://d-nb.info/gnd/4076390-0","label":"Protektorat Böhmen und Mähren"}],"broaderTermPartitive":[{"id":"https://d-nb.info/gnd/4069573-6","label":"Böhmische Länder"}],"type":["Country","TerritorialCorporateBodyOrAdministrativeUnit","PlaceOrGeographicName","AuthorityResource"],"@context":"http://lobid.org/gnd/context.jsonld","oldAuthorityNumber":["(DE-588c)4007467-5","(DE-588b)63739-7","(DE-588)63739-7"],"geographicAreaCode":[{"id":"https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-AAAT","label":"Österreich (-12.11.1918)"},{"id":"https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-CSHH","label":"Tschechoslowakei"},{"id":"https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-CZ","label":"Tschechische Republik"}],"deprecatedUri":["https://d-nb.info/gnd/63739-7"],"describedBy":{"id":"https://d-nb.info/gnd/4007467-5/about","license":{"id":"http://creativecommons.org/publicdomain/zero/1.0/","label":"http://creativecommons.org/publicdomain/zero/1.0/"},"dateModified":"2019-09-06T17:04:54.000"},"definition":["Amtssprache - 1918 deutsch, 1919-1939 deutsch u. tschechisch; B 15.Aufl."],"gndIdentifier":"4007467-5","id":"https://d-nb.info/gnd/4007467-5","preferredName":"Böhmen","variantName":["Čechy","Ceské Království","Království Ceské","Čech","Kronland Böhmen","České Království","Království České","Königreich Böhmen"],"sameAs":[{"id":"http://viaf.org/viaf/246065600","collection":{"id":"http://www.wikidata.org/entity/Q54919","abbr":"VIAF","publisher":"OCLC","icon":"http://viaf.org/viaf/images/viaf.ico","name":"Virtual International Authority File (VIAF)"}},{"id":"http://www.wikidata.org/entity/Q39193","collection":{"id":"http://www.wikidata.org/entity/Q2013","abbr":"WIKIDATA","publisher":"Wikimedia Foundation Inc.","icon":"https://www.wikidata.org/static/favicon/wikidata.ico","name":"Wikidata"}},{"collection":{"abbr":"WIKIDATA","name":"Wikidata","publisher":"Wikimedia Foundation Inc.","icon":"https://www.wikidata.org/static/favicon/wikidata.ico","id":"http://www.wikidata.org/entity/Q2013"},"id":"http://www.wikidata.org/entity/Q42585"},{"collection":{"abbr":"DNB","name":"Gemeinsame Normdatei (GND) im Katalog der Deutschen Nationalbibliothek","publisher":"Deutsche Nationalbibliothek","icon":"https://www.dnb.de/SiteGlobals/Frontend/DNBWeb/Images/favicon.png?__blob=normal&v=4","id":"http://www.wikidata.org/entity/Q36578"},"id":"https://d-nb.info/gnd/4007467-5/about"},{"id":"https://d-nb.info/gnd/63739-7","collection":{"id":"http://www.wikidata.org/entity/Q36578","abbr":"DNB","publisher":"Deutsche Nationalbibliothek","icon":"http://www.dnb.de/SiteGlobals/StyleBundles/Bilder/favicon.png?__blob=normal&v=1","name":"Gemeinsame Normdatei (GND) im Katalog der Deutschen Nationalbibliothek"}},{"collection":{"abbr":"DE-611","name":"Kalliope Verbundkatalog","publisher":"Staatsbibliothek zu Berlin - Preußischer Kulturbesitz","id":"https://kalliope-verbund.info"},"id":"https://kalliope-verbund.info/gnd/4007467-5"}],"depiction":[{"id":"http://commons.wikimedia.org/wiki/Special:FilePath/Znak%20%C4%8Desk%C3%A9ho%20kr%C3%A1lovstv%C3%AD.png","url":"https://commons.wikimedia.org/wiki/File:Znak%20%C4%8Desk%C3%A9ho%20kr%C3%A1lovstv%C3%AD.png?uselang=de","thumbnail":"https://commons.wikimedia.org/wiki/Special:FilePath/Znak%20%C4%8Desk%C3%A9ho%20kr%C3%A1lovstv%C3%AD.png?width=270"}]}
\ No newline at end of file
+{"succeedingPlaceOrGeographicName":[{"id":"https://d-nb.info/gnd/4076390-0","label":"Protektorat Böhmen und Mähren"}],"broaderTermPartitive":[{"id":"https://d-nb.info/gnd/4069573-6","label":"Böhmische Länder"}],"type":["Country","TerritorialCorporateBodyOrAdministrativeUnit","PlaceOrGeographicName","AuthorityResource"],"@context":"http://lobid.org/gnd/context.jsonld","oldAuthorityNumber":["(DE-588c)4007467-5","(DE-588b)63739-7","(DE-588)63739-7"],"geographicAreaCode":[{"id":"https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-AAAT","label":"Österreich (-12.11.1918)"},{"id":"https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-CSHH","label":"Tschechoslowakei"},{"id":"https://d-nb.info/standards/vocab/gnd/geographic-area-code#XA-CZ","label":"Tschechische Republik"}],"deprecatedUri":["https://d-nb.info/gnd/63739-7"],"biographicalOrHistoricalInformation":["Amtssprache - 1918 deutsch, 1919-1939 deutsch u. tschechisch; B 15.Aufl."],"describedBy":{"id":"https://d-nb.info/gnd/4007467-5/about","license":{"id":"http://creativecommons.org/publicdomain/zero/1.0/","label":"http://creativecommons.org/publicdomain/zero/1.0/"},"dateModified":"2021-09-24T16:26:34.000"},"gndIdentifier":"4007467-5","id":"https://d-nb.info/gnd/4007467-5","preferredName":"Böhmen","variantName":["Čechy","Ceské Království","Království Ceské","Čech","Kronland Böhmen","České Království","Království České","Königreich Böhmen"],"sameAs":[{"id":"http://viaf.org/viaf/246065600","collection":{"id":"http://www.wikidata.org/entity/Q54919","abbr":"VIAF","publisher":"OCLC","icon":"http://viaf.org/viaf/images/viaf.ico","name":"Virtual International Authority File (VIAF)"}},{"id":"http://www.wikidata.org/entity/Q39193","collection":{"id":"http://www.wikidata.org/entity/Q2013","abbr":"WIKIDATA","publisher":"Wikimedia Foundation Inc.","icon":"https://www.wikidata.org/static/favicon/wikidata.ico","name":"Wikidata"}},{"collection":{"abbr":"WIKIDATA","name":"Wikidata","publisher":"Wikimedia Foundation Inc.","icon":"https://www.wikidata.org/static/favicon/wikidata.ico","id":"http://www.wikidata.org/entity/Q2013"},"id":"http://www.wikidata.org/entity/Q42585"},{"collection":{"abbr":"DNB","name":"Gemeinsame Normdatei (GND) im Katalog der Deutschen Nationalbibliothek","publisher":"Deutsche Nationalbibliothek","icon":"https://www.dnb.de/SiteGlobals/Frontend/DNBWeb/Images/favicon.png?__blob=normal&v=4","id":"http://www.wikidata.org/entity/Q36578"},"id":"https://d-nb.info/gnd/4007467-5/about"},{"id":"https://d-nb.info/gnd/63739-7","collection":{"id":"http://www.wikidata.org/entity/Q36578","abbr":"DNB","publisher":"Deutsche Nationalbibliothek","icon":"http://www.dnb.de/SiteGlobals/StyleBundles/Bilder/favicon.png?__blob=normal&v=1","name":"Gemeinsame Normdatei (GND) im Katalog der Deutschen Nationalbibliothek"}},{"collection":{"abbr":"DE-611","name":"Kalliope Verbundkatalog","publisher":"Staatsbibliothek zu Berlin - Preußischer Kulturbesitz","id":"https://kalliope-verbund.info"},"id":"https://kalliope-verbund.info/gnd/4007467-5"}],"depiction":[{"id":"http://commons.wikimedia.org/wiki/Special:FilePath/Znak%20%C4%8Desk%C3%A9ho%20kr%C3%A1lovstv%C3%AD.png","url":"https://commons.wikimedia.org/wiki/File:Znak%20%C4%8Desk%C3%A9ho%20kr%C3%A1lovstv%C3%AD.png?uselang=de","thumbnail":"https://commons.wikimedia.org/wiki/Special:FilePath/Znak%20%C4%8Desk%C3%A9ho%20kr%C3%A1lovstv%C3%AD.png?width=270"}]}
\ No newline at end of file
diff --git a/data/gnd-files/4007842-5.json b/data/gnd-files/4007842-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4009816-3.json b/data/gnd-files/4009816-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4011882-4.json b/data/gnd-files/4011882-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4012995-0.json b/data/gnd-files/4012995-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4013597-4.json b/data/gnd-files/4013597-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4014216-4.json b/data/gnd-files/4014216-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4014306-5.json b/data/gnd-files/4014306-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4014770-8.json b/data/gnd-files/4014770-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4015701-5.json b/data/gnd-files/4015701-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4016443-3.json b/data/gnd-files/4016443-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4017581-9.json b/data/gnd-files/4017581-9.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4018145-5.json b/data/gnd-files/4018145-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4020126-0.json b/data/gnd-files/4020126-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4021652-4.json b/data/gnd-files/4021652-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4023568-3.json b/data/gnd-files/4023568-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4026475-0.json b/data/gnd-files/4026475-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4027667-3.json b/data/gnd-files/4027667-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4027833-5.json b/data/gnd-files/4027833-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4028557-1.json b/data/gnd-files/4028557-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4028611-3.json b/data/gnd-files/4028611-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4030481-4.json b/data/gnd-files/4030481-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4031541-1.json b/data/gnd-files/4031541-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4033209-3.json b/data/gnd-files/4033209-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4033894-0.json b/data/gnd-files/4033894-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4035596-2.json b/data/gnd-files/4035596-2.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4036202-4.json b/data/gnd-files/4036202-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4037021-5.json b/data/gnd-files/4037021-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4037541-9.json b/data/gnd-files/4037541-9.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4037940-1.json b/data/gnd-files/4037940-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4038168-7.json b/data/gnd-files/4038168-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4038860-8.json b/data/gnd-files/4038860-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4038936-4.json b/data/gnd-files/4038936-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4039058-5.json b/data/gnd-files/4039058-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4039457-8.json b/data/gnd-files/4039457-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4041408-5.json b/data/gnd-files/4041408-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4042742-0.json b/data/gnd-files/4042742-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4043650-0.json b/data/gnd-files/4043650-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4044660-8.json b/data/gnd-files/4044660-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4045539-7.json b/data/gnd-files/4045539-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4045956-1.json b/data/gnd-files/4045956-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4045981-0.json b/data/gnd-files/4045981-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4047194-9.json b/data/gnd-files/4047194-9.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4048561-4.json b/data/gnd-files/4048561-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4050471-2.json b/data/gnd-files/4050471-2.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4054146-0.json b/data/gnd-files/4054146-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4055562-8.json b/data/gnd-files/4055562-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4059827-5.json b/data/gnd-files/4059827-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4059979-6.json b/data/gnd-files/4059979-6.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4059985-1 .json b/data/gnd-files/4059985-1 .json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4060087-7.json b/data/gnd-files/4060087-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4064171-5.json b/data/gnd-files/4064171-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4065105-8.json b/data/gnd-files/4065105-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4067461-7.json b/data/gnd-files/4067461-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4074836-4.json b/data/gnd-files/4074836-4.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4090557-3.json b/data/gnd-files/4090557-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4113415-1.json b/data/gnd-files/4113415-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4113517-9.json b/data/gnd-files/4113517-9.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4121076-1.json b/data/gnd-files/4121076-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4122841-8.json b/data/gnd-files/4122841-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4126385-6.json b/data/gnd-files/4126385-6.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4127484-2.json b/data/gnd-files/4127484-2.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4131834-1.json b/data/gnd-files/4131834-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4132245-9.json b/data/gnd-files/4132245-9.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4132311-7.json b/data/gnd-files/4132311-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4132465-1.json b/data/gnd-files/4132465-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4133182-5.json b/data/gnd-files/4133182-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4139254-1.json b/data/gnd-files/4139254-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4141067-1.json b/data/gnd-files/4141067-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4143327-0.json b/data/gnd-files/4143327-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4147636-0.json b/data/gnd-files/4147636-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4150434-3.json b/data/gnd-files/4150434-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4152728-8.json b/data/gnd-files/4152728-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4153612-5.json b/data/gnd-files/4153612-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4155907-1.json b/data/gnd-files/4155907-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4174300-3.json b/data/gnd-files/4174300-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4177382-2.json b/data/gnd-files/4177382-2.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4185820-7.json b/data/gnd-files/4185820-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4187714-7.json b/data/gnd-files/4187714-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4195918-8.json b/data/gnd-files/4195918-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4226126-0.json b/data/gnd-files/4226126-0.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4278185-1.json b/data/gnd-files/4278185-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4354287-6.json b/data/gnd-files/4354287-6.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4392286-7.json b/data/gnd-files/4392286-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4503687-1.json b/data/gnd-files/4503687-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4507470-7.json b/data/gnd-files/4507470-7.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4590810-2.json b/data/gnd-files/4590810-2.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4614913-2.json b/data/gnd-files/4614913-2.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4619414-9.json b/data/gnd-files/4619414-9.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4684839-3.json b/data/gnd-files/4684839-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4690379-3.json b/data/gnd-files/4690379-3.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4706348-8.json b/data/gnd-files/4706348-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/4737960-1.json b/data/gnd-files/4737960-1.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/5336454-5.json b/data/gnd-files/5336454-5.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/7527029-8.json b/data/gnd-files/7527029-8.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/7569602-2.json b/data/gnd-files/7569602-2.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/953971279.json b/data/gnd-files/953971279.json
old mode 100755
new mode 100644
diff --git a/data/gnd-files/gnd.json b/data/gnd-files/gnd.json
old mode 100755
new mode 100644
diff --git a/src/Controller/Tei2SolrController.php b/src/Controller/Tei2SolrController.php
index 77c37419c47e86368ab6a569a6932a743850033b..e36fd8000a80023c07c37599a1ecb5aa2fa79892 100755
--- a/src/Controller/Tei2SolrController.php
+++ b/src/Controller/Tei2SolrController.php
@@ -596,9 +596,22 @@ class Tei2SolrController extends AbstractController
$institution = $this->getInstitution($xpath);
$settlement = $this->getSettlement($xpath);
$country = $this->getCountry($xpath);
- if (isset($repository) && isset($institution) && isset($settlement) && isset($country)) {
- $institution = $repository . ', ' . $institution . ', ' . $settlement . ' (' . $country . ')';
- $institution = trim(preg_replace('/\s+/', ' ', $institution));
+
+ $institutionDetail = '';
+ if (!empty($repository)) {
+ $institutionDetail .= $repository;
+ }
+ if (!empty($institution)) {
+ $institutionDetail .= ', ' . $institution;
+ }
+ if (!empty($settlement)) {
+ $institutionDetail .= ', ' . $settlement;
+ }
+ if (!empty($country)) {
+ $institutionDetail .= ' (' . $country . ')';
+ }
+ if (!empty($institutionDetail)) {
+ $institution = trim(preg_replace('/\s+/', ' ', $institutionDetail));
}
$sourceDescription = $this->getSourceDescription($xpath);
@@ -929,61 +942,55 @@ class Tei2SolrController extends AbstractController
($element->nodeName === 'p' && $element->firstChild->nodeName !== 'address') ||
($element->nodeName === 'dateline' && 'closer' !== $element->parentNode->nodeName) ||
$element->nodeName === 'address' ||
- $element->nodeName === 'opener' ||
$element->nodeName === 'closer' ||
$element->nodeName === 'list' ||
($element->nodeName === 'signed' && 'closer' !== $element->parentNode->nodeName)
)) {
- $ele = [];
- $el = $this->getNodeChilds($element, $ele);
- $tText = '';
- $eText = '';
$n = 0;
$liNumber = 1;
-
- foreach ($el as $e) {
- if ($e->nodeName === '#text'
- && ($e->parentNode->nodeName !== 'abbr' && ($e->nodeName !== 'del' || $e->parentNode->nodeName !== 'add'))
- && $e->parentNode->nodeName !== 'note' && $e->parentNode->nodeName !== 'seg'
-
+ $tText = '';
+ $eText = '';
+ $childElementsArr = [];
+ $childElements = $this->getNodeChilds($element, $childElementsArr);
+
+ foreach ($childElements as $childElement) {
+ if ($childElement->nodeName === '#text'
+ && ($childElement->parentNode->nodeName !== 'abbr' && ($childElement->nodeName !== 'del' || $childElement->parentNode->nodeName !== 'add'))
+ && $childElement->parentNode->nodeName !== 'note' && $childElement->parentNode->nodeName !== 'seg'
+ && $childElement->parentNode->nodeName !== 'ref'
) {
if (isset($add) && !empty($add)) {
- $tText .= ' 〈' . $e->data . ' ' . $add;
-
- $eText .= ' ' . $e->data;
-
+ $tText .= ' 〈' . $childElement->data . ' ' . $add;
+ $eText .= ' ' . $childElement->data;
$add = '';
} elseif (isset($del) && !empty($del)) {
- $tText .= ' [' . $e->data . ' ' . $del;
-
+ $tText .= ' [' . $childElement->data . ' ' . $del;
$del = '';
- } elseif (isset($li) && !empty($li) && !empty($e->data) && 'item' === $e->parentNode->nodeName) {
-
+ } elseif (isset($li) && !empty($li) && !empty($childElement->data) && 'item' === $childElement->parentNode->nodeName) {
if (isset($italic) && true === $italic) {
- $tText .= $li . $e->data . '';
- $eText .= $li . $e->data . '';
+ $tText .= $li . $childElement->data . '';
+ $eText .= $li . $childElement->data . '';
$italic = false;
} else {
- $tText .= $li . $e->data;
- $eText .= $li . $e->data;
+ $tText .= $li . $childElement->data;
+ $eText .= $li . $childElement->data;
}
$li = '';
- } elseif ('supplied' === $e->parentNode->nodeName) {
- $tText .= $e->data;
- $eText .= '' . $e->data . '';
- } elseif ('hi' === $e->parentNode->nodeName && isset($e->parentNode->attributes[0])) {
+ } elseif ('supplied' === $childElement->parentNode->nodeName) {
+ $tText .= $childElement->data;
+ $eText .= '' . $childElement->data . '';
+ } elseif ('hi' === $childElement->parentNode->nodeName && isset($childElement->parentNode->attributes[0])) {
- $hi = explode(':', $e->parentNode->attributes[0]->value);
+ $hi = explode(':', $childElement->parentNode->attributes[0]->value);
if (isset($hi[1]) && !empty($hi[1]) && 'superscript' === $hi[1]) {
- $tText .= '' . $e->data . '';
- $eText .= $e->data;
+ $tText .= '' . $childElement->data . '';
+ $eText .= $childElement->data;
} elseif (isset($hi[1]) && !empty($hi[1]) && 'italic' === $hi[1]) {
-
- $tText .= '' . $e->data . '';
- $eText .= $e->data;
+ $tText .= '' . $childElement->data . '';
+ $eText .= $childElement->data;
$italic = true;
}
} elseif (isset($gnd) && true === $gnd) {
@@ -995,7 +1002,7 @@ class Tei2SolrController extends AbstractController
$tText .= '';
$note = false;
} else {
- $eText .= $e->data;
+ $eText .= $childElement->data;
if (isset($renditions) && !empty($renditions)) {
$classOpeningTag = '';
@@ -1022,7 +1029,7 @@ class Tei2SolrController extends AbstractController
$classOpeningTag = '';
}
- $tText .= $e->data;
+ $tText .= $childElement->data;
if (isset($classEndTag) && !empty($classEndTag)) {
$tText .= $classEndTag;
@@ -1030,142 +1037,106 @@ class Tei2SolrController extends AbstractController
}
}
- } elseif ($e->nodeName === "seg") {
+ } elseif ($childElement->nodeName === "seg") {
$noteUuid = $this->getUuid();
- $segText = '';
- foreach ($e->childNodes as $childNode) {
- if (!empty($childNode->data)) {
- $segText .= ' '.trim(preg_replace('/\s+/', ' ', $childNode->data));
- }
- }
-
+ $segText = $this->getElementText($childElement);
$eText .= ''.$segText;
$tText .= $segText;
-
$note = true;
-
if (!empty($segText)) {
$pagesSegs[$k][$noteUuid] = trim($segText);
}
- } elseif ($e->nodeName === "note") {
- $noteText = '';
- foreach ($e->childNodes as $childNode) {
- if (!empty($childNode->data)) {
- $noteText .= ' '.trim(preg_replace('/\s+/', ' ', $childNode->data));
- }
- }
-
+ } elseif ($childElement->nodeName === "note") {
+ $noteText = $this->getElementText($childElement);
if ((isset($noteUuid) && !empty($noteUuid)) && !empty($noteText)) {
$notesUuids[$noteUuid] = trim($noteText);
$pagesNotesUuids[$k][$noteUuid] = trim($noteText);
-
unset($noteUuid);
}
- } elseif ('item' === $e->nodeName) {
+ } elseif ('item' === $childElement->nodeName) {
if ($liNumber++ === 1) {
$li = '- ';
} else {
$li = '
- ';
}
-
- } elseif ('add' === $e->nodeName) {
- if ('rdg' === $e->parentNode->nodeName) {
- if (!empty($e->attributes)) {
-
+ } elseif ('add' === $childElement->nodeName) {
+ if ('rdg' === $childElement->parentNode->nodeName) {
+ if (!empty($childElement->attributes)) {
$pattern = '/^#[a-z_]*$/i';
-
- foreach ($e->attributes as $attribute) {
+ foreach ($childElement->attributes as $attribute) {
if ('hand' === $attribute->nodeName) {
$match = preg_match($pattern, $attribute->nodeValue, $matches);
-
if ($match) {
$add = 'erg. ' . str_replace('_', ' ', trim($attribute->nodeValue, '#')) . '〉 ';
}
}
}
-
} else {
$add = 'erg.〉 ';
}
}
- } elseif ('del' === $e->nodeName) {
- if ('rdg' === $e->parentNode->nodeName) {
- if (!empty($e->attributes)) {
-
- foreach ($e->attributes as $attribute) {
-
+ } elseif ('del' === $childElement->nodeName) {
+ if ('rdg' === $childElement->parentNode->nodeName) {
+ if (!empty($childElement->attributes)) {
+ foreach ($childElement->attributes as $attribute) {
if ('hand' === $attribute->nodeName) {
$del = 'str. ' . str_replace('_', ' ', trim($attribute->nodeValue, '#')) . ']';
}
}
-
} else {
$del = 'str.]';
}
}
- } elseif ('handShift' === $e->nodeName && 'signed' === $e->parentNode->nodeName) {
- if (!empty($e->attributes)) {
-
+ } elseif ('handShift' === $childElement->nodeName && 'signed' === $childElement->parentNode->nodeName) {
+ if (!empty($childElement->attributes)) {
$pattern = '/^#[a-z_]*$/i';
-
- foreach ($e->attributes as $attribute) {
-
+ foreach ($childElement->attributes as $attribute) {
if ('scribeRef' === $attribute->nodeName) {
$match = preg_match($pattern, $attribute->nodeValue, $matches);
-
if ($match) {
$add = 'sign. ' . str_replace('_', ' ', trim($attribute->nodeValue, '#')) . '〉 ';
}
}
}
}
- } elseif ('lb' === $e->nodeName) {
+ } elseif ('lb' === $childElement->nodeName) {
$tText .= '
';
$eText .= ' ';
- } elseif ('addrLine' === $e->nodeName) {
-
+ } elseif ('addrLine' === $childElement->nodeName) {
if ($n++ > 0) {
$eText .= '
';
$tText .= '
';
}
-
- } elseif ('signed' === $e->nodeName) {
- $tText .= '
';
+ } elseif ('signed' === $childElement->nodeName) {
+ $tText .= '
';
$eText .= '
';
- } elseif ('hi' === $e->nodeName) {
- foreach ($e->attributes as $attribute) {
-
+ $signedText = $this->getElementText($childElement);
+ $tText .= $signedText;
+ $eText .= $signedText;
+ } elseif ('hi' === $childElement->nodeName) {
+ foreach ($childElement->attributes as $attribute) {
if (isset(explode(':', $attribute->value)[1])) {
-
$rend = explode(':', $attribute->value)[1];
if ('superscript' !== $rend && 'italic' !== $rend) {
$renditions[] = explode(':', $attribute->value)[1];
}
}
}
- } elseif ('name' === $e->nodeName && (isset($e->attributes[1]->value) && !empty($e->attributes[1]->value)) && (isset($e->attributes[0]->value) && !empty($e->attributes[0]->value))) {
- $entityName = '';
- foreach ($e->childNodes as $childNode) {
- if (!empty($childNode->data)) {
- $entityName .= ' '.trim(preg_replace('/\s+/', ' ', $childNode->data));
- }
- }
- $entityName = str_replace('- ', '', $entityName);
+ } elseif ('name' === $childElement->nodeName && (isset($childElement->attributes[1]->value) && !empty($childElement->attributes[1]->value)) && (isset($childElement->attributes[0]->value) && !empty($childElement->attributes[0]->value))) {
+ $entityName = $this->getEntityName($childElement);
$uuid = $this->getUuid();
-
- if (str_contains($e->attributes[1]->value, 'gnd.')) {
- $gndsUuids[$uuid] = str_replace('gnd.', '', $e->attributes[1]->value);
- $pagesGndsUuids[$k][$uuid] = str_replace('gnd.', '', $e->attributes[1]->value);
- } elseif (str_contains($e->attributes[1]->value, 'gnd:')) {
- $gndsUuids[$uuid] = str_replace('gnd:', '', $e->attributes[1]->value);
- $pagesGndsUuids[$k][$uuid] = str_replace('gnd:', '', $e->attributes[1]->value);
+ if (str_contains($childElement->attributes[1]->value, 'gnd.')) {
+ $gndsUuids[$uuid] = str_replace('gnd.', '', $childElement->attributes[1]->value);
+ $pagesGndsUuids[$k][$uuid] = str_replace('gnd.', '', $childElement->attributes[1]->value);
+ } elseif (str_contains($childElement->attributes[1]->value, 'gnd:')) {
+ $gndsUuids[$uuid] = str_replace('gnd:', '', $childElement->attributes[1]->value);
+ $pagesGndsUuids[$k][$uuid] = str_replace('gnd:', '', $childElement->attributes[1]->value);
}
-
- if ('signed' === $e->parentNode->nodeName) {
- if (isset($e->parentNode->attributes[0])) {
- $hand = explode('_', trim($e->parentNode->attributes[0]->value, '#'));
+ if ('signed' === $childElement->parentNode->nodeName) {
+ if (isset($childElement->parentNode->attributes[0])) {
+ $hand = explode('_', trim($childElement->parentNode->attributes[0]->value, '#'));
}
- $eText .= ''.$entityName;
+ $eText .= ''.$entityName;
$tText .= '〈'.$entityName.' sign.';
if (isset($hand[0]) && !empty($hand[0])) {
$tText .= ' '.$hand[0];
@@ -1175,53 +1146,21 @@ class Tei2SolrController extends AbstractController
}
$tText .= ' 〉';
} else {
- $eText .= ''.$entityName;
+ $eText .= ''.$entityName;
$tText .= $entityName;
}
-
$gnd = true;
}
}
- $eText = preg_replace('~\x{00AD}~u', '-', $eText);
- $pattern = '/(\w+)-\s(\w)/i';
-
- $eText = preg_replace_callback(
- $pattern,
- function ($match) {
- return $match[1] . $match[2];
- },
- $eText
- );
-
+ $eText = $this->convertSoftHyphenToHyphen($eText);
+ $eText = $this->removeHyphen($eText);
$myeditedText .= '' . $eText . '
';
$mytranscriptedText .= '' . $tText . '
';
-
} elseif ('pb' === $element->nodeName) {
- foreach ($element->attributes as $key => $attribute) {
- if ('facs' === $attribute->name) {
- if (isset($graphics[trim($attribute->value, '#')])) {
- $graphic = $graphics[trim($attribute->value, '#')];
-
- if (str_ends_with($graphic, '.jpg')) {
- $graphic = substr($graphic, 0, strlen($graphic) - 4);
- }
- }
- } elseif ('n' === $attribute->name) {
- $pageNumber = $attribute->value;
- }
-
- if (!empty($pageNumber) && !empty($graphic)) {
- $href = '' . $pageNumber . '';
- } elseif (!empty($pageNumber) && empty($graphic)) {
- $href = $pageNumber;
- } else {
- $href = '';
- }
- }
-
- $tText = $href;
- $eText = $href;
+ $imageHref = $this->getImageHref($element, $graphics);
+ $tText = $imageHref;
+ $eText = $imageHref;
$myeditedText .= '' . $eText . '
';
$mytranscriptedText .= '' . $tText . '
';
}
@@ -1254,6 +1193,82 @@ class Tei2SolrController extends AbstractController
return $solrDocument;
}
+ private function getEntityName(\DOMElement $childElement): string
+ {
+ $entityName = '';
+ foreach ($childElement->childNodes as $childNode) {
+ if (!empty($childNode->data)) {
+ $entityName .= ' '.trim(preg_replace('/\s+/', ' ', $childNode->data));
+ }
+ }
+ $entityName = str_replace('- ', '', $entityName);
+
+ return $entityName;
+ }
+
+ private function removeHyphen(string $text): string
+ {
+ $pattern = '/(\w+)-\s(\w)/i';
+ $text = preg_replace_callback(
+ $pattern,
+ function ($match) {
+ return $match[1] . $match[2];
+ },
+ $text
+ );
+
+ return $text;
+ }
+
+ private function convertSoftHyphenToHyphen(string $text): string
+ {
+ $text = preg_replace('~\x{00AD}~u', '-', $text);
+
+ return $text;
+ }
+
+ private function getImageHref(\DOMElement $element, array $graphics): string
+ {
+ foreach ($element->attributes as $attribute) {
+ if ('facs' === $attribute->name) {
+ if (isset($graphics[trim($attribute->value, '#')])) {
+ $graphic = $graphics[trim($attribute->value, '#')];
+
+ if (str_ends_with($graphic, '.jpg')) {
+ $graphic = substr($graphic, 0, strlen($graphic) - 4);
+ }
+ }
+ } elseif ('n' === $attribute->name) {
+ $pageNumber = $attribute->value;
+ }
+
+ if (!empty($pageNumber) && !empty($graphic)) {
+ $href = '' . $pageNumber . '';
+ } elseif (!empty($pageNumber) && empty($graphic)) {
+ $href = $pageNumber;
+ } else {
+ $href = '';
+ }
+ }
+
+ return $href;
+ }
+
+ private function getElementText(\DOMElement $e): string
+ {
+ $elementChildsArr = [];
+ $elementChilds = $this->getNodeChilds($e, $elementChildsArr);
+
+ $elementText = '';
+ foreach ($elementChilds as $elementChild) {
+ if ('#text' === $elementChild->nodeName && !empty($elementChild->data)) {
+ $elementText .= ' '.trim(preg_replace('/\s+/', ' ', $elementChild->data));
+ }
+ }
+
+ return $elementText;
+ }
+
/**
* @Route("gitlab")
*/