summaryrefslogtreecommitdiffstats
path: root/rss.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-12-06 18:47:09 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-12-06 18:47:09 +0000
commit287a46f11e429ff8a11bc646afaeadce122425c6 (patch)
tree7e3330c9aec43f5b24a9ddee767fb4c083d79965 /rss.php
parent286840fbcc42ea190b7700ad9a00d0aaf4acbbf2 (diff)
downloadampache-287a46f11e429ff8a11bc646afaeadce122425c6.tar.gz
ampache-287a46f11e429ff8a11bc646afaeadce122425c6.tar.bz2
ampache-287a46f11e429ff8a11bc646afaeadce122425c6.zip
some work on the rss feed stuff
Diffstat (limited to 'rss.php')
-rw-r--r--rss.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/rss.php b/rss.php
index be94b310..6ccace13 100644
--- a/rss.php
+++ b/rss.php
@@ -28,6 +28,12 @@ if (!Config::get('use_rss') || Config::get('demo_mode')) {
exit;
}
+// Add in our base hearder defining the content type
+header("Content-Type: application/xml; charset=" . Config::get('site_charset'));
+header("Content-Disposition: attachment; filename=rss.xml");
+
+// This is always going to be an rss feed, so make sure our header and footers are correct
+xmlData::set_type('rss');
switch ($_REQUEST['action']) {
case 'user':
@@ -36,6 +42,7 @@ switch ($_REQUEST['action']) {
case 'catalog_add':
default:
+
break;
} // end data collection