xsl/portal2items: serve mgoblin_media from c3d2.de vhost (for SSL)
This commit is contained in:
parent
4826759d8a
commit
68fed79908
|
@ -48,7 +48,10 @@
|
||||||
<footer><xsl:value-of select="." disable-output-escaping="yes"/></footer>
|
<footer><xsl:value-of select="." disable-output-escaping="yes"/></footer>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
<xsl:template match="atom:link[@rel='enclosure' and @href]" mode="gallery">
|
<xsl:template match="atom:link[@rel='enclosure' and @href]" mode="gallery">
|
||||||
<content-image><xsl:value-of select="@href"/></content-image>
|
<content-image>
|
||||||
|
<xsl:text>//c3d2.de/mgoblin_media/</xsl:text>
|
||||||
|
<xsl:value-of select="substring-after(@href, 'http://media.c3d2.de/mgoblin_media/')"/>
|
||||||
|
</content-image>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
<xsl:template match="atom:link[@rel='alternate' and @href]" mode="gallery">
|
<xsl:template match="atom:link[@rel='alternate' and @href]" mode="gallery">
|
||||||
<link><xsl:value-of select="@href"/></link>
|
<link><xsl:value-of select="@href"/></link>
|
||||||
|
|
Loading…
Reference in New Issue