summaryrefslogtreecommitdiffstats
path: root/rss.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-07 07:20:01 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-06-07 07:20:01 +0000
commitaf2ff07a8174ac2796fa45337bcc5c70d870e0b1 (patch)
tree9ebaecb008ef72d3b07cc1984de6e8249a13719a /rss.php
parent96334a0e8c1c59077e6f9c067dbdee14f6b07be7 (diff)
downloadampache-af2ff07a8174ac2796fa45337bcc5c70d870e0b1.tar.gz
ampache-af2ff07a8174ac2796fa45337bcc5c70d870e0b1.tar.bz2
ampache-af2ff07a8174ac2796fa45337bcc5c70d870e0b1.zip
- Fixed Ratings
- Tweaked RSS, still needs work - Show Single artist mostly finished
Diffstat (limited to 'rss.php')
-rw-r--r--rss.php19
1 files changed, 16 insertions, 3 deletions
diff --git a/rss.php b/rss.php
index 9376e3a1..09df2046 100644
--- a/rss.php
+++ b/rss.php
@@ -1,7 +1,7 @@
<?php
/*
- Copyright (c) 2001 - 2006 Ampache.org
+ Copyright (c) 2001 - 2007 Ampache.org
All rights reserved.
This program is free software; you can redistribute it and/or
@@ -21,13 +21,26 @@
*/
define('NO_SESSION','1');
-require('lib/init.php');
+require 'lib/init.php';
/* Check Perms */
-if (!conf('use_rss') || conf('demo_mode')) {
+if (!Config::get('use_rss') || Config::get('demo_mode')) {
access_denied();
+ exit;
}
+
+switch ($_REQUEST['action']) {
+ case 'user':
+
+ break;
+ case 'catalog_add':
+
+ default:
+
+ break;
+} // end data collection
+
#show_now_playingRSS($_REQUEST['username']);
show_RSS($_REQUEST['type'],$_REQUEST['username']);