summaryrefslogtreecommitdiff
path: root/modules/aggregator.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-07-03 08:04:33 +0000
committerDries Buytaert <dries@buytaert.net>2006-07-03 08:04:33 +0000
commit7d176b393c75945acf9b1aa1797001fdd36965cc (patch)
tree7bfe5a82cbc6c99b013e6dc9ed14ae28a9cc667a /modules/aggregator.module
parentc50d7bcbc8f49f0bbd04b494a994c7094f1be30d (diff)
downloadbrdo-7d176b393c75945acf9b1aa1797001fdd36965cc.tar.gz
brdo-7d176b393c75945acf9b1aa1797001fdd36965cc.tar.bz2
- Patch #71684 by fgm: corrected the header information of RSS feeds: text/xml -> application/rss+xml
Diffstat (limited to 'modules/aggregator.module')
-rw-r--r--modules/aggregator.module2
1 files changed, 1 insertions, 1 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;
}