Source
653 header('Last-Modified: ' . gmdate("D, d M Y H:i:s", $rss->lastModified) . ' GMT');
654 }
655 if(!empty($rss->etag)) {
656 HTTP::register_etag($rss->etag);
657 }
658 $xml = str_replace(' ', ' ', $rss->renderWith('RSSFeed'));
659 $xml = preg_replace('/<!--(.|\s)*?-->/', '', $xml);
660 $xml = trim($xml);
661 HTTP::add_cache_headers();
662 header("Content-type: text/xml");
663 echo $xml;
664 }
665
666 public function import()
667 {
668 if(isset($this->urlParams['ID']))
Trace
- header(Content-type: text/xml)
Line 662 of Calendar.php
- Calendar_Controller->rss(SS_HTTPRequest)
Line 193 of Controller.php
- Controller->handleAction(SS_HTTPRequest)
Line 137 of RequestHandler.php
- RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
- Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
- ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
- ModelAsController->handleRequest(SS_HTTPRequest)
Line 281 of Director.php
- Director::handleRequest(SS_HTTPRequest,Session)
Line 124 of Director.php
- Director::direct(/seminare/rss)
Line 127 of main.php