summaryrefslogtreecommitdiff
path: root/unclutter/lobsters.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'unclutter/lobsters.xsl')
-rw-r--r--unclutter/lobsters.xsl20
1 files changed, 20 insertions, 0 deletions
diff --git a/unclutter/lobsters.xsl b/unclutter/lobsters.xsl
new file mode 100644
index 0000000..92b58a7
--- /dev/null
+++ b/unclutter/lobsters.xsl
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+ <xsl:output method="html" indent="yes"/>
+ <xsl:template match="/">
+ <html>
+ <body>
+ Lobsters
+ <xsl:for-each select="//div[@class='details']">
+ <p>
+ <xsl:copy-of select="span[@class='link']/a" />
+ <br/>
+ <xsl:value-of select="div[@class='byline']/span[position()=1]" />
+ |
+ <xsl:copy-of select="div[@class='byline']/span[@class='comments_label']/a" />
+ </p>
+ </xsl:for-each>
+ </body>
+ </html>
+ </xsl:template>
+</xsl:stylesheet>