From c9fa04c9b7c8a976a8b0b393fb3ba0b791c2c48d Mon Sep 17 00:00:00 2001 From: "mike.morgan%oregonstate.edu" Date: Sun, 29 Jan 2006 23:46:42 +0000 Subject: [PATCH] Added flexibility for human-readable args in rss.php. Added feeds.php, to list possible feeds -- reference page. --- webtools/addons/public/htdocs/feeds.php | 17 +++++++++++++++++ webtools/addons/public/htdocs/rss.php | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 webtools/addons/public/htdocs/feeds.php diff --git a/webtools/addons/public/htdocs/feeds.php b/webtools/addons/public/htdocs/feeds.php new file mode 100644 index 00000000000..dcfb4dd8257 --- /dev/null +++ b/webtools/addons/public/htdocs/feeds.php @@ -0,0 +1,17 @@ +assign( + array( 'title' => 'Feeds', + 'content' => 'feeds.tpl') +); +?> diff --git a/webtools/addons/public/htdocs/rss.php b/webtools/addons/public/htdocs/rss.php index 5700a497f28..057d2682ed5 100644 --- a/webtools/addons/public/htdocs/rss.php +++ b/webtools/addons/public/htdocs/rss.php @@ -25,9 +25,11 @@ switch (strtolower($rssapp)) { $rsstype = !empty($_GET['type']) && ctype_alpha($_GET['type']) ? $_GET['type'] : null; switch (strtolower($rsstype)) { + case 'themes': case 't': $clean['type'] = 't'; break; + case 'extensions': case 'e': default: $clean['type'] = 'e';