]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
part of bug #2928950: fix RSS content-type header
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sat, 16 Jan 2010 10:10:48 +0000 (10:10 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Sat, 16 Jan 2010 10:10:48 +0000 (10:10 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@588 b3834d28-1941-0410-a4f8-b48e95affb8f

www/rss.php

index f3e4568040c45dc4554a14e658b5cc815e65feff..945c8e2b9e398ddfb3e8b34bc815a10acad5a0be 100644 (file)
@@ -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 {