From d3db5e9f380a8bd1c40a9328581a950f86659096 Mon Sep 17 00:00:00 2001 From: Darkwing1 Date: Sun, 21 Apr 2013 00:06:03 +0300 Subject: [PATCH] Add another parameter "type" Now you can choose a tag and a type ("starred" or "unread") for an individual feed --- controllers/Rss.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controllers/Rss.php b/controllers/Rss.php index 49f2a5096a..6e15c62cbc 100644 --- a/controllers/Rss.php +++ b/controllers/Rss.php @@ -35,6 +35,9 @@ public function rss() { $options['items'] = \F3::get('rss_max_items'); if(\F3::get('PARAMS["tag"]')!=null) $options['tag'] = \F3::get('PARAMS["tag"]'); + if(\F3::get('PARAMS["type"]')!=null) + $options['type'] = \F3::get('PARAMS["type"]'); + // get items $newestEntryDate = false;