From 9fdf7824f6bb053b23c1b0d303424820afb448a8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 23 Aug 2007 10:37:39 +0100 Subject: add experimental support for simplepie (once again) --- backend.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index 4b749f9a9..0e4541e74 100644 --- a/backend.php +++ b/backend.php @@ -64,8 +64,12 @@ $op == "digestSend" || $op == "viewfeed" || $op == "publish" || $op == "globalUpdateFeeds") && !$_REQUEST["noxml"]) { header("Content-Type: application/xml; charset=utf-8"); - } else { - header("Content-Type: text/html; charset=utf-8"); + } else { + if (!$_REQUEST["noxml"]) { + header("Content-Type: text/html; charset=utf-8"); + } else { + header("Content-Type: text/plain; charset=utf-8"); + } } if (!$op) { -- cgit v1.2.3-54-g00ecf