diff options
-rw-r--r-- | modules/blog.module | 3 | ||||
-rw-r--r-- | modules/blog/blog.module | 3 | ||||
-rw-r--r-- | modules/node.module | 2 | ||||
-rw-r--r-- | modules/node/node.module | 2 |
4 files changed, 4 insertions, 6 deletions
diff --git a/modules/blog.module b/modules/blog.module index 2bf42e3f3..f8cdb7922 100644 --- a/modules/blog.module +++ b/modules/blog.module @@ -107,8 +107,7 @@ function blog_feed_user($uid = 0, $date = 0) { } $output .= "<?xml version=\"1.0\" 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 .= "<?xml version=\"1.0\" 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 .= "<rss version=\"0.91\">\n"; $output .= format_rss_channel("$account->name's blog", path_uri() ."module.php?mod=blog&op=view&id=$account->uid", "$account->name's blog", $items); $output .= "</rss>\n"; diff --git a/modules/blog/blog.module b/modules/blog/blog.module index 2bf42e3f3..f8cdb7922 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -107,8 +107,7 @@ function blog_feed_user($uid = 0, $date = 0) { } $output .= "<?xml version=\"1.0\" 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 .= "<?xml version=\"1.0\" 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 .= "<rss version=\"0.91\">\n"; $output .= format_rss_channel("$account->name's blog", path_uri() ."module.php?mod=blog&op=view&id=$account->uid", "$account->name's blog", $items); $output .= "</rss>\n"; diff --git a/modules/node.module b/modules/node.module index 8aa15c96b..0b719a3b4 100644 --- a/modules/node.module +++ b/modules/node.module @@ -452,7 +452,7 @@ function node_feed() { } $output .= "<?xml version=\"1.0\" 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"; $output .= "<rss version=\"0.91\">\n"; $output .= format_rss_channel(variable_get("site_name", "drupal"), path_uri(), variable_get("site_slogan", ""), $items); $output .= "</rss>\n"; diff --git a/modules/node/node.module b/modules/node/node.module index 8aa15c96b..0b719a3b4 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -452,7 +452,7 @@ function node_feed() { } $output .= "<?xml version=\"1.0\" 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"; $output .= "<rss version=\"0.91\">\n"; $output .= format_rss_channel(variable_get("site_name", "drupal"), path_uri(), variable_get("site_slogan", ""), $items); $output .= "</rss>\n"; |