change RSS mime type to application/rss+xml
authorJeremy Laine <jeremy.laine@m4x.org>
Wed, 7 Jun 2006 07:26:07 +0000 (07:26 +0000)
committerJeremy Laine <jeremy.laine@m4x.org>
Wed, 7 Jun 2006 07:26:07 +0000 (07:26 +0000)
include/admin/rss.php
include/diogenes.barrel.inc.php

index f18a139..9a9187a 100644 (file)
@@ -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');
 ?>
index b348c7e..457f8ce 100644 (file)
@@ -316,7 +316,7 @@ class DiogenesBarrel extends DiogenesPage
       array_push($this->head, '<link rel="icon" href="'.$this->urlSite("", $bbarrel->options->favicon).'" type="image/png" />');
 
     // RSS feed
-    array_push($this->head, '<link rel="alternate" type="text/xml" title="'.stripslashes($bbarrel->options->title).'" href="'.$this->urlSite("admin", "rss").'" />');
+    array_push($this->head, '<link rel="alternate" type="application/rss+xml" title="'.stripslashes($bbarrel->options->title).'" href="'.$this->urlSite("admin", "rss").'" />');
   }