diff options
Diffstat (limited to 'gentoobrowse/emails/newpackageversions.xslt')
-rw-r--r-- | gentoobrowse/emails/newpackageversions.xslt | 25 |
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> + |