2006-01-06 18:59:33 +01:00
<?xml version="1.0" encoding="utf-8"?>
2011-09-16 00:34:46 +02:00
<xsl:stylesheet version= "1.0"
2008-03-25 20:53:29 +01:00
xmlns="http://www.w3.org/1999/xhtml"
xmlns:date="http://exslt.org/dates-and-times"
2011-09-16 00:34:46 +02:00
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
2015-10-25 11:31:16 +01:00
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
exclude-result-prefixes="xsl date dc itunes">
2006-01-06 18:59:33 +01:00
2009-09-25 15:26:27 +02:00
<xsl:include href= "../common.xsl" />
2006-01-06 19:55:19 +01:00
2011-09-16 00:34:46 +02:00
<xsl:output method= "xml"
version="1.0"
encoding="utf-8"
2009-05-09 17:32:25 +02:00
indent="yes"/>
2011-09-16 00:34:46 +02:00
<xsl:strip-space elements= "p ul td" />
2006-04-22 00:40:06 +02:00
2006-01-06 18:59:33 +01:00
<xsl:template match= "/page" >
2010-11-09 22:25:17 +01:00
<xsl:text disable-output-escaping= "yes" > < !DOCTYPE html>
</xsl:text>
2009-05-09 17:32:25 +02:00
2006-01-14 19:41:48 +01:00
<xsl:variable name= "title" >
<xsl:choose >
<xsl:when test= "/page/@pagetitle" >
<xsl:value-of select= "/page/@pagetitle" />
</xsl:when>
<xsl:when test= "/page/@title" >
<xsl:value-of select= "/page/@title" />
</xsl:when>
<xsl:otherwise >
<xsl:comment > <xsl:text > missing title </xsl:text> </xsl:comment>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
2009-05-09 17:32:25 +02:00
<html lang= "de" xml:lang= "de" dir= "ltr" >
2006-04-28 23:57:52 +02:00
<xsl:call-template name= "htmlhead" >
2009-05-09 17:32:25 +02:00
<xsl:with-param name= "title" select= "$title" />
2011-09-16 00:34:46 +02:00
</xsl:call-template>
2006-01-06 18:59:33 +01:00
<body >
2015-09-19 01:48:24 +02:00
<nav data-stellar-ratio= "0" >
2015-04-05 02:46:33 +02:00
<ul >
<li >
2015-04-29 22:17:07 +02:00
<a href= "index.html" > Start</a>
2015-04-05 02:46:33 +02:00
</li>
<li >
2015-04-29 22:17:07 +02:00
<a href= "about.html" > Über</a>
2015-04-05 02:46:33 +02:00
</li>
2015-06-14 23:01:03 +02:00
<li >
2015-09-28 01:07:58 +02:00
<a href= "location.html" > Ort</a>
2015-06-14 23:01:03 +02:00
</li>
2015-04-05 02:46:33 +02:00
<li >
2015-09-28 01:07:58 +02:00
<a href= "help.html" > Helfen</a>
2015-04-05 02:46:33 +02:00
</li>
<li >
2015-04-29 22:17:07 +02:00
<a href= "fahrplan.html" > Fahrplan</a>
2015-04-05 02:46:33 +02:00
</li>
2015-09-25 01:05:04 +02:00
<li >
<a href= "mitschnitte.html" > Mitschnitte</a>
</li>
2015-04-29 22:17:07 +02:00
<!-- <li> -->
<!-- <a href="mitschnitte.html">Mitschnitte</a> -->
<!-- </li> -->
2015-04-05 02:46:33 +02:00
</ul>
2015-04-29 22:17:07 +02:00
</nav>
2015-06-23 02:22:19 +02:00
<div id= "head1" data-stellar-ratio= "0.125" > <xsl:text > </xsl:text> </div>
<div id= "head2" data-stellar-ratio= "0.20" > <xsl:text > </xsl:text> </div>
<div id= "head3" data-stellar-ratio= "0.75" > <xsl:text > </xsl:text> </div>
<!-- aside>
<ul >
<li > 2-tägiges Symposium zu Datenschutz und Privatsphäre</li>
<li > Technische Sammlungen Dresden, Eintritt frei</li>
<li > Sa 24. & So 25. Oktober 2015</li>
</ul>
</aside-->
2013-05-14 10:33:21 +02:00
<article >
2013-05-14 03:55:47 +02:00
<xsl:apply-templates />
2013-05-14 10:33:21 +02:00
</article>
2013-05-14 03:55:47 +02:00
<footer >
<ul id= "oldds" >
2015-03-21 03:15:45 +01:00
<li > <a href= "../2014/" > 2014</a> </li>
<li > <a href= "../2013/" > 2013</a> </li>
2013-05-14 03:55:47 +02:00
<li > <a href= "../2012/" > 2012</a> </li>
<li > <a href= "../2011/" > 2011</a> </li>
<li > <a href= "../2010/" > 2010</a> </li>
<li > <a href= "../2009/" > 2009</a> </li>
<li > <a href= "../2008/" > 2008</a> </li>
<li > <a href= "../2007/" > 2007</a> </li>
<li > <a href= "../2006/" > 2006</a> </li>
<li > <a href= "../2005/" > 2005</a> </li>
<li > <a href= "../2004/" > 2004</a> </li>
</ul>
<div >
2015-03-21 03:15:45 +01:00
<!-- a href="licenses.html">Lizenzen</a> | -->
2013-05-14 03:55:47 +02:00
<a href= "http://www.c3d2.de/" > Chaos Computer Club Dresden</a> |
<a href= "mailto:mail@c3d2.de" title= "eMail webmaster" > mail@c3d2.de</a>
</div>
</footer>
2015-06-23 02:22:19 +02:00
<script type= "application/javascript"
src="script/jquery-2.1.4.min.js">
<xsl:text > </xsl:text>
</script>
<script type= "application/javascript"
src="script/jquery.stellar.min.js">
<xsl:text > </xsl:text>
</script>
<script type= "application/javascript" >
$.stellar({
positionProperty: 'transform',
hideDistantElements: false,
responsive: true
});
</script>
2015-09-19 01:39:21 +02:00
<xsl:if test= "/page/@title = 'Ort'" >
<script type= "application/javascript"
src="script/wgs84util.js">
<xsl:text > </xsl:text>
</script>
<script type= "application/javascript"
src="script/pois.js">
<xsl:text > </xsl:text>
</script>
</xsl:if>
2006-04-22 00:40:03 +02:00
</body>
</html>
</xsl:template>
2013-08-26 01:15:54 +02:00
<!-- Parse HTML schedule generated by Frab[tm] -->
2006-05-08 02:58:41 +02:00
2013-08-26 01:15:54 +02:00
<xsl:template match= "include-frab-schedule" >
<xsl:variable name= "title" select= "@title" />
<xsl:for-each select= "document(@src)/day" >
2015-09-27 23:49:48 +02:00
<h3 class= "scheduletitle" >
2013-08-26 01:15:54 +02:00
<xsl:choose >
<xsl:when test= "$title" >
<xsl:value-of select= "$title" />
</xsl:when>
<xsl:otherwise >
<xsl:value-of select= "@title" />
</xsl:otherwise>
</xsl:choose>
2015-09-27 23:49:48 +02:00
</h3>
2006-05-08 02:58:41 +02:00
2010-11-09 23:13:51 +01:00
<table class= "schedule" >
2013-08-26 01:15:54 +02:00
<xsl:copy-of select= "table/thead" />
<xsl:copy-of select= "table/tbody" />
2009-10-03 00:25:42 +02:00
</table>
</xsl:for-each>
2006-01-06 18:59:33 +01:00
</xsl:template>
2006-04-22 00:40:03 +02:00
<xsl:template name= "htmlhead" >
<xsl:param name= "title" />
<head >
2010-11-09 22:25:17 +01:00
<meta charset= "utf-8" />
2011-10-31 17:48:53 +01:00
<meta http-equiv= "content-type" content= "text/html; charset=UTF-8" />
2015-03-21 03:15:45 +01:00
<meta name= "description" content= "Symposium Datenspuren - Crypto Is Not A Crime, 2015, Technische Sammlungen Dresden, veranstaltet vom Chaos Computer Club Dresden" />
2011-04-22 17:13:06 +02:00
<meta name= "keywords" content= "Symposium Datenspuren,c3d2,Chaos Computer Club,CCC,Dresden,Datenschutz,Privatsphäre,IPv6,Cloud,ePostbrief,de-Mail,Anonymität,informationelle Selbstbestimmung,Überwachung,Data Mining,ETSI,RFID,Mautsystem,Remailer,TCPA,TCG,Bundestrojaner,Vorratsdatenspeicherung,Biometrie" />
2015-10-24 11:50:57 +02:00
<meta name= "viewport" content= "width=device-width, initial-scale=1, user-scalable=no" />
2006-04-22 00:40:03 +02:00
<meta name= "robots" content= "index,follow" />
<meta name= "language" content= "German" />
2015-03-21 04:45:02 +01:00
<link rel= "stylesheet" type= "text/css" href= "style/style.css" />
2015-09-22 23:43:31 +02:00
<link rel= "shortcut icon" href= "images/favicon.ico" type= "image/x-icon" />
2008-03-25 20:53:29 +01:00
<link rel= "alternate" type= "application/rss+xml" title= "RSS 2.0" href= "news-rss.xml" />
<link rel= "alternate" type= "application/atom+xml" title= "Atom 1.0" href= "news-atom.xml" />
2006-04-22 00:40:03 +02:00
<title >
2015-03-21 03:15:45 +01:00
<xsl:text > Datenspuren 2015 — </xsl:text>
2006-04-22 00:40:03 +02:00
<xsl:value-of select= "$title" />
</title>
2015-03-21 03:15:45 +01:00
<!-- script type="application/javascript" src="script/jquery - 1.9.1.min.js" defer="defer">
2011-09-15 23:39:34 +02:00
<xsl:text > </xsl:text>
</script>
2011-10-23 00:10:51 +02:00
<script type= "application/javascript" src= "script/play-resources.js" defer= "defer" >
<xsl:text > </xsl:text>
2015-03-21 03:15:45 +01:00
</script-->
2006-04-22 00:40:03 +02:00
</head>
</xsl:template>
2010-06-28 18:58:21 +02:00
2008-03-25 20:53:29 +01:00
<xsl:template match= "news-list" >
<xsl:variable name= "prefix" select= "@prefix" />
<xsl:variable name= "details" select= "@details" />
<xsl:for-each select= "document('../../news.xml')/page/news/newsfile" >
<xsl:sort select= "date:seconds(document(concat('../../', .))/item/@date)" data-type= "number" order= "descending" />
<xsl:variable name= "newsfile" select= "." />
<xsl:for-each select= "document(concat('../../', $newsfile))/item" >
<xsl:if test= "((string-length($prefix) = 0) or starts-with($newsfile, concat('content/news/', $prefix))) and (($details != 'resources-only') or (count(resource) > 0))" >
<h3 class= "summary" >
2013-05-14 03:55:47 +02:00
<date >
2009-05-09 17:32:25 +02:00
<xsl:call-template name= "get-short-datestring" >
<xsl:with-param name= "date" select= "@date" />
</xsl:call-template>
2013-05-14 03:55:47 +02:00
</date>
2015-04-05 02:46:33 +02:00
<a href= "https://www.c3d2.de/{substring-before(substring-after($newsfile, 'content/'), '.xml')}.html" class= "url" >
<xsl:value-of select= "@title" />
</a>
2008-03-25 20:53:29 +01:00
</h3>
2011-09-16 00:34:46 +02:00
2009-07-24 10:46:10 +02:00
<!-- Diese Elemente entsprechen Block.class aus xsd/c3d2web.xsd -->
2011-09-17 02:29:55 +02:00
<!-- xsl:apply - templates select=".//*[name() = 'dl' or name() = 'p' or name() = 'ul' or name() = 'ol' or name() = 'pre']"/ -->
<xsl:apply-templates />
2008-03-25 20:53:29 +01:00
</xsl:if>
</xsl:for-each>
</xsl:for-each>
2006-04-22 00:40:03 +02:00
</xsl:template>
2011-09-16 00:34:46 +02:00
2011-09-17 02:29:55 +02:00
<xsl:template match= "item/image" >
<!-- Nix Bilder in den Datenspuren - News -->
</xsl:template>
2011-10-22 23:42:50 +02:00
<xsl:template match= "resource" >
<section class= "resource" >
2011-10-23 00:10:51 +02:00
<xsl:if test= "@preview" >
<xsl:attribute name= "data-preview" >
<xsl:value-of select= "@preview" />
</xsl:attribute>
</xsl:if>
2011-10-28 23:03:46 +02:00
<h4 >
2015-10-14 22:31:00 +02:00
<xsl:attribute name= "id" >
<xsl:call-template name= "string-to-lower" >
<xsl:with-param name= "string" select= "@title" />
<xsl:with-param name= "forspace" > -</xsl:with-param>
</xsl:call-template>
</xsl:attribute>
2011-10-28 23:03:46 +02:00
<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>
2011-10-22 23:42:50 +02:00
<xsl:if test= "@poster" >
2012-06-29 00:28:51 +02:00
<div class= "preview" >
<img src= "{@poster}" title= "{@title}" />
</div>
2011-10-22 23:42:50 +02:00
</xsl:if>
2012-06-29 00:28:51 +02:00
<ul class= "links" >
2011-10-22 23:42:50 +02:00
<li > <xsl:call-template name= "link-resource" /> </li>
<xsl:for-each select= "alternative" >
<li > <xsl:call-template name= "link-resource" /> </li>
</xsl:for-each>
2011-10-28 23:03:46 +02:00
<xsl:if test= "@feedback-link" >
<li class= "feedback" > <a href= "{@feedback-link}" > Feedback</a> </li>
</xsl:if>
2011-10-22 23:42:50 +02:00
</ul>
</section>
</xsl:template>
<xsl:template name= "link-resource" >
2011-10-23 00:10:51 +02:00
<a href= "{@url}" type= "{@type}" >
2011-10-29 03:36:22 +02:00
<xsl:call-template name= "mime-for-human-short" >
<xsl:with-param name= "mime" select= "@type" />
</xsl:call-template>
2011-10-22 23:42:50 +02:00
</a>
<span class= "size" >
<xsl:call-template name= "format-filesize" >
<xsl:with-param name= "value" select= "@size" />
</xsl:call-template>
</span>
</xsl:template>
2015-10-25 11:31:16 +01:00
<xsl:template match= "include-feeds" >
<xsl:variable name= "feeds" select= "." />
<xsl:for-each select= "feed[1]" >
<xsl:for-each select= "document(.)/rss/channel/item" >
<xsl:variable name= "identifier" select= "dc:identifier" />
2015-10-26 00:36:19 +01:00
<xsl:variable name= "slug"
select="substring-before(substring-after(description, 'event on media: //media.ccc.de/'), '.html')"/>
2015-11-16 02:35:51 +01:00
<xsl:variable name= "title" select= "substring-before(title, ' (ds2015)')" />
2015-10-25 11:31:16 +01:00
<xsl:variable name= "preview"
select="concat('https://static.media.ccc.de/media/events/datenspuren/2015/',
2015-11-16 02:35:51 +01:00
substring-before(substring-after(link ,'/DS2015-'), '-'),
2015-10-25 11:31:16 +01:00
'-sd_preview.jpg')"/>
2011-09-16 00:34:46 +02:00
2015-10-25 11:31:16 +01:00
<section class= "resource" >
2015-10-26 00:36:19 +01:00
<h4 >
<a href= "https://media.ccc.de/v/{$slug}" >
<xsl:value-of select= "$title" />
</a>
</h4>
2015-10-25 11:31:16 +01:00
<div class= "preview" >
2015-11-16 02:35:51 +01:00
<img src= "{$preview}" title= "{$title}" />
2015-10-25 11:31:16 +01:00
</div>
<ul class= "links" >
<xsl:for-each select= "$feeds/feed" >
<xsl:for-each select= "document(.)/rss/channel/item[dc:identifier = $identifier]/enclosure" >
<li >
<a href= "{@url}" type= "{@type}" >
<xsl:call-template name= "mime-for-human-short" >
<xsl:with-param name= "mime" select= "@type" />
</xsl:call-template>
</a>
</li>
</xsl:for-each>
</xsl:for-each>
<li >
<span class= "size" >
<xsl:value-of select= "itunes:duration" />
</span>
</li>
</ul>
</section>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>