summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <fivefilters@fivefilters.org>2014-10-09 00:07:53 +0200
committerFiveFilters.org <fivefilters@fivefilters.org>2014-10-09 00:07:53 +0200
commit36fd30dd8e06e554db3a540ff5bbccd63d419a2b (patch)
tree54616ab181a9fa08c9b3ea52756cf9b747da58ef
parent60758b5fd418d75dcd281b6de6ccaf051b57dd34 (diff)
parentc775beb030a6bc01c268343721f04209bc3d5f25 (diff)
downloadftr-site-config-36fd30dd8e06e554db3a540ff5bbccd63d419a2b.tar.gz
ftr-site-config-36fd30dd8e06e554db3a540ff5bbccd63d419a2b.zip
Merge pull request #49 from Weishaupt/patch-1
New config file for echo-online.de
-rw-r--r--echo-online.de.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/echo-online.de.txt b/echo-online.de.txt
new file mode 100644
index 0000000..e53de23
--- /dev/null
+++ b/echo-online.de.txt
@@ -0,0 +1,24 @@
+# Author: Marvin Dickhaus <github@marvindickhaus.de>
+# 2014-10-08
+
+#Tidy just messes up the DOM
+tidy: no
+
+title: //h1
+body: //h2 | //div[@id='artikelteaser'] | //div[@id='artikeltext']
+
+#Strip
+strip_image_src: artikel_a_merken.gif
+strip: //div[@class='zusatzinfo']
+
+#Author: substring is used to remove the " Von " prefix.
+author: substring(//li[@class='artikelautor'], 5)
+
+date: //li[@class='artikeldatum']
+
+#The first two URLs will at some point no longer show
+#the full article. There is a time-based paywall
+#installed. Using the feed should present valid output
+test_url: http://www.echo-online.de/art1231,5503063
+test_url: http://www.echo-online.de/art1168,5502598
+test_url: http://www.echo-online.de/rss/darmstadt.xml