diff options
author | randomdan <randomdan@localhost> | 2010-07-27 23:40:45 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-07-27 23:40:45 +0000 |
commit | e51cb2218c0c1ea7ceb84214bc9d08fc490e2731 (patch) | |
tree | 046acc60d5828139cff8f3d8d13ac8597f055f90 | |
parent | Tweak newebuilds SQL to be more efficient (diff) | |
download | gentoobrowse-e51cb2218c0c1ea7ceb84214bc9d08fc490e2731.tar.bz2 gentoobrowse-e51cb2218c0c1ea7ceb84214bc9d08fc490e2731.tar.xz gentoobrowse-e51cb2218c0c1ea7ceb84214bc9d08fc490e2731.zip |
Use correct links in atom feed
-rw-r--r-- | gentoobrowse/atomebuilds.xslt | 7 |
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> |