summaryrefslogtreecommitdiff
path: root/gentoobrowse/emails/newpackageversions.xslt
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-09-01 23:10:29 +0000
committerrandomdan <randomdan@localhost>2010-09-01 23:10:29 +0000
commitc4e387d440ef6690026e6fc4f072fb47eef89879 (patch)
tree8d153abfc22458d0df60f91dd8c8d58e2c15c0ec /gentoobrowse/emails/newpackageversions.xslt
parentImport and display the ebuild slot and license (diff)
downloadgentoobrowse-c4e387d440ef6690026e6fc4f072fb47eef89879.tar.bz2
gentoobrowse-c4e387d440ef6690026e6fc4f072fb47eef89879.tar.xz
gentoobrowse-c4e387d440ef6690026e6fc4f072fb47eef89879.zip
email users when new ebuilds come along that they have tracked
Diffstat (limited to 'gentoobrowse/emails/newpackageversions.xslt')
-rw-r--r--gentoobrowse/emails/newpackageversions.xslt25
1 files changed, 25 insertions, 0 deletions
diff --git a/gentoobrowse/emails/newpackageversions.xslt b/gentoobrowse/emails/newpackageversions.xslt
new file mode 100644
index 0000000..abdd9e4
--- /dev/null
+++ b/gentoobrowse/emails/newpackageversions.xslt
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<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="html" media-type="text/html" indent="yes"
+ doctype-system="http://www.w3.org/TR/html4/loose.dtd"
+ doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" />
+ <xsl:template match="/newpackageversions">
+ <html>
+ <head>
+ <title>Welcome to Gentoo Browse</title>
+ </head>
+ <body>
+ <p>All new shiny ebuilds available!</p>
+ <ul>
+ <xsl:for-each select="newpackageversions/version">
+ <li>
+ <xsl:value-of select="cname"/>/<xsl:value-of select="pname"/>-<xsl:value-of select="version"/>
+ </li>
+ </xsl:for-each>
+ </ul>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>
+