From: Mischa POSLAWSKY Date: Mon, 3 Sep 2018 20:58:31 +0000 (+0200) Subject: nieuws/feed: atom content type and link attributes X-Git-Tag: v3.7~8 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/1f8560a20d5d1aa8886688bd7553b8a8fd704fff nieuws/feed: atom content type and link attributes --- 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";