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
This commit is contained in:
parent
c96ef230b1
commit
bacc8ecb70
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ require_once '../src/SemanticScuttle/header.php';
|
||||||
$bookmarkservice = SemanticScuttle_Service_Factory::get('Bookmark');
|
$bookmarkservice = SemanticScuttle_Service_Factory::get('Bookmark');
|
||||||
$cacheservice = SemanticScuttle_Service_Factory::get('Cache');
|
$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) {
|
if (isset($_SERVER['PATH_INFO']) && strlen($_SERVER['PATH_INFO']) >1) {
|
||||||
list($url, $user, $cat) = explode('/', $_SERVER['PATH_INFO']);
|
list($url, $user, $cat) = explode('/', $_SERVER['PATH_INFO']);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue