From 484796e7cc54c3690462ee061850b563c4d5da16 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 14 Jun 2009 11:39:53 -0700 Subject: Remove rss:item_feed, rss::tag_fead and rss_theme::head and move that functionality in the _theme::head function. Created rss::feed_link to wrap the module supplied uri in the html link element. --- modules/rss/helpers/rss.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'modules/rss/helpers/rss.php') diff --git a/modules/rss/helpers/rss.php b/modules/rss/helpers/rss.php index cf42ec28..e4d6f5e9 100644 --- a/modules/rss/helpers/rss.php +++ b/modules/rss/helpers/rss.php @@ -19,13 +19,9 @@ */ class rss_Core { - static function item_feed($item) { - $id = $item->is_album() ? $item->id : $item->parent_id; - return url::site("rss/feed/albums/$id"); - } - - static function tag_feed($tag) { - return url::site("rss/feed/tags/$tag->id}"); + static function feed_link($uri) { + $url = url::site("rss/feed/$uri"); + return ""; } /** -- cgit v1.2.3