From 90a1a78b1e2f4d40e1d9b8e6f46aca129a9d7bcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 27 Oct 2014 06:46:13 +0100 Subject: updated site_config --- .../site_config/standard/echo-online.de.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 inc/3rdparty/site_config/standard/echo-online.de.txt (limited to 'inc/3rdparty/site_config/standard/echo-online.de.txt') diff --git a/inc/3rdparty/site_config/standard/echo-online.de.txt b/inc/3rdparty/site_config/standard/echo-online.de.txt new file mode 100755 index 00000000..e53de23e --- /dev/null +++ b/inc/3rdparty/site_config/standard/echo-online.de.txt @@ -0,0 +1,24 @@ +# Author: Marvin Dickhaus +# 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 -- cgit v1.2.3