From: Mischa POSLAWSKY Date: Thu, 27 Jun 2019 22:28:30 +0000 (+0200) Subject: nieuws/feed: include article teaser as summary X-Git-Tag: v4.0~12 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/ea6a673181cd8b44ea04ef6578651fbd5c329060 nieuws/feed: include article teaser as summary --- diff --git a/nieuws/feed/index.php b/nieuws/feed/index.php index 72c2207..66855b1 100644 --- a/nieuws/feed/index.php +++ b/nieuws/feed/index.php @@ -30,9 +30,10 @@ foreach ($pages as $i => $page) { <?= $article->title ?> dateiso ?> dateiso ?> - story) ?> - teaser) { + printf("\t\t%s\n", htmlspecialchars($article->teaser)); + } if ($article->thumb) { printf("\t\t".''."\n", 'image/jpeg', @@ -41,6 +42,8 @@ foreach ($pages as $i => $page) { ); } ?> + story) ?> +