fix: protocols

This commit is contained in:
vv01f 2021-04-10 01:30:41 +02:00
parent 3337059e85
commit b77216d5a7
Signed by untrusted user who does not match committer: vv01f
GPG Key ID: 02625A16AC1D1FF6
1 changed files with 18 additions and 24 deletions

View File

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Spezifikationen:
http://www.apple.com/itunes/store/podcaststechspecs.html
https://www.apple.com/itunes/store/podcaststechspecs.html
XMLNS podcast: https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md
-->
<xsl:stylesheet version="1.0"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:itunes="https://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:xsl="https://www.w3.org/1999/XSL/Transform"
xmlns:date="http://exslt.org/dates-and-times"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:content="https://purl.org/rss/1.0/modules/content/"
xmlns:atom="https://www.w3.org/2005/Atom"
xmlns:podcast="https://podcastindex.org/namespace/1.0"
exclude-result-prefixes="xsl date">
@ -21,7 +21,7 @@
<xsl:include href="common.xsl" />
<xsl:variable name="baseurl">http://www.c3d2.de/</xsl:variable>
<xsl:variable name="baseurl">https://www.c3d2.de/</xsl:variable>
<xsl:param name="selection" select="''"/>
<xsl:param name="format"/>
<xsl:param name="archivefeed"/>
@ -37,8 +37,6 @@
<title>Penta*</title>
<link><xsl:value-of select="$baseurl"/></link>
<description>Pentaradio, Pentacast, Pentamusic</description>
<language>de</language>
<copyright>https://creativecommons.org/licenses/by-sa/2.0/de/</copyright>
<image>
<title>Pentaradio</title>
<url><xsl:value-of select="$baseurl"/>images/pentaradio-artwork.png</url>
@ -59,8 +57,6 @@
<title>Pentaradio</title>
<link><xsl:value-of select="$baseurl"/>radio.html</link>
<description>C3D2 Pentaradio</description>
<language>de</language>
<copyright>http://creativecommons.org/licenses/by-sa/2.0/de/</copyright>
<image>
<title>Pentaradio</title>
<url><xsl:value-of select="$baseurl"/>images/pentaradio-artwork.png</url>
@ -80,8 +76,6 @@
<title>Pentacast</title>
<link><xsl:value-of select="$baseurl"/>podcast.html</link>
<description>C3D2 Pentacast</description>
<language>de</language>
<copyright>http://creativecommons.org/licenses/by-sa/2.0/de/</copyright>
<image>
<title>Pentacast</title>
<url><xsl:value-of select="$baseurl"/>images/pentacast-artwork.png</url>
@ -100,8 +94,6 @@
<title>Pentamusic</title>
<link><xsl:value-of select="$baseurl"/>pentamusic.html</link>
<description>C3D2 Pentamusic</description>
<language>de</language>
<copyright>http://creativecommons.org/licenses/by-sa/2.0/de/</copyright>
<image>
<title>Pentamusic</title>
<url><xsl:value-of select="$baseurl"/>images/pentamusic-quadratic.png</url>
@ -121,8 +113,6 @@
<title>C3D2 Podcast</title>
<link><xsl:value-of select="$baseurl"/></link>
<description>C3D2 Podcast</description>
<language>de</language>
<copyright>http://creativecommons.org/licenses/by-sa/2.0/de/</copyright>
<image>
<title>C3D2</title>
<url><xsl:value-of select="$baseurl"/>images/ck.png</url>
@ -137,6 +127,8 @@
<itunes:category text="Technology"/>
</xsl:otherwise>
</xsl:choose>
<language>de</language>
<copyright>https://creativecommons.org/licenses/by-sa/2.0/de/</copyright>
<itunes:author>Chaos Computer Club Dresden</itunes:author>
<itunes:owner>
<itunes:name>C3D2</itunes:name>
@ -157,10 +149,12 @@
<podcast:license url="https://creativecommons.org/licenses/by-sa/2.0/de/">CC BY-SA 2.0 DE</podcast:license>
<!-- experimental part -->
<podcast:value type="bitcoin" method="default" suggested="0.00000001">
<podcast:valueRecipient name="C3D2" type="bech32" address="BC1QANU4755ULAU2JJDQSJLC3YW2XDJAWJ8WMVF5LA" fee="true"/>
<podcast:valueRecipient name="C3D2" type="p2sh" address="3AhYpTzozbxFSmL1NqdZqsFgZhKc95BsCP" fee="true"/>
<podcast:valueRecipient name="C3D2" type="p2pkh" address="195jSW9hXHdhu5QEeHkhyAN6Kf2oFUkmyK" fee="true"/>
<podcast:valueRecipient name="C3D2" type="bip47" address="PM8TJRmTRWxcrfqwbA1t3KYk555WecaJ7CZJzPoK11R1nE8LuTHebppUysAnqNTX4kLrUyHm7oNPbsjAZrLjmfLdStiNG34iDMNcXqY27j9w7uaFcCah" fee="true"/>
<podcast:valueRecipient name="C3D2" type="bech32" address="bitcoin:BC1QANU4755ULAU2JJDQSJLC3YW2XDJAWJ8WMVF5LA" fee="true"/>
<podcast:valueRecipient name="C3D2" type="p2sh" address="bitcoin:3AhYpTzozbxFSmL1NqdZqsFgZhKc95BsCP" fee="true"/>
<podcast:valueRecipient name="C3D2" type="p2pkh" address="bitcoin:195jSW9hXHdhu5QEeHkhyAN6Kf2oFUkmyK" fee="true"/>
</podcast:value>
<podcast:value type="bitcoin" method="bip47" suggested="0.00000001">
<podcast:valueRecipient name="C3D2" type="bip47" address="bitcoin:PM8TJRmTRWxcrfqwbA1t3KYk555WecaJ7CZJzPoK11R1nE8LuTHebppUysAnqNTX4kLrUyHm7oNPbsjAZrLjmfLdStiNG34iDMNcXqY27j9w7uaFcCah" fee="true"/>
<podcast:valueRecipient name="C3D2" type="paynym" address="https://paynym.is/+lingeringmouse27c" fee="true"/>
</podcast:value>
<podcast:value type="monero" method="default" suggested="0.000001">
@ -279,7 +273,7 @@
<xsl:with-param name="resource_size" select="@size"/>
<xsl:with-param name="resource_type" select="@type"/>
<xsl:with-param name="chapters" select="sc:chapters"
xmlns:sc="http://podlove.de/simple-chapters"/>
xmlns:sc="https://podlove.de/simple-chapters"/>
</xsl:call-template>
</xsl:template>
@ -303,7 +297,7 @@
<title><xsl:value-of select="$item_title"/></title>
<description>
<xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
<div xmlns="http://www.w3.org/1999/xhtml">
<div xmlns="https://www.w3.org/1999/xhtml">
<xsl:apply-templates select="document($newsfile)/item/*[name() != 'resource']"/>
</div>
<xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
@ -326,7 +320,7 @@
<content:encoded>
<xsl:text disable-output-escaping="yes">&lt;![CDATA[</xsl:text>
<div xmlns="http://www.w3.org/1999/xhtml">
<div xmlns="https://www.w3.org/1999/xhtml">
<xsl:apply-templates select="document($newsfile)/item/*[name() != 'resource']"/>
</div>
<xsl:text disable-output-escaping="yes">]]&gt;</xsl:text>
@ -346,7 +340,7 @@
<!--podcast:episode display="Ch.3">204</podcast:episode-->
<!--podcast:chapters url="https://example.com/episode1/chapters.json" type="application/json+chapters" /-->
<!--podcast:soundbite startTime="73.0" duration="60.0">Song</podcast:soundbite-->
<!--podcast:person href="https://example.com/johnsmith/blog" img="http://example.com/images/johnsmith.jpg">John Smith</podcast:person-->
<!--podcast:person href="https://example.com/johnsmith/blog" img="https://example.com/images/johnsmith.jpg">John Smith</podcast:person-->
<!--podcast:value-->
</item>
</xsl:template>