From f735c69d6d0d13858588c3c35317ef294f2382d6 Mon Sep 17 00:00:00 2001 From: defanor Date: Wed, 13 Dec 2017 07:46:46 +0300 Subject: Add uncluttering/XSLT support --- README | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'README') diff --git a/README b/README index c5a13db..b292f73 100644 --- a/README +++ b/README @@ -92,6 +92,8 @@ simplified):: commands: gopher: torify curl "${URI}" ssh: scp "${URI_REGNAME}:${URI_PATH}" /dev/stdout + unclutter: + duckduckgo: ^https://duckduckgo\.com/lite/\?q= defaultCommand: ! 'curl --compressed -4 -L -w " -pancake- @@ -115,6 +117,40 @@ simplified):: paginate: true +Uncluttering +~~~~~~~~~~~~ + +XSLT can be used to extract useful data from HTML documents. In the +above sample configuration, ``duckduckgo`` is defined along with an +URI regex to determine when it should be applied, and the +corresponding XSLT file should be in +``~/.config/pancake/unclutter/duckduckgo.xsl``:: + + + + + + + + + +
+
+ + + +
+ +
+ +
+
+ + +
+
+ + Screenshots ----------- -- cgit v1.2.3