From: cweiske Date: Sat, 16 Jan 2010 10:10:48 +0000 (+0000) Subject: part of bug #2928950: fix RSS content-type header X-Git-Tag: v0.97~112 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=bacc8ecb70663a0b3a4a06f884eb45db0ece989e;p=semanticscuttle.git part of bug #2928950: fix RSS content-type header git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@588 b3834d28-1941-0410-a4f8-b48e95affb8f --- diff --git a/www/rss.php b/www/rss.php index f3e4568..945c8e2 100644 --- a/www/rss.php +++ b/www/rss.php @@ -21,7 +21,8 @@ require_once '../src/SemanticScuttle/header.php'; $bookmarkservice = SemanticScuttle_Service_Factory::get('Bookmark'); $cacheservice = SemanticScuttle_Service_Factory::get('Cache'); -header('Content-Type: application/xml'); +header('Content-Type: application/rss+xml; charset=utf-8'); + if (isset($_SERVER['PATH_INFO']) && strlen($_SERVER['PATH_INFO']) >1) { list($url, $user, $cat) = explode('/', $_SERVER['PATH_INFO']); } else {