aboutsummaryrefslogtreecommitdiff
path: root/www/rss.php
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-01-16 10:10:48 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-01-16 10:10:48 +0000
commitbacc8ecb70663a0b3a4a06f884eb45db0ece989e (patch)
treeaddf509e85c5cdf9553a9cc1d7ae69119d5a6e58 /www/rss.php
parentc96ef230b191ff93a5c39c3046b7f39274ac92b2 (diff)
downloadsemanticscuttle-bacc8ecb70663a0b3a4a06f884eb45db0ece989e.tar.gz
semanticscuttle-bacc8ecb70663a0b3a4a06f884eb45db0ece989e.tar.bz2
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
Diffstat (limited to 'www/rss.php')
-rw-r--r--www/rss.php3
1 files changed, 2 insertions, 1 deletions
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 {