summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-12-21 16:07:23 +0000
committerDries Buytaert <dries@buytaert.net>2006-12-21 16:07:23 +0000
commit4bc8c30382fcf1335fd3ecd5f63d7b986943ecdb (patch)
tree02827a4eabb22fd051df6a43186c0fc883a01309 /modules/node/node.module
parenta746d0496a25d540ccc9a49c215e285929b35dcd (diff)
downloadbrdo-4bc8c30382fcf1335fd3ecd5f63d7b986943ecdb.tar.gz
brdo-4bc8c30382fcf1335fd3ecd5f63d7b986943ecdb.tar.bz2
- Patch #104516 by Chris: made RSS feeds validate.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index b9d356f48..16d226f03 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1795,7 +1795,7 @@ function node_feed($nodes = 0, $channel = array()) {
// Allow modules to add additional item fields and/or modify $item
$extra = node_invoke_nodeapi($item, 'rss item');
- $extra = array_merge($extra, array(array('key' => 'pubDate', 'value' => date('r', $item->created)), array('key' => 'dc:creator', 'value' => $item->name), array('key' => 'guid', 'value' => $item->nid . ' at ' . $base_url, 'attributes' => array('isPermaLink' => 'FALSE'))));
+ $extra = array_merge($extra, array(array('key' => 'pubDate', 'value' => date('r', $item->created)), array('key' => 'dc:creator', 'value' => $item->name), array('key' => 'guid', 'value' => $item->nid . ' at ' . $base_url, 'attributes' => array('isPermaLink' => 'false'))));
foreach ($extra as $element) {
if ($element['namespace']) {
$namespaces = array_merge($namespaces, $element['namespace']);