diff options
author | randomdan <randomdan@localhost> | 2013-08-19 00:17:30 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2013-08-19 00:17:30 +0000 |
commit | 4d8b5c35a08df2b1caa468a5e901b436272e5588 (patch) | |
tree | 56766f8bdd370615a51fddbd0b10e0cf0e13537e /gentoobrowse/xslt | |
parent | Use CXX from the environment (diff) | |
download | gentoobrowse-4d8b5c35a08df2b1caa468a5e901b436272e5588.tar.bz2 gentoobrowse-4d8b5c35a08df2b1caa468a5e901b436272e5588.tar.xz gentoobrowse-4d8b5c35a08df2b1caa468a5e901b436272e5588.zip |
Allow specifying a custom date format in an XML presenter declaration, used to correct the date format used in GB RSS feeds
Diffstat (limited to 'gentoobrowse/xslt')
-rw-r--r-- | gentoobrowse/xslt/atomebuilds.xslt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gentoobrowse/xslt/atomebuilds.xslt b/gentoobrowse/xslt/atomebuilds.xslt index b4c3595..708c38e 100644 --- a/gentoobrowse/xslt/atomebuilds.xslt +++ b/gentoobrowse/xslt/atomebuilds.xslt @@ -13,7 +13,9 @@ <link>http://gentoobrowse.randomdan.homeip.net/</link> <description>Unofficial Gentoo package browser</description> <language>en-gb</language> - <lastBuildDate>Wed, 16 Jun 2010 14:52:43 GMT</lastBuildDate> + <lastBuildDate> + <xsl:value-of select="/gentoo/newebuilds/lastBuildDate/@custom" /> + </lastBuildDate> <copyright>Copyright: (C) Gentoo Foundation, Inc.</copyright> <ttl>15</ttl> <xsl:apply-templates select="/gentoo/newebuilds/ebuild" /> @@ -25,7 +27,7 @@ <description><xsl:value-of select="description" /></description> <link>http://<xsl:value-of select="/gentoo/project2:environment/servername" />/package/<xsl:value-of select="catname" />/<xsl:value-of select="pkgname" /></link> <guid isPermaLink="false">http://<xsl:value-of select="/gentoo/project2:environment/servername" />/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> + <pubDate><xsl:value-of select="moddate/@custom" /></pubDate> <category>ebuild</category> </item> </xsl:template> |