summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-14 19:04:27 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-14 19:04:27 +0000
commit7334f7624f9add967483b44f07c5d40a39fedf49 (patch)
tree3775500dbac1dc52b6fa018bc4fa013e739ddad6
parentc4fc7f401f80c26a3d96106a67ae7247edf8996f (diff)
downloadbrdo-7334f7624f9add967483b44f07c5d40a39fedf49.tar.gz
brdo-7334f7624f9add967483b44f07c5d40a39fedf49.tar.bz2
- Patch #41165 by Morbus: removed rss doctype.
-rw-r--r--modules/aggregator.module1
-rw-r--r--modules/aggregator/aggregator.module1
-rw-r--r--modules/node.module1
-rw-r--r--modules/node/node.module1
4 files changed, 0 insertions, 4 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 2e4c4c607..8ac5ca705 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -1080,7 +1080,6 @@ function aggregator_page_rss() {
}
$output .= "<?xml version=\"1.0\" encoding=\"utf-8\"?>\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=\"2.0\">\n";
$output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), $base_url . '/' . url('aggregator' . $url), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en');
$output .= "</rss>\n";
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 2e4c4c607..8ac5ca705 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -1080,7 +1080,6 @@ function aggregator_page_rss() {
}
$output .= "<?xml version=\"1.0\" encoding=\"utf-8\"?>\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=\"2.0\">\n";
$output .= format_rss_channel(variable_get('site_name', t('Drupal')) . ' ' . t('aggregator'), $base_url . '/' . url('aggregator' . $url), variable_get('site_name', t('Drupal')) . ' - ' . t('aggregated feeds') . $title, $items, 'en');
$output .= "</rss>\n";
diff --git a/modules/node.module b/modules/node.module
index 476495634..32a4d98c7 100644
--- a/modules/node.module
+++ b/modules/node.module
@@ -1462,7 +1462,6 @@ function node_feed($nodes = 0, $channel = array()) {
$channel = array_merge($channel_defaults, $channel);
$output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\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=\"". $channel["version"] . "\" xml:base=\"". $base_url ."\" ". implode(' ', $namespaces) .">\n";
$output .= format_rss_channel($channel['title'], $channel['link'], $channel['description'], $items, $channel['language']);
$output .= "</rss>\n";
diff --git a/modules/node/node.module b/modules/node/node.module
index 476495634..32a4d98c7 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1462,7 +1462,6 @@ function node_feed($nodes = 0, $channel = array()) {
$channel = array_merge($channel_defaults, $channel);
$output = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\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=\"". $channel["version"] . "\" xml:base=\"". $base_url ."\" ". implode(' ', $namespaces) .">\n";
$output .= format_rss_channel($channel['title'], $channel['link'], $channel['description'], $items, $channel['language']);
$output .= "</rss>\n";