2022-01-21 00:42:44 +01:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<xsl:transform version="1.0"
|
2022-01-30 00:21:07 +01:00
|
|
|
xmlns:show="https://radiomanifest.degenerazione.xyz/v0.2/shows/"
|
2022-01-21 00:42:44 +01:00
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
2022-01-20 22:24:33 +01:00
|
|
|
|
|
|
|
<xsl:template match="/">
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Shows list</title>
|
|
|
|
<style type="text/css">
|
|
|
|
table, th, td { border: 1px solid black; border-collapse: collapse; }
|
|
|
|
th, td { padding: 0.3em; }
|
|
|
|
thead { background-color: #ccc; }
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<table>
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Name</th>
|
2022-01-21 00:42:44 +01:00
|
|
|
<th>Description</th>
|
2022-01-20 22:24:33 +01:00
|
|
|
<th>Website</th>
|
|
|
|
<th>Feed</th>
|
|
|
|
<th>Schedule</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2022-01-21 00:42:44 +01:00
|
|
|
<xsl:for-each select="//bookmark/info/metadata">
|
2022-01-20 22:24:33 +01:00
|
|
|
<tr>
|
2022-01-21 00:42:44 +01:00
|
|
|
<xsl:variable name="website" select="show:website"/>
|
|
|
|
<xsl:variable name="feed" select="show:feed"/>
|
|
|
|
<xsl:variable name="description" select="show:feed"/>
|
|
|
|
<xsl:variable name="schedule" select="show:schedule"/>
|
|
|
|
<td><xsl:value-of select="show:name" /></td>
|
|
|
|
<td><xsl:value-of select="show:description" /></td>
|
2022-01-21 01:14:08 +01:00
|
|
|
<td><a href="{$website}">Website</a></td>
|
2022-01-21 00:42:44 +01:00
|
|
|
<td><a href="{$feed}">Feed</a></td>
|
|
|
|
<td><a href="{$schedule}">Schedule</a></td>
|
2022-01-20 22:24:33 +01:00
|
|
|
</tr>
|
|
|
|
</xsl:for-each>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
</xsl:template>
|
|
|
|
|
|
|
|
</xsl:transform>
|