From 936565e26dfa44687f7f5c1bc4d694ab9adb50cb Mon Sep 17 00:00:00 2001 From: Daniel_Stoxreiter Date: Tue, 20 Sep 2022 12:54:12 +0200 Subject: [PATCH] updating tei.xml: added series in guidingManifestatin; removed Publikationsgeschichte duplication of guidingManifestation --- freud_api_crawler/__init__.py | 2 +- freud_api_crawler/templates/tei.xml | 43 +++++++++++++++++------------ setup.py | 2 +- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/freud_api_crawler/__init__.py b/freud_api_crawler/__init__.py index 5f1b21a..7bf9362 100644 --- a/freud_api_crawler/__init__.py +++ b/freud_api_crawler/__init__.py @@ -2,4 +2,4 @@ __author__ = """Peter Andorfer""" __email__ = 'peter.andorfer@oeaw.ac.at' -__version__ = '2.0.3' +__version__ = '2.0.4' diff --git a/freud_api_crawler/templates/tei.xml b/freud_api_crawler/templates/tei.xml index 118abc3..649cf7d 100644 --- a/freud_api_crawler/templates/tei.xml +++ b/freud_api_crawler/templates/tei.xml @@ -25,6 +25,11 @@ Sigmund Freud Edition: Digitale Historisch-Kritische Gesamtausgabe + + Herausgegeben von + Diercks, Christine + Rohrwasser, Michael + Konzept für die Edition und die Datenbank, Richtlinien, Quellenforschung, Signaturen, Referenzsystem Diercks, Christine @@ -35,11 +40,10 @@ Diplomatische Umschrift, Lektorat - Blatow, Arkadi Diercks, Christine Huber, Christian Kaufmann, Kira - Rohrwasser, Michael + Liepold, Sophie Technische Umsetzung der Datenbank und der digitalen Instrumente @@ -87,7 +91,8 @@ Publikationsgeschichte {% if man.publicationHistory %} {% for x in man.publicationHistory %} - + {% if man.id not in x.id %} + {% if man.type == "Monographie" or man.type == "Werkausgabe" or man.type == "Periodikum (Heft)" or man.type == "Periodikum (Jahrgang)" or man.type == "Periodiukum" %} {{ man.man_title }} @@ -97,23 +102,22 @@ {% if man.publication.publisher %} {% for pub in man.publication.publisher %} - {{ pub.name }} + {{ pub.name }} {% endfor %} {% endif %} {% if man.publication.places %} {% for place in man.publication.places %} - {{ place.name }} + {{ place.name }} {% endfor %} {% endif %} {% if man.publication.date %} - {{ man.publication.date }} + {{ man.publication.date }} {% endif %} {% endif %} {% if man.page_num %} {% if man.page_num.start %}{{ man.page_num.start }}{% endif %}{% if man.page_num.start and man.page_num.end %} - {% endif %}{% if man.page_num.end %}{{ man.page_num.end }} Seiten{% endif %} {% endif %} - {{ man.type }} {% if man.publication.id %} @@ -157,14 +161,12 @@ {% if man.publication.jahrgang %} {{ man.publication.jahrgang }} {% endif %} - {{ man.publication.type }} {% endif %} {% else %} {{ man.man_title }} {{ man.author.name }} - {{ man.type }} {% if man.publication.id %} @@ -197,8 +199,14 @@ {% endif %} {% if man.publication.id %} - {% if man.publication.places %}{% for place in man.publication.places %}{{ place.name }}{% endfor %}{% endif %} - {% if man.publication.date %}{{ man.publication.date }}{% endif %} + {% if man.publication.places %} + {% for place in man.publication.places %} + {{ place.name }} + {% endfor %} + {% endif %} + {% if man.publication.date %} + {{ man.publication.date }} + {% endif %} {% endif %} {% if man.page_num %}{% if man.page_num.start %}{{ man.page_num.start }}{% endif %}{% if man.page_num.start and man.page_num.end %} - {% endif %}{% if man.page_num.end %}{{ man.page_num.end }} Seiten{% endif %}{% endif %} @@ -214,14 +222,14 @@ {% if man.publication.jahrgang %} {{ man.publication.jahrgang }} {% endif %} - {{ man.publication.type }} {% endif %} {% endif %} + {% endif %} {% endfor %} {% endif %} - + {% if man.type == "Monographie" or man.type == "Werkausgabe" or man.type == "Periodikum (Heft)" or man.type == "Periodikum (Jahrgang)" or man.type == "Periodiukum" %} {{ man.man_title }} @@ -247,7 +255,6 @@ {% if man.page_num %} {% if man.page_num.start %}{{ man.page_num.start }}{% endif %}{% if man.page_num.start and man.page_num.end %} - {% endif %}{% if man.page_num.end %}{{ man.page_num.end }} Seiten{% endif %} {% endif %} - {{ man.type }} {% if man.publication.id %} @@ -291,14 +298,12 @@ {% if man.publication.jahrgang %} {{ man.publication.jahrgang }} {% endif %} - {{ man.publication.type }} {% endif %} {% else %} {{ man.man_title }} {{ man.author.name }} - {{ man.type }} {% if man.publication.id %} @@ -356,7 +361,6 @@ {% if man.publication.jahrgang %} {{ man.publication.jahrgang }} {% endif %} - {{ man.publication.type }} {% endif %} {% endif %} @@ -370,6 +374,11 @@ https://www.freud-edition.net {{ man.author.name }} + + Herausgegeben von + Diercks, Christine + Rohrwasser, Michael + Konzept für die Edition und die Datenbank, Richtlinien, Quellenforschung, Signaturen, Referenzsystem diff --git a/setup.py b/setup.py index 0ce7993..76eb351 100644 --- a/setup.py +++ b/setup.py @@ -72,6 +72,6 @@ test_suite='tests', tests_require=test_requirements, url='https://github.com/acdh-oeaw/freud_api_crawler', - version='2.0.3', + version='2.0.4', zip_safe=False, )