aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/handelsblatt.com.txt
blob: 7d067aa6d8144ce7c79a997f9be8bd0fba9021cf (plain) (blame)
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
26
27
28
29
30
31
#Single Page
single_page_link: //li[contains(@class,"hcf-print")]/a

# Title  hcf-headline
title: //span[@class='hcf-headline']

# Authors 
author: //div[@class="hcf-author"]/a/text()
author: substring-after(//div[@class='hcf-author'], 'von ')

# Date 
date: //div[@class='hcf-article-date']

# Body
body: //div[@class='article']

# General removements
strip: //div[contains(@class,"hcf-smartbox")]
strip: //div[contains(@class,"hcf-stopper")]
strip: //div[contains(@class,"hcf-img-controls")]
strip: //span[@class='hcf-location-mark']
strip: //span[@class='hcf-copyright']
strip: //div[@class='hcf-copyright']
strip: //div[@class='hcf-origin']




# Fix picture captions
wrap_in(small): //div[@class="hcf-caption"]
test_url: http://www.handelsblatt.com/meinung/gastbeitraege/gastkommentar-zum-emissionshandel-kurskorrekturen-fuehren-zum-kentern/8044326.html