From 7d176b393c75945acf9b1aa1797001fdd36965cc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 3 Jul 2006 08:04:33 +0000 Subject: - Patch #71684 by fgm: corrected the header information of RSS feeds: text/xml -> application/rss+xml --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/node') diff --git a/modules/node/node.module b/modules/node/node.module index 9a24d9c8a..573c1c31b 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1480,7 +1480,7 @@ function node_feed($nodes = 0, $channel = array()) { $output .= format_rss_channel($channel['title'], $channel['link'], $channel['description'], $items, $channel['language']); $output .= "\n"; - drupal_set_header('Content-Type: text/xml; charset=utf-8'); + drupal_set_header('Content-Type: application/rss+xml; charset=utf-8'); print $output; } -- cgit v1.2.3