From 0d35fa4ab5e809bde52daffaf225f07390118303 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 14 Aug 2001 06:52:50 +0000 Subject: - Added some 'header("Content-Type: text/xml")' as suggested by Julian. --- modules/blog/blog.module | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/blog/blog.module') diff --git a/modules/blog/blog.module b/modules/blog/blog.module index f5504bccb..a4d1f302f 100644 --- a/modules/blog/blog.module +++ b/modules/blog/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 .= "\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 .= "\n"; + header("Content-Type: text/xml"); + print $output; } -- cgit v1.2.3