From ea6a673181cd8b44ea04ef6578651fbd5c329060 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Fri, 28 Jun 2019 00:28:30 +0200 Subject: [PATCH] nieuws/feed: include article teaser as summary --- nieuws/feed/index.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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) ?> +