From b9f018614edc65ccc581da1efb02acbd6f372a30 Mon Sep 17 00:00:00 2001 From: zinnober Date: Sat, 27 Sep 2014 13:33:10 +0200 Subject: Three new templates. --- thisiscolossal.com.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 thisiscolossal.com.txt (limited to 'thisiscolossal.com.txt') diff --git a/thisiscolossal.com.txt b/thisiscolossal.com.txt new file mode 100644 index 0000000..ab16ce1 --- /dev/null +++ b/thisiscolossal.com.txt @@ -0,0 +1,25 @@ +# Author: zinnober + +tidy: no +prune: no + +# Set author +author: //a[contains(@rel, 'author')] + +# Content is here +body: //article + +# Tidy up before article +strip: //header + +# Get rid of doubled images +strip: //img[contains(@class, '-hidden')] + +# Tidy up after article +strip_id_or_class: social-list +strip_id_or_class: meta-info +strip: //footer + +# Try it yourself +test_url: http://www.thisiscolossal.com/2014/09/chicago-in-the-fog-by-michael-salisbury/ +test_url: http://www.thisiscolossal.com/2014/09/bird-portraits-ruffling-with-personality-by-leila-jeffreys/ -- cgit v1.3.1