From 1f8560a20d5d1aa8886688bd7553b8a8fd704fff Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 3 Sep 2018 22:58:31 +0200 Subject: [PATCH] nieuws/feed: atom content type and link attributes --- nieuws/feed/index.php | 1 + nieuws/index.php | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/nieuws/feed/index.php b/nieuws/feed/index.php index 128aa5a..67687f3 100644 --- a/nieuws/feed/index.php +++ b/nieuws/feed/index.php @@ -1,5 +1,6 @@ '; $siteref = 'http://'.$_SERVER['HTTP_HOST']; ?> diff --git a/nieuws/index.php b/nieuws/index.php index b4191ce..4da5a8b 100644 --- a/nieuws/index.php +++ b/nieuws/index.php @@ -40,7 +40,10 @@ if ($year) { } $html = ob_get_clean(); -printf(''."\n", "/$Page/feed"); +printf(''."\n", + "/$Page/feed", + ' rel="alternate" title="Atom feed van nieuwsberichten" type="application/atom+xml"' +); print $html; print '
'."\n\n"; -- 2.30.0