X-Git-Url: http://git.shiar.net/minimedit.git/blobdiff_plain/234326791b1e8177eb475bffc5956d7086cfac4e..HEAD:/nieuws/feed/index.php diff --git a/nieuws/feed/index.php b/nieuws/feed/index.php index fdb91d5..9fb71a9 100644 --- a/nieuws/feed/index.php +++ b/nieuws/feed/index.php @@ -1,6 +1,6 @@ '; $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST']; ?> @@ -11,9 +11,10 @@ $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTT / + /favicon.png Lijtweg handler) . "/2???"; $pages = array_reverse(glob("$root/*.html")); foreach ($pages as $i => $page) { @@ -28,11 +29,12 @@ foreach ($pages as $i => $page) { link ?> <?= $article->title ?> - dateiso ?> - dateiso ?> - body) ?> - + meta['article:published_time'] ?? $article->dateiso ?> + meta['article:modified_time'] ?? $article->dateiso ?> teaser) { + printf("\t\t%s\n", htmlspecialchars($article->teaser)); + } if ($article->thumb) { printf("\t\t".''."\n", 'image/jpeg', @@ -41,6 +43,8 @@ foreach ($pages as $i => $page) { ); } ?> + story) ?> +