datenspuren mitschnitte: fix some magic
This commit is contained in:
parent
41afc82f8f
commit
e78cbd87c4
|
@ -271,10 +271,10 @@
|
|||
<xsl:variable name="identifier" select="dc:identifier"/>
|
||||
<xsl:variable name="slug"
|
||||
select="substring-before(substring-after(description, 'event on media: //media.ccc.de/'), '.html')"/>
|
||||
<xsl:variable name="title" select="substring-after(title, ': ')"/>
|
||||
<xsl:variable name="title" select="substring-before(title, ' (ds2015)')"/>
|
||||
<xsl:variable name="preview"
|
||||
select="concat('https://static.media.ccc.de/media/events/datenspuren/2015/',
|
||||
substring-before(substring-after(link ,'/datenspuren15-'), '-'),
|
||||
substring-before(substring-after(link ,'/DS2015-'), '-'),
|
||||
'-sd_preview.jpg')"/>
|
||||
|
||||
<section class="resource">
|
||||
|
@ -284,7 +284,7 @@
|
|||
</a>
|
||||
</h4>
|
||||
<div class="preview">
|
||||
<img src="{$preview}" title="$title"/>
|
||||
<img src="{$preview}" title="{$title}"/>
|
||||
</div>
|
||||
<ul class="links">
|
||||
<xsl:for-each select="$feeds/feed">
|
||||
|
|
Loading…
Reference in New Issue