X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/234326791b1e8177eb475bffc5956d7086cfac4e..b2a5d4bdd4531f4062eadd63b5f065d4588c7f20:/nieuws/feed/index.php?ds=sidebyside
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
= $siteref ?>/
+ /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) {
= $siteref . '/' . $article->link ?>
= $article->title ?>
- = $article->dateiso ?>
- = $article->dateiso ?>
- = htmlspecialchars($article->body) ?>
-
+ = $article->meta['article:published_time'] ?? $article->dateiso ?>
+ = $article->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) {
);
}
?>
+ = htmlspecialchars($article->story) ?>
+