File: 20min.ch.txt

package info (click to toggle)
feedreader 2.10.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,580 kB
  • sloc: ansic: 11,948; xml: 879; php: 177; python: 35; sh: 32; makefile: 28
file content (24 lines) | stat: -rw-r--r-- 732 bytes parent folder | download | duplicates (2)
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