From bacc8ecb70663a0b3a4a06f884eb45db0ece989e Mon Sep 17 00:00:00 2001 From: cweiske Date: Sat, 16 Jan 2010 10:10:48 +0000 Subject: 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 --- www/rss.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/rss.php') 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 { -- cgit v1.2.3-54-g00ecf