xsl/portal2items: fix media.c3d2.de feed enclosure link mangling

This commit is contained in:
Astro 2016-10-15 02:11:17 +02:00
parent 6ff806d6d2
commit 73ab62caad
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@
</xsl:template>
<xsl:template match="atom:link[@rel='enclosure' and @href]" mode="gallery">
<content-image>
<xsl:text>//c3d2.de/mgoblin_media/</xsl:text>
<xsl:value-of select="substring-after(@href, 'http://media.c3d2.de/mgoblin_media/')"/>
<xsl:text>/mgoblin_media/</xsl:text>
<xsl:value-of select="substring-after(@href, '/mgoblin_media/')"/>
</content-image>
</xsl:template>
<xsl:template match="atom:link[@rel='alternate' and @href]" mode="gallery">