From 5e9c38f1f4b5339c81f35609edef387db341b824 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sat, 21 Feb 2004 12:28:36 +0000 Subject: [PATCH] Feed improvements and suggestions from Mark Pilgrim. git-svn-id: http://svn.automattic.com/wordpress/trunk@901 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- index.php | 4 ++-- wp-atom.php | 2 +- wp-rdf.php | 2 +- wp-rss2.php | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/index.php b/index.php index 98fe321795..cfba1a2595 100644 --- a/index.php +++ b/index.php @@ -19,8 +19,8 @@ require('wp-blog-header.php'); - - + + diff --git a/wp-atom.php b/wp-atom.php index 60128da522..795acc94c4 100644 --- a/wp-atom.php +++ b/wp-atom.php @@ -36,7 +36,7 @@ if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_leng - + diff --git a/wp-rdf.php b/wp-rdf.php index d89fde7885..8b7d6eb3fd 100644 --- a/wp-rdf.php +++ b/wp-rdf.php @@ -5,7 +5,7 @@ if (! $feed) { require('wp-blog-header.php'); } -header('Content-type: text/xml', true); +header('Content-type: application/rdf+xml', true); /* This doesn't take into account edits // Get the time of the most recent article diff --git a/wp-rss2.php b/wp-rss2.php index 86f14d3343..ef2ac63590 100644 --- a/wp-rss2.php +++ b/wp-rss2.php @@ -5,7 +5,7 @@ if (! $feed) { require('wp-blog-header.php'); } -header('Content-type: text/xml', true); +header('Content-type: application/rss+xml', true); /* This doesn't take into account edits // Get the time of the most recent article