From ccc9276f45705221a715b25c7dca4edf9a9c689c Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 6 Mar 2004 16:17:48 +0000 Subject: - 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. --- modules/taxonomy.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/taxonomy.module') diff --git a/modules/taxonomy.module b/modules/taxonomy.module index 2187f64b3..96a9a210e 100644 --- a/modules/taxonomy.module +++ b/modules/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); -- cgit v1.2.3