From ca743aa6fd44e2055111b4d46a9efdf110f7a531 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Sat, 21 Dec 2002 19:36:27 +0000 Subject: [PATCH] - fixing doctype in rss feeds. --- modules/node.module | 2 +- modules/node/node.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/node.module b/modules/node.module index a98521c5a5c..c4d515e6f1a 100644 --- a/modules/node.module +++ b/modules/node.module @@ -735,7 +735,7 @@ function node_feed($nodes = 0, $channel = array()) { } $output .= "\n"; - $output .= "\n"; + $output .= "]>\n"; // NOTE: é - for example - is the correct ISO-8859-1 translation of é (e acute) but apparently XML parsers don't (have to) understand it. To solve this problem, we use a DTD that defines commonly used entity such as é. if (!$channel["version"]) $channel["version"] = "0.91"; if (!$channel["title"]) $channel["title"] = variable_get("site_name", "drupal") ." - ". variable_get("site_slogan", ""); diff --git a/modules/node/node.module b/modules/node/node.module index a98521c5a5c..c4d515e6f1a 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -735,7 +735,7 @@ function node_feed($nodes = 0, $channel = array()) { } $output .= "\n"; - $output .= "\n"; + $output .= "]>\n"; // NOTE: é - for example - is the correct ISO-8859-1 translation of é (e acute) but apparently XML parsers don't (have to) understand it. To solve this problem, we use a DTD that defines commonly used entity such as é. if (!$channel["version"]) $channel["version"] = "0.91"; if (!$channel["title"]) $channel["title"] = variable_get("site_name", "drupal") ." - ". variable_get("site_slogan", "");