- Added a DOCTYPE.
authorDries Buytaert
Sun, 15 Dec 2002 21:08:47 +0000 (21:08 +0000)
committerDries Buytaert
Sun, 15 Dec 2002 21:08:47 +0000 (21:08 +0000)
modules/node.module

index 0027a1b..150c82e 100644 (file)
@@ -743,7 +743,7 @@ function node_feed($nodes = 0, $channel = array()) {
   }
 
   $output .= "<?xml version=\"1.0\" ". t("encoding=\"ISO-8859-1\""). "?>\n";
-  // $output .= "<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC \"-//W3C//ENTITIES Latin 1 for XHTML//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent\">\n";
+  $output .= "<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC \"-//W3C//ENTITIES Latin 1 for XHTML//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent\">\n";
   if (!$channel["version"]) $channel["version"] = "0.91";
   if (!$channel["title"]) $channel["title"] = variable_get("site_name", "drupal") ." - ". variable_get("site_slogan", "");
   if (!$channel["link"]) $channel["link"] = path_uri();