summaryrefslogtreecommitdiff
path: root/modules/blog.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog.module')
-rw-r--r--modules/blog.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/blog.module b/modules/blog.module
index f5504bccb..a4d1f302f 100644
--- a/modules/blog.module
+++ b/modules/blog.module
@@ -42,6 +42,8 @@ function blog_feed_user($name = 0, $date = 0) {
$output .= format_rss_channel("$name's blog", path_uri() ."module.php?mod=blog&op=view&name=". urlencode($name), "$name's blog", $items);
$output .= "</rss>\n";
+ header("Content-Type: text/xml");
+
print $output;
}
@@ -57,6 +59,8 @@ function blog_feed_last() {
$output .= format_rss_channel(variable_get("site_name", "drupal") .": user blogs", path_uri() ."module.php?mod=blog", "Recently updated blogs.", $items);
$output .= "</rss>\n";
+ header("Content-Type: text/xml");
+
print $output;
}