summaryrefslogtreecommitdiff
path: root/.config/pancake/unclutter/lobsters.xsl
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-12-13 17:32:02 +0300
committerdefanor <defanor@uberspace.net>2017-12-13 17:32:02 +0300
commitcd173146e98e9acb5c5cb4eea861019cc796932e (patch)
treebcf5293eec0a4cbda9c98af1438d64855b5c7645 /.config/pancake/unclutter/lobsters.xsl
parent90c144467eb67e1a020f51443613a3af133cff52 (diff)
Add pancake configuration
Diffstat (limited to '.config/pancake/unclutter/lobsters.xsl')
-rw-r--r--.config/pancake/unclutter/lobsters.xsl20
1 files changed, 20 insertions, 0 deletions
diff --git a/.config/pancake/unclutter/lobsters.xsl b/.config/pancake/unclutter/lobsters.xsl
new file mode 100644
index 0000000..69a85a1
--- /dev/null
+++ b/.config/pancake/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="xml" 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>