summaryrefslogtreecommitdiff
path: root/echo-online.de.txt
blob: f72862b71a1b5ae31259788f48ed88361b30f546 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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/lokales/darmstadt/index.rss