# author: HolgerAusB   version 2023-10-11
#
# no native feed, try:
# https://createfeed.fivefilters.org/extract.php?url=https%3A%2F%2Fwww.frmplus.de%2Faktuelles.html&item=div.layout_latest&item_title=h2&item_url=h2+a&item_desc=div.teaser&item_date=time&feed_title=FRM-Plus&max=5&order=document&guid=0

body: //div[@id='main']
date: //time/@datetime

# strip title and date from body
strip: //div[contains(@class, 'ce_text')]/h3
strip: //p[@class='info']

# transform image galery to single images
strip: //ol[@class='carousel-indicators']

find_string: <div class="bsc_spic" style="background: url('
replace_string: <img src='

replace_string(&nbsp;):

# general clean-up
strip: //p[@class='back']

prune: no

# tests
test_url: https://www.frmplus.de/aktuelles-reader/naechste-etappe-fuer-den-deutschlandtakt-spatenstich-fuer-zusaetzliche-gleise-und-neue-mainbruecke-im-knoten-frankfurt-stadion.html
test_url: https://www.frmplus.de/aktuelles-reader/homburger-damm-in-betrieb-genommen-zusaetzliches-gleis-zum-hauptbahnhof-fertiggestellt.html
