diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-03-06 16:17:48 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-03-06 16:17:48 +0000 |
commit | ccc9276f45705221a715b25c7dca4edf9a9c689c (patch) | |
tree | 28f91856b4fd0cc470c36795350602e5d94a122a /modules/taxonomy | |
parent | 8ebedbaa2bc099bd3295a11eebb5e37ebc5f59f4 (diff) | |
download | brdo-ccc9276f45705221a715b25c7dca4edf9a9c689c.tar.gz brdo-ccc9276f45705221a715b25c7dca4edf9a9c689c.tar.bz2 |
- Patch #4902 by Goba: fix URLs in RSS feeds.
+ Make all channel links absolute.
+ Always set the $base_url as xml:base, thus providing a solid base for
relative URLs.
Diffstat (limited to 'modules/taxonomy')
-rw-r--r-- | modules/taxonomy/taxonomy.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 2187f64b3..96a9a210e 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -10,7 +10,7 @@ function taxonomy_feed($taxonomy) { else { $result = taxonomy_select_nodes($taxonomy, 0); $term = taxonomy_get_term($taxonomy->tids[0]); - $channel["link"] = url("taxonomy/view/$taxonomy->operator/$taxonomy->str_tids"); + $channel["link"] = url("taxonomy/view/$taxonomy->operator/$taxonomy->str_tids", NULL, NULL, TRUE); $channel["title"] = variable_get("site_name", "drupal") ." - ". $term->name; $channel["description"] = $term->description; node_feed($result, $channel); |