add podcasting 2.0 xmlns podcast
This commit is contained in:
parent
d4e5212498
commit
b077a6e656
|
@ -1,7 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- Spezifikation:
|
||||
<!-- Spezifikationen:
|
||||
http://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"
|
||||
|
@ -10,6 +11,7 @@
|
|||
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:podcast="https://podcastindex.org/namespace/1.0"
|
||||
exclude-result-prefixes="xsl date">
|
||||
|
||||
<xsl:output method="xml"
|
||||
|
@ -24,6 +26,8 @@
|
|||
<xsl:param name="format"/>
|
||||
<xsl:param name="archivefeed"/>
|
||||
|
||||
<!--xsl:text disable-output-escaping="yes"><?xml-stylesheet type="text/css" href="https://c3d2.de/style/rss.css"?></xsl:text-->
|
||||
|
||||
<xsl:template match="news">
|
||||
<rss version="2.0">
|
||||
|
||||
|
@ -34,12 +38,13 @@
|
|||
<link><xsl:value-of select="$baseurl"/></link>
|
||||
<description>Pentaradio, Pentacast, Pentamusic</description>
|
||||
<language>de</language>
|
||||
<copyright>http://creativecommons.org/licenses/by-sa/2.0/de/</copyright>
|
||||
<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>
|
||||
<link><xsl:value-of select="$baseurl"/>radio.html</link>
|
||||
</image>
|
||||
|
||||
<itunes:subtitle>Die drei Podcasts vom CCC Dresden</itunes:subtitle>
|
||||
<itunes:summary>
|
||||
Enthält Podcasts von Pentaradio, Pentacast und Pentamusic
|
||||
|
@ -138,6 +143,44 @@
|
|||
<itunes:email>podcast@c3d2.de</itunes:email>
|
||||
</itunes:owner>
|
||||
<itunes:explicit>no</itunes:explicit>
|
||||
|
||||
<!--generator>C3D2 custom XSLT</generator-->
|
||||
<!--lastBuildDate>
|
||||
<xsl:call-template name="date-to-rfc822">
|
||||
<xsl:with-param name="date" select="$builddate"/>
|
||||
</xsl:call-template>
|
||||
</lastBuildDate-->
|
||||
<podcast:locked owner="mail@c3d2.de">no</podcast:locked>
|
||||
<podcast:funding url="https://c3d2.de/unterstuetzen.html">C3D2 Unterstützen!</podcast:funding>
|
||||
<podcast:funding url="c3d2.de/membership.html">Mitglied werden!</podcast:funding>
|
||||
<podcast:location geo="geo:51.08106,13.72867">Coloradio, Dresden, Germany</podcast:location>
|
||||
<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="bitcoin:BC1QANU4755ULAU2JJDQSJLC3YW2XDJAWJ8WMVF5LA?label=Spende%20f%c3%bcr%20GCHQ"/>
|
||||
<podcast:valueRecipient name="C3D2" type="p2sh" address="bitcoin:3AhYpTzozbxFSmL1NqdZqsFgZhKc95BsCP?label=Spende%20f%c3%bcr%20GCHQ"/>
|
||||
<podcast:valueRecipient name="C3D2" type="p2pkh" address="bitcoin:195jSW9hXHdhu5QEeHkhyAN6Kf2oFUkmyK?label=Spende%20f%c3%bcr%20GCHQ"/>
|
||||
<podcast:valueRecipient name="C3D2" type="bip47" address="PM8TJRmTRWxcrfqwbA1t3KYk555WecaJ7CZJzPoK11R1nE8LuTHebppUysAnqNTX4kLrUyHm7oNPbsjAZrLjmfLdStiNG34iDMNcXqY27j9w7uaFcCah"/>
|
||||
<podcast:valueRecipient name="C3D2" type="paynym" address="https://paynym.is/+lingeringmouse27c"/>
|
||||
</podcast:value>
|
||||
<podcast:value type="monero" method="default" suggested="0.000001">
|
||||
<podcast:valueRecipient name="C3D2" type="monero" address="monero:45c4E14LpNbeTdL8FSuBQA7M3wJ5nxGnYfnEzv3hwasfZUuKwP5zAaDCgJfD3s9kT4GP7y678gi6b1cGSVSgFpsTTm6fPtz?recipient_name=netzbiotop-dresden&tx_description=donation"/>
|
||||
</podcast:value>
|
||||
<podcast:value type="wire" method="sepa" suggested="0.000001">
|
||||
<podcast:valueRecipient name="C3D2" type="wire" address="bank://singlepaymentsepa?name=NETZBIOTOP%20DRESDEN%20E.V.&reason=Spende&iban=DE34850900004655221005&bic=GENODEF1DRS&amount="/>
|
||||
</podcast:value>
|
||||
<!--podcast:value type="lightning" method="keysend" suggested="0.00000005000">
|
||||
<podcast:valueRecipient
|
||||
name="[name of recipient(string)]"
|
||||
type="[address type(string)]"
|
||||
address="[the receiving address(string)]"
|
||||
customKey="[optional key to pass(mixed)]"
|
||||
customValue="[optional value to pass(mixed)]"
|
||||
split="[share count(int)]"
|
||||
fee=[true|false]
|
||||
/>
|
||||
</podcast:value-->
|
||||
|
||||
<xsl:if test="$archivefeed">
|
||||
<atom:link rel="prev-archive" href="{$archivefeed}"/>
|
||||
</xsl:if>
|
||||
|
@ -295,6 +338,16 @@
|
|||
<itunes:author>CCC Dresden</itunes:author>
|
||||
|
||||
<xsl:copy-of select="$chapters"/>
|
||||
|
||||
<!-- XMLNS podcast – https://podcastindex.org/ -->
|
||||
|
||||
<!--podcast:transcript url="concat('',$baseurl,'transcripts/',$resource_url,'.html')" type="text/html"/--><!-- better check for variable and include when not empty -->
|
||||
<!--podcast:season name="Egyptology: The 19th Century">1</podcast:season-->
|
||||
<!--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:value-->
|
||||
</item>
|
||||
</xsl:template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue