Skip to content

Commit

Permalink
beacon, detail view for works, fixed minor issue in topic-tables
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Jun 16, 2024
1 parent 6e15078 commit 94c0474
Show file tree
Hide file tree
Showing 7 changed files with 191 additions and 106 deletions.
4 changes: 2 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@
<xslt in="./data/meta/arche_constants.rdf" out="${target}/arche.rdf" style="./xslt/arche.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>
</xslt>-->
<xslt in="./data/indices/listperson.xml" out="${target}/beacon.txt" style="./xslt/beacon.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
<classpath location="${basedir}/saxon/saxon9he.jar"/>
</xslt>-->
</xslt>
<!-- Visualisierungen -->
<xslt in="./data/vocabulary/legalkraus.rdf" out="${target}/fallstatistik.html" style="./xslt/vocabs.xsl">
<factory name="net.sf.saxon.TransformerFactoryImpl"/>
Expand Down
125 changes: 104 additions & 21 deletions legalkraus-static.xpr
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
<scenarioAssociation-array>
<scenarioAssociation>
<field name="url">
<String>data/indices/listfackel.xml</String>
<String>data/indices/listwork.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>listfackel</String>
<String>listbibl.xsl</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -30,11 +30,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>xslt/editions.xsl</String>
<String>data/indices/listplace.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>editions</String>
<String>listplace</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -50,11 +50,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/indices/listorg.xml</String>
<String>data/indices/listperson.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>listorg</String>
<String>beacon</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -70,11 +70,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/indices/listplace.xml</String>
<String>data/indices/listfackel.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>listplace</String>
<String>listfackel</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -90,11 +90,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/indices/listperson.xml</String>
<String>xslt/editions.xsl</String>
</field>
<field name="scenarioIds">
<list>
<String>listperson</String>
<String>editions</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -110,11 +110,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/topics/fackel-collections.xml</String>
<String>data/indices/listorg.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>topics</String>
<String>listorg</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -130,7 +130,7 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/topics/</String>
<String>data/topics/fackel-collections.xml</String>
</field>
<field name="scenarioIds">
<list>
Expand All @@ -150,11 +150,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/imprint.xml</String>
<String>data/topics/</String>
</field>
<field name="scenarioIds">
<list>
<String>politik</String>
<String>topics</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -170,11 +170,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/handapparat/boehm.xml</String>
<String>data/imprint.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>handapparat</String>
<String>politik</String>
</list>
</field>
<field name="scenarioTypes">
Expand All @@ -190,7 +190,7 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/handapparat/oskar-samek.xml</String>
<String>data/handapparat/boehm.xml</String>
</field>
<field name="scenarioIds">
<list>
Expand All @@ -210,7 +210,7 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/handapparat/beitraege.xml</String>
<String>data/handapparat/oskar-samek.xml</String>
</field>
<field name="scenarioIds">
<list>
Expand All @@ -230,11 +230,11 @@
</scenarioAssociation>
<scenarioAssociation>
<field name="url">
<String>data/indices/listwork.xml</String>
<String>data/handapparat/beitraege.xml</String>
</field>
<field name="scenarioIds">
<list>
<String>listbibl.xsl</String>
<String>handapparat</String>
</list>
</field>
<field name="scenarioTypes">
Expand Down Expand Up @@ -533,6 +533,89 @@
<entry>
<String>scenarios</String>
<scenario-array>
<scenario>
<field name="advancedOptionsMap">
<null/>
</field>
<field name="name">
<String>beacon</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>${pdu}/xslt/beacon.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>true</Boolean>
</field>
<field name="outputResource">
<String>${pd}/html/beacon.txt</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>false</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-HE</String>
</field>
<field name="extensionURLs">
<String-array/>
</field>
</scenario>
<scenario>
<field name="advancedOptionsMap">
<null/>
Expand Down
2 changes: 1 addition & 1 deletion xslt/beacon.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
version="2.0">
<xsl:output media-type="text" encoding="UTF-8" omit-xml-declaration="yes"/>
<xsl:import href="./partials/params.xsl"/>
<xsl:template match="/">#FORMAT: BEACON<xsl:text>&#xa;</xsl:text>#NAME:<xsl:value-of select="$project_title"/><xsl:for-each select=".//tei:person[.//tei:idno[@type='gnd']/text()]"><xsl:text>&#xa;</xsl:text><xsl:value-of select=".//tei:idno[@type='gnd']/text()"/>|<xsl:value-of select=".//tei:surname/text()"/><xsl:if test=".//tei:forename/text()">,<xsl:text> </xsl:text><xsl:value-of select=".//tei:forename/text()"/></xsl:if>|<xsl:value-of select="$base_url"/>/<xsl:value-of select="data(@xml:id)"/>.html</xsl:for-each>
<xsl:template match="/">#FORMAT: BEACON<xsl:text>&#xa;</xsl:text>#NAME:<xsl:value-of select="$project_title"/><xsl:for-each select=".//tei:person[@xml:id and ./tei:idno[@subtype='gnd']/text()]"><xsl:text>&#xa;</xsl:text><xsl:value-of select=".//tei:idno[@subtype='gnd']/text()"/>|<xsl:value-of select="./tei:persName[1]/tei:surname/text()"/><xsl:if test="./tei:persName[1]/tei:forename/text()">,<xsl:text> </xsl:text><xsl:value-of select="./tei:persName[1]/tei:forename/text()"/></xsl:if>|<xsl:value-of select="$base_url"/><xsl:value-of select="data(@xml:id)"/>.html</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Loading

0 comments on commit 94c0474

Please sign in to comment.