static function ServeFeed() { $feeder = new TextFeeder(self::CurDir(), self::BaseURL()); if ($count =& $_GET['count']) { $feeder->entriesPerFeed = $count; } $format = @$_REQUEST['format']; $format or $format = 'atom'; $out = FeedOut::Factory($format); $out->Output($feeder); }
protected function CallOutput($format, $method) { $obj = FeedOut::Factory($format); $this->Normalize(); return $obj->{$method}($this); }