view->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); if ((Application_Model_Preference::getStationPodcastPrivacy() && $this->getRequest()->getParam("sharing_token") != Application_Model_Preference::getStationPodcastDownloadKey()) && !RestAuth::verifyAuth(true, true, $this)) { $this->getResponse() ->setHttpResponseCode(401); return; } header('Content-Type: text/xml; charset=UTF-8'); echo Application_Service_PodcastService::createStationRssFeed(); } }