wallabag/inc/3rdparty/site_config/standard/mainpost.de.txt
2014-10-27 06:46:13 +01:00

28 lines
783 B
Text
Executable file

title: substring-before(//title, '|')
body: //*[@id='content-left']
# Why is this not working here?
# body: //*[@id='content-left']/div[@class='content-container'][2]/div[@class='content-body']/div[@class='inner-container']/div[@class='detail']
#Header
strip_id_or_class: 'subHead'
strip_id_or_class: 'fl_right'
strip_id_or_class: 'infolink'
strip_id_or_class: 'content-head'
strip_id_or_class: 'tab'
strip_id_or_class: 'tab-active'
strip: //*[contains(@class,'trenner')]
# Headline
strip: //h1/*
strip_id_or_class: 'font16'
#Images
strip_id_or_class: 'leftimage'
strip_id_or_class: 'rightimage'
#Comments
strip: //table
strip: //p/following-sibling::*[0]
test_url: http://www.mainpost.de/regional/wuerzburg/Autobahnschuetze-Staatsanwalt-fordert-zwoelf-Jahre;art492151,8386332