* @copyright 2001 - 2011 Ampache.org * @license http://opensource.org/licenses/gpl-2.0 GPLv2 * @version PHP 5.2 * @link http://www.ampache.org/ * @since File available since Release 1.0 */ define('NO_SESSION','1'); require 'lib/init.php'; /* Check Perms */ if (!Config::get('use_rss') || Config::get('demo_mode')) { access_denied(); exit; } // Add in our base hearder defining the content type header("Content-Type: application/xml; charset=" . Config::get('site_charset')); $rss = new AmpacheRSS($_REQUEST['type']); echo $rss->get_xml(); ?>