aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/welt.de.txt
blob: 42e65e973d7ad3bf6fe524a0866ef39e6b8b49e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# set body
tidy: no
body: //div[contains(@class, 'articleContent')]

# remove clutter
strip: //div[@class='advertising']
strip: //div[@class='themenalarm']
strip: //div[contains(@class, 'inTextTeaser')]

# remove captions
strip: //span[@class='copyRight']

# remove photo galleries and extras
strip: //div[contains(@class, 'textGallery')]
strip: //div[contains(@class, 'videoGallery')]
strip: //div[contains(@class, 'imageGallery')]
strip: //div[contains(@class, 'openContent')]

# remove comments
strip: //div[@id = 'writeComment']

test_url: http://www.welt.de/vermischtes/weltgeschehen/article11050589/27-Bergleute-in-neuseelaendischer-Mine-vermisst.html