# works with Fivefilter's Fulltext-RSS (FTR) with lead image but without inline images (scripting)
# works with wallabag with lead image but without inline images (scripting)

# to get all images in wallabg, use browser-plugin 'Wallabagger'with
# activated 'Content fetching from the browser'

http_header(User-Agent): Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)

# //article for Wallabagger, //div for FTR and wallabag UI
body: //article
body: //div[@class='container']
author: //meta[@name="author"]/@content

# remove ads
strip: //shipment
strip_id_or_class: shipment

# remove header/side/footer things
strip_id_or_class: articleDetail-category-tag
strip_id_or_class: articleDetail-heading
strip_id_or_class: articleDetail-title
strip_id_or_class: articleDetail-articleAttribution
strip_id_or_class: assetUserBadge
strip: //h1[@itemprop='headline']
strip: //h4[@itemprop='author']
strip: //img[contains(@src, 'logo/merkurist-de.png')]

# remove common fringe:
strip: //button
strip_id_or_class: ng-hide

prune: no
tidy: no

test_url: https://merkurist.de/mainz/hauptbahnhof-muensterplatz-strassenbahn-entgleist-verspaetungen-im-mainzer-oepnv_NaM
test_url: https://merkurist.de/mainz/rheinhessen-ausgezeichnet-diese-praemierten-weinfeste-stehen-jetzt-in-rheinhessen-bevor_alM
test_url: https://merkurist.de/mainz/serie-diese-feste-gab-es-mal-in-mainz_m6G
