datenspuren videos aufräumen
This commit is contained in:
parent
ad47c28c27
commit
ccdc06ecec
|
@ -46,9 +46,9 @@
|
|||
<li>
|
||||
<a href="about.html">Über</a>
|
||||
</li>
|
||||
<li>
|
||||
<li>
|
||||
<a href="fahrplan.html">Programm</a>
|
||||
</li>
|
||||
</li>
|
||||
<li>
|
||||
<a href="location.html">Ort</a>
|
||||
</li>
|
||||
|
@ -66,7 +66,7 @@
|
|||
</ul>
|
||||
</nav>
|
||||
<article>
|
||||
<div id="logo">
|
||||
<div id="logo">
|
||||
<img src="images/logo.svg"></img>
|
||||
</div>
|
||||
<xsl:apply-templates/>
|
||||
|
@ -100,11 +100,11 @@
|
|||
</script>
|
||||
<xsl:if test="/page/@title = 'Ort'">
|
||||
<script type="application/javascript"
|
||||
src="script/wgs84util.js">
|
||||
src="script/wgs84util.js">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
<script type="application/javascript"
|
||||
src="script/pois.js">
|
||||
src="script/pois.js">
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
</xsl:if>
|
||||
|
@ -118,19 +118,19 @@
|
|||
<xsl:variable name="title" select="@title"/>
|
||||
<xsl:for-each select="document(@src)/day">
|
||||
<h3 class="scheduletitle">
|
||||
<xsl:choose>
|
||||
<xsl:when test="$title">
|
||||
<xsl:value-of select="$title"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@title"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$title">
|
||||
<xsl:value-of select="$title"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@title"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</h3>
|
||||
|
||||
<table class="schedule">
|
||||
<xsl:copy-of select="table/thead"/>
|
||||
<xsl:copy-of select="table/tbody"/>
|
||||
<xsl:copy-of select="table/thead"/>
|
||||
<xsl:copy-of select="table/tbody"/>
|
||||
</table>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
@ -154,10 +154,10 @@
|
|||
<xsl:value-of select="$title" />
|
||||
</title>
|
||||
<!--script type="application/javascript" src="script/jquery-1.9.1.min.js" defer="defer">
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:text> </xsl:text>
|
||||
</script>
|
||||
<script type="application/javascript" src="script/play-resources.js" defer="defer">
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:text> </xsl:text>
|
||||
</script-->
|
||||
</head>
|
||||
</xsl:template>
|
||||
|
@ -200,9 +200,9 @@
|
|||
<xsl:template match="resource">
|
||||
<section class="resource">
|
||||
<xsl:if test="@preview">
|
||||
<xsl:attribute name="data-preview">
|
||||
<xsl:value-of select="@preview"/>
|
||||
</xsl:attribute>
|
||||
<xsl:attribute name="data-preview">
|
||||
<xsl:value-of select="@preview"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<h4>
|
||||
<xsl:attribute name="id">
|
||||
|
@ -211,43 +211,43 @@
|
|||
<xsl:with-param name="forspace">-</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@details-link">
|
||||
<a href="{@details-link}">
|
||||
<xsl:value-of select="@title"/>
|
||||
</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@title"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
<xsl:choose>
|
||||
<xsl:when test="@details-link">
|
||||
<a href="{@details-link}">
|
||||
<xsl:value-of select="@title"/>
|
||||
</a>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="@title"/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</h4>
|
||||
<xsl:if test="@poster">
|
||||
<div class="preview">
|
||||
<img src="{@poster}" title="{@title}"/>
|
||||
</div>
|
||||
<div class="preview">
|
||||
<img src="{@poster}" title="{@title}"/>
|
||||
</div>
|
||||
</xsl:if>
|
||||
<ul class="links">
|
||||
<li><xsl:call-template name="link-resource"/></li>
|
||||
<xsl:for-each select="alternative">
|
||||
<li><xsl:call-template name="link-resource"/></li>
|
||||
</xsl:for-each>
|
||||
<li><xsl:call-template name="link-resource"/></li>
|
||||
<xsl:for-each select="alternative">
|
||||
<li><xsl:call-template name="link-resource"/></li>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:if test="@feedback-link">
|
||||
<li class="feedback"><a href="{@feedback-link}">Feedback</a></li>
|
||||
</xsl:if>
|
||||
<xsl:if test="@feedback-link">
|
||||
<li class="feedback"><a href="{@feedback-link}">Feedback</a></li>
|
||||
</xsl:if>
|
||||
</ul>
|
||||
</section>
|
||||
</xsl:template>
|
||||
<xsl:template name="link-resource">
|
||||
<a href="{@url}" type="{@type}">
|
||||
<xsl:call-template name="mime-for-human-short">
|
||||
<xsl:with-param name="mime" select="@type"/>
|
||||
<xsl:with-param name="mime" select="@type"/>
|
||||
</xsl:call-template>
|
||||
</a>
|
||||
<span class="size">
|
||||
<xsl:call-template name="format-filesize">
|
||||
<xsl:with-param name="value" select="@size"/>
|
||||
<xsl:with-param name="value" select="@size"/>
|
||||
</xsl:call-template>
|
||||
</span>
|
||||
</xsl:template>
|
||||
|
@ -259,15 +259,16 @@
|
|||
<xsl:for-each select="document(.)/rss/channel/item">
|
||||
<xsl:variable name="identifier" select="dc:identifier"/>
|
||||
<xsl:variable name="title" select="substring-before(title, concat(' (DS', $year, ')'))"/>
|
||||
<xsl:variable name="subtitle" select="itunes:subtitle"/>
|
||||
<xsl:variable name="preview"
|
||||
select="concat('https://static.media.ccc.de/media/events/datenspuren/', $year, '/', substring-before(substring-after(link, concat('/DS', $year, '-')), '-'), '-hd.jpg')"/>
|
||||
|
||||
<section class="resource">
|
||||
<h4>
|
||||
<a href="{link}">
|
||||
<xsl:value-of select="$title"/>
|
||||
</a>
|
||||
</h4>
|
||||
<em><xsl:value-of select="$subtitle"/></em>
|
||||
<div class="preview">
|
||||
<img src="{$preview}" title="{$title}"/>
|
||||
</div>
|
||||
|
@ -277,7 +278,7 @@
|
|||
<li>
|
||||
<a href="{@url}" type="{@type}">
|
||||
<xsl:call-template name="mime-for-human-short">
|
||||
<xsl:with-param name="mime" select="@type"/>
|
||||
<xsl:with-param name="mime" select="@type"/>
|
||||
</xsl:call-template>
|
||||
</a>
|
||||
</li>
|
||||
|
@ -293,5 +294,5 @@
|
|||
</xsl:for-each>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
Loading…
Reference in New Issue