summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/aggregator.module2
-rw-r--r--modules/aggregator/aggregator.module2
-rw-r--r--modules/node.module2
-rw-r--r--modules/node/node.module2
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 02c7afc3e..3af1bd661 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -1202,7 +1202,7 @@ function aggregator_page_rss() {
$output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), url('aggregator' . $url, NULL, NULL, TRUE), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en');
$output .= "</rss>\n";
- drupal_set_header('Content-Type: text/xml; charset=utf-8');
+ drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');
print $output;
}
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 02c7afc3e..3af1bd661 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -1202,7 +1202,7 @@ function aggregator_page_rss() {
$output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), url('aggregator' . $url, NULL, NULL, TRUE), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en');
$output .= "</rss>\n";
- drupal_set_header('Content-Type: text/xml; charset=utf-8');
+ drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');
print $output;
}
diff --git a/modules/node.module b/modules/node.module
index 9a24d9c8a..573c1c31b 100644
--- a/modules/node.module
+++ b/modules/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 .= "</rss>\n";
- drupal_set_header('Content-Type: text/xml; charset=utf-8');
+ drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');
print $output;
}
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 .= "</rss>\n";
- drupal_set_header('Content-Type: text/xml; charset=utf-8');
+ drupal_set_header('Content-Type: application/rss+xml; charset=utf-8');
print $output;
}