xsl/atom,rss,podcast feeds: copy podlove chapters
This commit is contained in:
parent
34fb2423fc
commit
ae3990fda0
|
@ -88,6 +88,9 @@
|
||||||
href="{$resource_href}"
|
href="{$resource_href}"
|
||||||
type="{@type}"
|
type="{@type}"
|
||||||
length="{@size}" />
|
length="{@size}" />
|
||||||
|
|
||||||
|
<xsl:copy-of select="sc:chapters"
|
||||||
|
xmlns:sc="http://podlove.de/simple-chapters"/>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
|
|
||||||
<xsl:variable name="flattr_link">
|
<xsl:variable name="flattr_link">
|
||||||
|
|
|
@ -190,6 +190,8 @@
|
||||||
<xsl:with-param name="resource_url" select="$href"/>
|
<xsl:with-param name="resource_url" select="$href"/>
|
||||||
<xsl:with-param name="resource_size" select="@size"/>
|
<xsl:with-param name="resource_size" select="@size"/>
|
||||||
<xsl:with-param name="resource_type" select="@type"/>
|
<xsl:with-param name="resource_type" select="@type"/>
|
||||||
|
<xsl:with-param name="chapters" select="sc:chapters"
|
||||||
|
xmlns:sc="http://podlove.de/simple-chapters"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
@ -201,6 +203,7 @@
|
||||||
<xsl:param name="resource_url"/>
|
<xsl:param name="resource_url"/>
|
||||||
<xsl:param name="resource_size"/>
|
<xsl:param name="resource_size"/>
|
||||||
<xsl:param name="resource_type"/>
|
<xsl:param name="resource_type"/>
|
||||||
|
<xsl:param name="chapters"/>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<xsl:variable name="href">
|
<xsl:variable name="href">
|
||||||
|
@ -254,6 +257,8 @@
|
||||||
<xsl:if test="string-length($flattr_link) > 0">
|
<xsl:if test="string-length($flattr_link) > 0">
|
||||||
<atom:link rel="payment" href="{$flattr_link}" type="text/html"/>
|
<atom:link rel="payment" href="{$flattr_link}" type="text/html"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:copy-of select="$chapters"/>
|
||||||
</item>
|
</item>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,10 @@
|
||||||
<xsl:if test="string-length($flattr_link) > 0">
|
<xsl:if test="string-length($flattr_link) > 0">
|
||||||
<atom:link rel="payment" href="{$flattr_link}" type="text/html"/>
|
<atom:link rel="payment" href="{$flattr_link}" type="text/html"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:copy-of select="resource/sc:chapters"
|
||||||
|
xmlns:sc="http://podlove.de/simple-chapters"/>
|
||||||
|
|
||||||
</item>
|
</item>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue