diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-09-18 10:37:57 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-09-18 10:37:57 +0000 |
commit | 1dc53d9761fbf256f59e1d9cd07741a2f8e9d27e (patch) | |
tree | ef6695943a618af4053a7cd18e0114e3eb796227 /modules/taxonomy.module | |
parent | ceb9859d70080b67ab2a46ee93528f0813d734a2 (diff) | |
download | brdo-1dc53d9761fbf256f59e1d9cd07741a2f8e9d27e.tar.gz brdo-1dc53d9761fbf256f59e1d9cd07741a2f8e9d27e.tar.bz2 |
- 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.
Diffstat (limited to 'modules/taxonomy.module')
-rw-r--r-- | modules/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy.module b/modules/taxonomy.module index c773ac628..083d8af29 100644 --- a/modules/taxonomy.module +++ b/modules/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)); } } |