From 10d9c6a92ac0002b4838d6a4056fe9cce5b934ba Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 15 Jun 2009 01:13:12 +0800 Subject: Rename Rss_Controller::__call to Rss_Controller::feed, which changes the feed url to rss/feed//[] Where feed name is the name of the feed (i.e. albums, updates, comments, tags etc.) and id is the optional element id that the feed applies to. Signed-off-by: --- modules/rss/helpers/rss.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/rss/helpers/rss.php') diff --git a/modules/rss/helpers/rss.php b/modules/rss/helpers/rss.php index 1d30425f..3c278b49 100644 --- a/modules/rss/helpers/rss.php +++ b/modules/rss/helpers/rss.php @@ -21,11 +21,11 @@ class rss_Core { static function item_feed($item) { $id = $item->is_album() ? $item->id : $item->parent_id; - return url::site("rss/albums/$id"); + return url::site("rss/feed/albums/$id"); } static function tag_feed($tag) { - return url::site("rss/tags/$tag->id}"); + return url::site("rss/feed/tags/$tag->id}"); } /** @@ -40,7 +40,7 @@ class rss_Core { if ($sidebar_only && !$feed["sidebar"]) { continue; } - $feeds[$feed["description"]] = url::site("rss/{$feed['uri']}"); + $feeds[$feed["description"]] = url::site("rss/feed/{$feed['uri']}"); } } } -- cgit v1.2.3