xsl/portal2items: fix media.c3d2.de feed enclosure link mangling
This commit is contained in:
parent
6ff806d6d2
commit
73ab62caad
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue