diff options
-rw-r--r-- | gentoobrowse/emails/signup.xslt | 2 | ||||
-rw-r--r-- | gentoobrowse/xslt/atomebuilds.xslt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gentoobrowse/emails/signup.xslt b/gentoobrowse/emails/signup.xslt index 7ad5697..c932478 100644 --- a/gentoobrowse/emails/signup.xslt +++ b/gentoobrowse/emails/signup.xslt @@ -12,7 +12,7 @@ <body> <p>Welcome to Gentoo Browse!</p> <p> - Click <a><xsl:attribute name="href">http://<xsl:value-of select="/signup/project2:servername" />/confirm?verifyguid=<xsl:value-of select="/signup/verifyguids/verifyguid/guid" /> + Click <a><xsl:attribute name="href">http://<xsl:value-of select="/signup/project2:environment/var[@name='servername']/@value" />/confirm?verifyguid=<xsl:value-of select="/signup/verifyguids/verifyguid/guid" /> </xsl:attribute>this link</a> to confirm your account. </p> <p>Or alternatively, copy and paste this code into the confirmation page: <xsl:value-of select="/signup/verifyguids/verifyguid/guid" /></p> diff --git a/gentoobrowse/xslt/atomebuilds.xslt b/gentoobrowse/xslt/atomebuilds.xslt index 7e75329..c665670 100644 --- a/gentoobrowse/xslt/atomebuilds.xslt +++ b/gentoobrowse/xslt/atomebuilds.xslt @@ -23,8 +23,8 @@ <item> <title><xsl:value-of select="catname" />/<xsl:value-of select="pkgname" />-<xsl:value-of select="version" /></title> <description><xsl:value-of select="description" /></description> - <link>http://<xsl:value-of select="/gentoo/project2:servername" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" /></link> - <guid isPermaLink="false">http://<xsl:value-of select="/gentoo/project2:servername" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" />-<xsl:value-of select="version" /></guid> + <link>http://<xsl:value-of select="/gentoo/project2:environment/var[@name='servername']/@value" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" /></link> + <guid isPermaLink="false">http://<xsl:value-of select="/gentoo/project2:environment/var[@name='servername']/@value" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" />-<xsl:value-of select="version" /></guid> <pubDate><xsl:value-of select="translate(moddate,' ','T')" />Z</pubDate> <category>ebuild</category> </item> |