2022-07-10 01:40:25 +02:00
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version= "1.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
xmlns:crypto="http://exslt.org/crypto"
exclude-result-prefixes="xsl date crypto">
<xsl:output method= "xml"
version="1.0"
encoding="utf-8"
indent="yes"/>
2022-08-06 21:05:23 +02:00
<xsl:include href= "../common.xsl" />
2022-07-10 01:40:25 +02:00
<xsl:template match= "/page" >
<xsl:text disable-output-escaping= "yes" > < !DOCTYPE html> </xsl:text>
<html >
<head >
2024-03-13 07:00:07 +01:00
<link rel= "stylesheet" type= "text/css" href= "design/style.css" />
<link rel= "stylesheet" media= "screen" href= "https://fontlibrary.org//face/xolonium" type= "text/css" />
2023-12-06 22:28:49 +01:00
<!-- link rel="icon" type="image/png" href="images/favicon.png" / -->
2022-07-10 01:40:25 +02:00
<meta charset= "utf-8" />
<meta http-equiv= "content-type" content= "text/html; charset=UTF-8" />
<title > <xsl:value-of select= "@pagetitle" /> </title>
<meta name= "robots" content= "index,follow" />
<meta name= "description" content= "Datenspuren: 3-tägiges Symposium des Chaos Computer Club Dresden" />
<meta name= "keywords" content= "c3d2 ccc dresden sachsen hacker" />
<meta name= "DC.Creator" content= "Fnordic walker" />
<meta name= "DC.Description" content= "Datenspuren: 3-tägiges Symposium des Chaos Computer Club Dresden" />
<meta name= "DC.Publisher" content= "Chaos Computer Club Dresden" />
2023-12-06 22:28:49 +01:00
<meta name= "DC.Date" content= "2024" />
2022-07-10 01:40:25 +02:00
<meta name= "DC.Type" content= "Text" />
<meta name= "DC.Format" content= "text/html" />
<meta name= "DC.Language" content= "de" />
<meta name= "DC.Coverage" content= "Dresden" />
<meta name= "DC.Title" content= "Datenspuren" />
<meta name= "generator" content= "C3D2-Web" />
<meta name= "language" content= "de" />
<meta name= "author" content= "Fnordic walker" />
2023-12-06 22:28:49 +01:00
<meta name= "date" content= "2024" />
2022-07-10 01:40:25 +02:00
</head>
<body lang= "de" >
<header > <h1 > <xsl:value-of select= "@title" /> </h1> </header>
2023-06-01 00:52:57 +02:00
<main >
<xsl:apply-templates />
</main>
2023-07-02 21:38:23 +02:00
<footer >
<h2 > Vorjahresveranstaltungen</h2>
<ul >
2023-12-06 22:28:49 +01:00
<li > <a href= "../2023/" > 2023</a> </li>
2023-07-02 21:38:23 +02:00
<li > <a href= "../2022/" > 2022</a> </li>
<li > <a href= "../2021/" > 2021</a> </li>
<li > <a href= "../2020/" > 2020</a> </li>
<li > <a href= "../2019/" > 2019</a> </li>
<li > <a href= "../2018/" > 2018</a> </li>
<li > <a href= "../2017/" > 2017</a> </li>
<li > <a href= "../2016/" > 2016</a> </li>
<li > <a href= "../2015/" > 2015</a> </li>
<li > <a href= "../2014/" > 2014</a> </li>
<li > <a href= "../2013/" > 2013</a> </li>
<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>
</footer>
2022-07-10 01:40:25 +02:00
</body>
</html>
</xsl:template>
2023-06-01 00:52:57 +02:00
2024-03-21 23:36:55 +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))" >
<h2 class= "summary" >
<date >
<xsl:call-template name= "get-short-datestring" >
<xsl:with-param name= "date" select= "@date" />
</xsl:call-template>
</date>
<a href= "https://www.c3d2.de/{substring-before(substring-after($newsfile, 'content/'), '.xml')}.html" class= "url" >
<xsl:value-of select= "@title" />
</a>
</h2>
<!-- Diese Elemente entsprechen Block.class aus xsd/c3d2web.xsd -->
<!-- xsl:apply - templates select=".//*[name() = 'dl' or name() = 'p' or name() = 'ul' or name() = 'ol' or name() = 'pre']"/ -->
<xsl:apply-templates select= "*[name() != 'image']" />
</xsl:if>
</xsl:for-each>
</xsl:for-each>
</xsl:template>
2022-07-10 01:40:25 +02:00
</xsl:stylesheet>