summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Andres <thomas@andres.in>2016-11-19 13:39:38 +0100
committerFiveFilters.org <fivefilters@fivefilters.org>2016-11-19 13:39:38 +0100
commitd508fe6c1713647e0a16104d87a049205622a6f8 (patch)
tree0b83eb56e86bf6261207004cb701b7c6339b6031
parente4e882a6fe84d10757b9b37635c38621cdc7db28 (diff)
downloadftr-site-config-d508fe6c1713647e0a16104d87a049205622a6f8.tar.gz
ftr-site-config-d508fe6c1713647e0a16104d87a049205622a6f8.zip
Initial support for ze.tt (#220)
* Initial support for ze.tt * Remove ads and links to other articles General improvements
-rw-r--r--ze.tt.txt16
1 files changed, 16 insertions, 0 deletions
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/