nieuws/feed: optional site icon
[minimedit.git] / nieuws / feed / index.php
index 00fa7ea3dcb585c642caee99ee2e85c7e9ae5230..a5a5eeef2137a6df022ec8a29328fe3b65c1f645 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 header('Content-Type: application/atom+xml; charset=utf-8');
+header('Access-Control-Allow-Origin: *');
 print '<?xml version="1.0" encoding="utf-8"?>';
 $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'];
 ?>
@@ -10,6 +11,7 @@ $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTT
        <id><?= $siteref ?>/</id>
        <link href="<?= $siteref ?>/" />
        <link href="<?= $siteref . $_SERVER['REQUEST_URI'] ?>" rel="self" />
+       <icon>/favicon.png</icon>
        <author><name>Lijtweg</name></author>
 <?php
 $root = preg_replace('{/feed$}', '', $Page) . "/2???";