aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/site_config/standard/20min.ch.txt
blob: cd8e3fc02cd44b8d3055ffe58bddf7db2249b7c8 (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
# Author: cirnod@gmail.com

tidy: no
prune: no

title: //h1
date: /html/body/div[3]/div[1]/div[6]/div/div[1]/div[2]/div[1]/div/p
body: //div[@class='published clearfix'] | //div[@class='story_titles']/h3 | //div[@class='story_text']

# General Cleanup
strip_id_or_class: info_panel 
strip_id_or_class: info_poll 
strip_id_or_class: teaser 
strip_id_or_class: panelbox
strip_id_or_class: polls
strip_id_or_class: warning 
strip_id_or_class: vplaceholder

# visual removal only -> complete removal doesn't work
replace_string(Print</a>): </a>

# Try yourself
test_url: http://www.20min.ch/wissen/news/story/31588952
test_url: http://www.20min.ch/digital/dossier/apple/story/So-einfach-laesst-sich-das-iPhone-6-Plus-verbiegen-24651169