From d508fe6c1713647e0a16104d87a049205622a6f8 Mon Sep 17 00:00:00 2001 From: Thomas Andres Date: Sat, 19 Nov 2016 13:39:38 +0100 Subject: Initial support for ze.tt (#220) * Initial support for ze.tt * Remove ads and links to other articles General improvements --- ze.tt.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ze.tt.txt diff --git a/ze.tt.txt b/ze.tt.txt new file mode 100644 index 0000000..41b7064 --- /dev/null +++ b/ze.tt.txt @@ -0,0 +1,16 @@ +tidy: yes +prune: yes +autodetect_on_failure: no + +#Remove ads +strip: //div[contains(@class, 'ph-ad')] +strip: //p//a[@target='_blank']//em + +title: //h1[contains(@class, 'ph-article-title')] +date: //time[contains(@class, 'ph-article-date')] +author: //div[contains(@class, 'ph-article-authors-wrapper')] +body: //div[contains(@class, 'ph-article-text-lead')] | //div[contains(@class, 'ph-article-text-body')] | //div[contains(@class, 'ph-article-image-wrapper')] + +test-url: http://ze.tt/fotograf-portraetiert-menschen-nach-12-und-3-glaesern-wein/ +test-url: http://ze.tt/fotoprojekt-menschen-in-mosambik-zeigen-selbst-wie-sie-der-duerre-trotzen/ +test-url: http://ze.tt/was-deine-tattoos-ueber-dich-aussagen/ -- cgit v1.3.1