Skip to content

Commit

Permalink
orte-to-tage schneller und direkt über wienerschnitzler
Browse files Browse the repository at this point in the history
  • Loading branch information
martinantonmueller committed Oct 19, 2024
1 parent 125b065 commit cab9162
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 57 deletions.
58 changes: 7 additions & 51 deletions import-lists/schnitzler-orte_tage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,24 @@
<teiHeader>
<fileDesc>
<titleStmt>
<title>Arthur Schnitzlers Reisen</title>
<title>Arthur Schnitzlers Aufenthaltsorte</title>
<respStmt>
<resp>providing the content</resp>
<name>Arthur Schnitzler</name>
<name>Martin Anton Müller</name>
<name>Laura Puntigam</name>
<name>Laura Untner</name>
</respStmt>
</titleStmt>
<publicationStmt>
<publisher>
<orgName>Austrian Centre for Digital Humanities, Austrian Academy of Sciences </orgName>
<address>
<addrLine>Sonnenfelsgasse 19</addrLine>
<addrLine>Bäckerstraße 13</addrLine>
<addrLine>1010 Vienna</addrLine>
</address>
</publisher>
<pubPlace ref="http://d-nb.info/gnd/4066009-6">Vienna</pubPlace>
<date when="2022">2022</date>
<date when="2024">2024</date>
<availability>
<licence target="https://creativecommons.org/licenses/by/4.0/">
<p>The Creative Commons Attribution 4.0 International (CC BY 4.0) License applies
Expand All @@ -40,7 +39,9 @@
an edition of that list but to extract the information from the list and connect the
timespans with geonames-IDs and locations. Therefore errors and mistakes of the list
were changed without keeping track of the deleted information. Sometimes the diary
was used to correct entries.</p>
was used to correct entries.
The groundwork was done by Laura Puntigam in an internship in 2022, but the data
has been severly revised and expanded since. </p>
</sourceDesc>
</fileDesc>
</teiHeader>
Expand All @@ -51,7 +52,7 @@
<event when-iso="1869-01-01">
<head>Thalhof</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/796/</idno>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/6/</idno>
</event>
<event when-iso="1869-01-02">
<head>Thalhof</head>
Expand Down Expand Up @@ -113749,11 +113750,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/574/</idno>
</event>
<event when-iso="1917-09-30">
<head>Irland</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/577/</idno>
</event>
<event when-iso="1917-09-30">
<head>Knödelhütte</head>
<desc/>
Expand Down Expand Up @@ -114569,11 +114565,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/176/</idno>
</event>
<event when-iso="1918-02-10">
<head>Irland</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/577/</idno>
</event>
<event when-iso="1918-02-11">
<head>Wien</head>
<desc/>
Expand Down Expand Up @@ -114699,11 +114690,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/14/</idno>
</event>
<event when-iso="1918-03-03">
<head>Irland</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/577/</idno>
</event>
<event when-iso="1918-03-03">
<head>Physiatrisches Sanatorium (Lahmann)</head>
<desc/>
Expand Down Expand Up @@ -115259,11 +115245,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/15/</idno>
</event>
<event when-iso="1918-05-12">
<head>Irland</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/577/</idno>
</event>
<event when-iso="1918-05-13">
<head>Wien</head>
<desc/>
Expand Down Expand Up @@ -120199,11 +120180,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/50/</idno>
</event>
<event when-iso="1920-04-18">
<head>Australien</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/604/</idno>
</event>
<event when-iso="1920-04-18">
<head>Neapel</head>
<desc/>
Expand Down Expand Up @@ -121064,11 +121040,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/176/</idno>
</event>
<event when-iso="1920-08-08">
<head>Guild Theatre</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/609/</idno>
</event>
<event when-iso="1920-08-08">
<head>Salmannsdorf</head>
<desc/>
Expand Down Expand Up @@ -131439,11 +131410,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/194925/</idno>
</event>
<event when-iso="1924-05-25">
<head>Australien</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/604/</idno>
</event>
<event when-iso="1924-05-25">
<head>Dornbach</head>
<desc/>
Expand Down Expand Up @@ -134869,11 +134835,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/50/</idno>
</event>
<event when-iso="1925-07-19">
<head>Australien</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/604/</idno>
</event>
<event when-iso="1925-07-20">
<head>Wien</head>
<desc/>
Expand Down Expand Up @@ -139269,11 +139230,6 @@
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/14/</idno>
</event>
<event when-iso="1927-04-17">
<head>Guild Theatre</head>
<desc/>
<idno type="schnitzler-orte">https://pmb.acdh.oeaw.ac.at/entity/609/</idno>
</event>
<event when-iso="1927-04-17">
<head>Salmannsdorf</head>
<desc/>
Expand Down
103 changes: 103 additions & 0 deletions schnitzler-chronik-data.xpr
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,26 @@
<entry>
<String>scenario.associations</String>
<scenarioAssociation-array>
<scenarioAssociation>
<field name="url">
<String>import-lists/schnitzler-orte_tage.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>schnitzler-orte_tage</String>
</list>
</field>
<field name="scenarioTypes">
<list>
<String>XSL</String>
</list>
</field>
<field name="scenarioStorageLocations">
<list>
<Byte>2</Byte>
</list>
</field>
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>editions/complete-list/schnitzler-chronik.xml</String>
Expand Down Expand Up @@ -196,6 +216,89 @@
<String-array/>
</field>
</scenario>
<scenario>
<field name="advancedOptionsMap">
<null/>
</field>
<field name="name">
<String>schnitzler-orte_tage</String>
</field>
<field name="baseURL">
<String></String>
</field>
<field name="footerURL">
<String></String>
</field>
<field name="fOPMethod">
<String>pdf</String>
</field>
<field name="fOProcessorName">
<String>Apache FOP</String>
</field>
<field name="headerURL">
<String></String>
</field>
<field name="inputXSLURL">
<String>file:/Users/oldfiche/git/schnitzler-chronik-data/xslts/diverses/orte-to-tage.xsl</String>
</field>
<field name="inputXMLURL">
<String>${currentFileURL}</String>
</field>
<field name="defaultScenario">
<Boolean>false</Boolean>
</field>
<field name="isFOPPerforming">
<Boolean>false</Boolean>
</field>
<field name="type">
<String>XSL</String>
</field>
<field name="saveAs">
<Boolean>true</Boolean>
</field>
<field name="openInBrowser">
<Boolean>false</Boolean>
</field>
<field name="outputResource">
<String>${cfne}</String>
</field>
<field name="openOtherLocationInBrowser">
<Boolean>false</Boolean>
</field>
<field name="locationToOpenInBrowserURL">
<null/>
</field>
<field name="openInEditor">
<Boolean>false</Boolean>
</field>
<field name="showInHTMLPane">
<Boolean>false</Boolean>
</field>
<field name="showInXMLPane">
<Boolean>true</Boolean>
</field>
<field name="showInSVGPane">
<Boolean>false</Boolean>
</field>
<field name="showInResultSetPane">
<Boolean>false</Boolean>
</field>
<field name="useXSLTInput">
<Boolean>true</Boolean>
</field>
<field name="xsltParams">
<list/>
</field>
<field name="cascadingStylesheets">
<String-array/>
</field>
<field name="xslTransformer">
<String>Saxon-PE</String>
</field>
<field name="extensionURLs">
<String-array/>
</field>
</scenario>
<scenario>
<field name="advancedOptionsMap">
<null/>
Expand Down
19 changes: 13 additions & 6 deletions xslts/diverses/orte-to-tage.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
<xsl:param name="threshold" select="xs:date('1931-10-21')"/>
<!-- kein Datum nach Schnitzlers Tod -->

<xsl:param name="wiener-schnitzler" select="document('https://raw.githubusercontent.com/wiener-moderne-verein/wienerschnitzler-data/refs/heads/main/editions/xml/wienerschnitzler_complete.xml')"></xsl:param>





<xsl:template match="tei:listEvent">
<xsl:element name="listEvent" namespace="http://www.tei-c.org/ns/1.0">
<xsl:apply-templates select="tei:event/tei:listPlace/tei:place"/>
Expand Down Expand Up @@ -40,25 +46,24 @@
<teiHeader>
<fileDesc>
<titleStmt>
<title>Arthur Schnitzlers Reisen</title>
<title>Arthur Schnitzlers Aufenthaltsorte</title>
<respStmt>
<resp>providing the content</resp>
<name>Arthur Schnitzler</name>
<name>Martin Anton Müller</name>
<name>Laura Puntigam</name>
<name>Laura Untner</name>
</respStmt>
</titleStmt>
<publicationStmt>
<publisher>
<orgName>Austrian Centre for Digital Humanities, Austrian Academy of Sciences </orgName>
<address>
<addrLine>Sonnenfelsgasse 19</addrLine>
<addrLine>Bäckerstraße 13</addrLine>
<addrLine>1010 Vienna</addrLine>
</address>
</publisher>
<pubPlace ref="http://d-nb.info/gnd/4066009-6">Vienna</pubPlace>
<date when="2022">2022</date>
<date when="2024">2024</date>
<availability>
<licence target="https://creativecommons.org/licenses/by/4.0/">
<p>The Creative Commons Attribution 4.0 International (CC BY 4.0) License applies
Expand All @@ -73,14 +78,16 @@
an edition of that list but to extract the information from the list and connect the
timespans with geonames-IDs and locations. Therefore errors and mistakes of the list
were changed without keeping track of the deleted information. Sometimes the diary
was used to correct entries.</p>
was used to correct entries.
The groundwork was done by Laura Puntigam in an internship in 2022, but the data
has been severly revised and expanded since. </p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<div>
<xsl:apply-templates select="descendant::tei:text/tei:body/tei:div/tei:listEvent"/>
<xsl:apply-templates select="$wiener-schnitzler/descendant::tei:text/tei:body/tei:div/tei:listEvent"/>
</div>
</body>
</text>
Expand Down

0 comments on commit cab9162

Please sign in to comment.