xsl/{atom,podcast,rss}: use http:// for baseurl

I'm getting certificate warnings all over the place. Let's get that sorted out some day.
This commit is contained in:
Astro 2012-05-07 03:06:07 +02:00
parent 9be6f6198e
commit 626d951a53
3 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@
encoding="utf-8" encoding="utf-8"
indent="yes"/> indent="yes"/>
<xsl:variable name="baseurl">https://www.c3d2.de/</xsl:variable> <xsl:variable name="baseurl">http://www.c3d2.de/</xsl:variable>
<xsl:template match="news"> <xsl:template match="news">
<feed xml:lang="de"> <feed xml:lang="de">
@ -26,8 +26,8 @@
<!-- Allgemeines --> <!-- Allgemeines -->
<title>www.c3d2.de Newsfeed</title> <title>www.c3d2.de Newsfeed</title>
<link rel="self" href="https://www.c3d2.de/news-atom.xml" /> <link rel="self" href="http://www.c3d2.de/news-atom.xml" />
<link rel="alternate" type="application/xml+xhtml" href="https://www.c3d2.de/" /> <link rel="alternate" type="application/xml+xhtml" href="http://www.c3d2.de/" />
<id>http://www.c3d2.de/</id> <id>http://www.c3d2.de/</id>
<subtitle>Neues aus dem Chaos Computer Club Dresden</subtitle> <subtitle>Neues aus dem Chaos Computer Club Dresden</subtitle>
<logo><xsl:value-of select="$baseurl"/>images/ck.png</logo> <logo><xsl:value-of select="$baseurl"/>images/ck.png</logo>

View File

@ -19,7 +19,7 @@
<xsl:include href="common.xsl" /> <xsl:include href="common.xsl" />
<xsl:variable name="baseurl">https://www.c3d2.de/</xsl:variable> <xsl:variable name="baseurl">http://www.c3d2.de/</xsl:variable>
<xsl:param name="selection" select="''"/> <xsl:param name="selection" select="''"/>
<xsl:template match="news"> <xsl:template match="news">

View File

@ -13,7 +13,7 @@
encoding="utf-8" encoding="utf-8"
indent="yes"/> indent="yes"/>
<xsl:variable name="baseurl">https://www.c3d2.de/</xsl:variable> <xsl:variable name="baseurl">http://www.c3d2.de/</xsl:variable>
<xsl:template match="news"> <xsl:template match="news">
<xsl:element name="rss"> <xsl:element name="rss">
@ -22,13 +22,13 @@
<channel> <channel>
<title>www.c3d2.de Newsfeed</title> <title>www.c3d2.de Newsfeed</title>
<link>https://www.c3d2.de/</link> <link>http://www.c3d2.de/</link>
<description>Neues aus dem Chaos Computer Club Dresden</description> <description>Neues aus dem Chaos Computer Club Dresden</description>
<language>de-de</language> <language>de-de</language>
<image> <image>
<title>Chaosknoten</title> <title>Chaosknoten</title>
<url><xsl:value-of select="$baseurl"/>images/ck.png</url> <url><xsl:value-of select="$baseurl"/>images/ck.png</url>
<link>https://www.c3d2.de/</link> <link>http://www.c3d2.de/</link>
</image> </image>
<!-- TODO: Insert "now": <pubDate><xsl:value-of select="news/item/@date"/></pubDate> --> <!-- TODO: Insert "now": <pubDate><xsl:value-of select="news/item/@date"/></pubDate> -->
<xsl:for-each select="newsfile"> <xsl:for-each select="newsfile">