## if you change anything, make shure you copy this between
##  derstandard.at.txt  and  derstandard.de.txt
##              ^^                       ^^

# for sub-feeds you need to use the .at instead of .de version
# choose your feed here:
# https://about.derstandard.at/newsletter/rss-feeds/

title: //div[@id='content-header']/h1
author: //div[@class='article-origins']
body: //article[@class='story-article'] | //div[@id='A']

strip_id_or_class: article-kicker
strip_id_or_class: article-title
strip_id_or_class: toolbar
strip: //nav
strip: //ul[@class='lookupLinksArtikel']

strip: //meta
strip: //div[@itemprop='publisher']
strip: //div[@id='content-header']
strip: //div[@id='pageTop']
strip: //div[@id='toolbar']
strip: //div[@id='articleTools']
strip: //div[@id='weiterLesen']
strip: //div[@id='communityCanvas']
strip: //div[@class='credits']
strip: //div[@id='feature-cover']
strip: //div[@id='feature-meta']
strip: //li[@class='empty']
strip: //ul[@class='lookup-links']
strip: //p[@class='article-pubdate']
strip: //aside[@data-type='supplemental']
strip: //div[@class='article-byline']
strip: //div[@class='article-meta']
strip: //footer[starts-with(text(), 'Foto:')]
strip: //div[@data-section-type='newsletter']
strip: //a[contains(@href, '/schicken-sie-uns-ihre-bilder')]/parent::p

find_string: 0 ? postingCount() : '' ">
replace_string:

http_header(Cookie): DSGVO_ZUSAGE_V1=true

# wallabagger only: enlarge embeded video
find_string: <iframe data-ratio="16:9"
replace_string: <iframe width="640" height="360" data-ratio="16:9"

prune: no
tidy: no

test_url: https://derstandard.de/rss
test_url: https://www.derstandard.de/story/3000000196781/comeback-der-kinderarbeit-in-den-usa-nach-schulschluss-gehts-ins-kuehlhaus
