From: Jeremy Laine Date: Wed, 7 Jun 2006 07:26:07 +0000 (+0000) Subject: change RSS mime type to application/rss+xml X-Git-Url: http://git.polytechnique.org/?p=diogenes.git;a=commitdiff_plain;h=4ae77f9e9185e6fb547d32281bb2aef6f299841e change RSS mime type to application/rss+xml --- diff --git a/include/admin/rss.php b/include/admin/rss.php index f18a139..9a9187a 100644 --- a/include/admin/rss.php +++ b/include/admin/rss.php @@ -23,6 +23,6 @@ foreach($event_arr as $event) $page->append('items', $item); } } -header("Content-Type: text/xml"); +header("Content-Type: application/rss+xml"); $page->display('', 'admin-rss.tpl'); ?> diff --git a/include/diogenes.barrel.inc.php b/include/diogenes.barrel.inc.php index b348c7e..457f8ce 100644 --- a/include/diogenes.barrel.inc.php +++ b/include/diogenes.barrel.inc.php @@ -316,7 +316,7 @@ class DiogenesBarrel extends DiogenesPage array_push($this->head, 'options->favicon).'" type="image/png" />'); // RSS feed - array_push($this->head, ''); + array_push($this->head, ''); }