diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-11-28 22:00:45 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-11-28 22:00:45 +0000 |
commit | 4a5fa1a9548353fe5a33a6d848559c65f2da4716 (patch) | |
tree | 08ca34730e4feb0c7cd09fa375f1363acf52ceb7 | |
parent | 1affd0e7cdf6184c4dd1eb41bbcecfb953298dfe (diff) | |
download | brdo-4a5fa1a9548353fe5a33a6d848559c65f2da4716.tar.gz brdo-4a5fa1a9548353fe5a33a6d848559c65f2da4716.tar.bz2 |
- Fixed a glitch in the news feeds.
-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"; |