summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gentoobrowse/atomebuilds.xslt7
1 files changed, 4 insertions, 3 deletions
diff --git a/gentoobrowse/atomebuilds.xslt b/gentoobrowse/atomebuilds.xslt
index 67a9fae..6c509b8 100644
--- a/gentoobrowse/atomebuilds.xslt
+++ b/gentoobrowse/atomebuilds.xslt
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:project2="http://project2.randomdan.homeip.net/" exclude-result-prefixes="project2" >
<xsl:output encoding="utf-8" method="xml" media-type="text/xml" indent="yes"/>
<xsl:template match="/gentoo">
<rss version="2.0">
@@ -22,8 +23,8 @@
<item>
<title><xsl:value-of select="filename" /></title>
<description><xsl:value-of select="description" /></description>
- <link>http://gentoobrowse.randomdan.homeip.net/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" /></link>
- <guid isPermaLink="false">http://gentoobrowse.randomdan.homeip.net/package/<xsl:value-of select="filename" /></guid>
+ <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="filename" /></guid>
<pubDate><xsl:value-of select="moddate" /></pubDate><!-- Wed, 16 Jun 2010 14:44:42 GMT -->
<category>ebuild</category>
</item>