From 0eb9eb2f14ab9fb5508145846a06ad7309f09d58 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 16 Jul 2007 07:40:27 +0000 Subject: [PATCH] - Patch #157709 by tangent: avoid namespace collisions. --- modules/node/node.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/node/node.module b/modules/node/node.module index e90788a00fb1..79e2773ab475 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1917,7 +1917,7 @@ function node_feed($nids = array(), $channel = array()) { } $item_length = variable_get('feed_item_length', 'teaser'); - $namespaces = array('xmlns:dc="http://purl.org/dc/elements/1.1/"'); + $namespaces = array('xmlns:dc' => 'http://purl.org/dc/elements/1.1/'); $items = ''; foreach ($nids as $nid) { @@ -1979,7 +1979,7 @@ function node_feed($nids = array(), $channel = array()) { $channel = array_merge($channel_defaults, $channel); $output = "\n"; - $output .= "\n"; + $output .= "\n"; $output .= format_rss_channel($channel['title'], $channel['link'], $channel['description'], $items, $channel['language']); $output .= "\n";