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

# 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']

# [wallabag] need this to find author
skip_json_ld: yes

strip_id_or_class: article-kicker
strip_id_or_class: article-title
strip_id_or_class: toolbar
strip_id_or_class: article-actions
strip_id_or_class: story-tool

strip: //nav
strip: //button

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: http://derstandard.at/rss
test_url: http://derstandard.at/2000033602592/40-Jahre-fuer-einen-der-nicht-gemeinsam-leben-wollte
test_url: http://derstandard.at/2000031826169/Die-Mittagspause-ist-den-meisten-heilig
test_url: http://derstandard.at/2000032076109/Fordern-wir-die-totale-Ueberwachung
test_url: https://www.derstandard.at/jetzt/livebericht/2000135273905/uno-generalsekretaer-guterres-trifft-in-kiew-und-am-donnerstag-selenskyj?responsive=false
