From 02188b066540f2e461d551b398dc05913b51eaa3 Mon Sep 17 00:00:00 2001 From: Seb Sauvage Date: Tue, 27 Sep 2011 15:35:32 +0200 Subject: Version 0.0.20 beta: - Corrected: RSS feed is now served as application/rss+xml instead of application/xhtml+xml (which was causing problem in RSS Lounge) - Corrected: ATOM feed is now served as application/atom+xml instead of application/xhtml+xml --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 276deb84..e1da9bc0 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,5 @@ filterTags(trim($_GET['searchtags'])); else $linksToDisplay = $LINKSDB; - header('Content-Type: application/xhtml+xml; charset=utf-8'); + header('Content-Type: application/rss+xml; charset=utf-8'); $pageaddr=htmlspecialchars(serverUrl().$_SERVER["SCRIPT_NAME"]); echo ''; echo ''.htmlspecialchars($GLOBALS['title']).''.$pageaddr.''; @@ -606,7 +606,7 @@ function showATOM() elseif (!empty($_GET['searchtags'])) $linksToDisplay = $LINKSDB->filterTags(trim($_GET['searchtags'])); else $linksToDisplay = $LINKSDB; - header('Content-Type: application/xhtml+xml; charset=utf-8'); + header('Content-Type: application/atom+xml; charset=utf-8'); $pageaddr=htmlspecialchars(serverUrl().$_SERVER["SCRIPT_NAME"]); $latestDate = ''; $entries=''; -- cgit v1.2.3