From 1dc53d9761fbf256f59e1d9cd07741a2f8e9d27e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 18 Sep 2005 10:37:57 +0000 Subject: - Patch #3986 by James (and Boris :)):consolidated all feed-related settings in one place. * adds a "feed settings" section to admin/settings where 2 new settings are introduced: * number of items per feed * default length of feed descriptions (title only, teaser, full) * patches all of core to obey the above - including the new aggregator (out) feeds * adds support for adding namespaces in _nodeapi('rss item') - which means things like iTunes RSS and yahoo's media rss can be implemented by the appropriate modules (i.e. audio.module) * includes some additional info in the default node feed - specifically the element (links directly to comments) - and dc:creator - to show node author information. --- modules/taxonomy/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index c773ac628..083d8af29 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -979,7 +979,7 @@ function taxonomy_select_nodes($tids = array(), $operator = 'or', $depth = 0, $p $result = pager_query($sql, variable_get('default_nodes_main', 10), 0, $sql_count); } else { - $result = db_query_range($sql, 0, 15); + $result = db_query_range($sql, 0, variable_get('feed_default_items', 10)); } } -- cgit v1.2.3