summaryrefslogtreecommitdiff
path: root/gentoobrowse/xslt/popular.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse/xslt/popular.xslt')
-rw-r--r--gentoobrowse/xslt/popular.xslt23
1 files changed, 23 insertions, 0 deletions
diff --git a/gentoobrowse/xslt/popular.xslt b/gentoobrowse/xslt/popular.xslt
new file mode 100644
index 0000000..53b88ef
--- /dev/null
+++ b/gentoobrowse/xslt/popular.xslt
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:project2="http://project2.randomdan.homeip.net" exclude-result-prefixes="project2" >
+ <xsl:import href="base.xslt" />
+ <xsl:output encoding="utf-8" method="xml" media-type="text/html" indent="yes"
+ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
+ doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" />
+ <xsl:template name="head">
+ <title>Popular Package List - Gentoo Browse</title>
+ <meta name="description">
+ <xsl:attribute name="content">List of Gentoo Linux packages track by users</xsl:attribute>
+ </meta>
+ </xsl:template>
+ <xsl:template name="content">
+ <xsl:apply-templates select="/gentoo/packages" />
+ </xsl:template>
+ <xsl:template match="/gentoo/packages">
+ <h2>Popular Packages</h2>
+ <ul>
+ <xsl:apply-templates select="/gentoo/packages/package" />
+ </ul>
+ </xsl:template>
+</xsl:stylesheet>