X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FFeed.php;h=2fdfa424c40e6764422098f95e46d2ff9716f9a2;hb=49230edd04a1b8260b7823c10d4bee63e71bd10c;hp=58f3ebde72e657c26c4aaf63708d1dc8c07b7c1d;hpb=c4b064f83415ab5b4a5f9aedad20ffd16e599253;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Feed.php b/includes/Feed.php index 58f3ebde72..2fdfa424c4 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -37,19 +37,19 @@ */ class FeedItem { /** @var Title */ - protected $title; + public $title; - protected $description; + public $description; - protected $url; + public $url; - protected $date; + public $date; - protected $author; + public $author; - protected $uniqueId; + public $uniqueId; - protected $comments; + public $comments; public $rssIsPermalink = false; @@ -258,20 +258,11 @@ abstract class ChannelFeed extends FeedItem { } /** - * Output the initial XML headers with a stylesheet for legibility - * if someone finds it in a browser. + * Output the initial XML headers. */ protected function outXmlHeader() { - global $wgStylePath, $wgStyleVersion; - $this->httpHeaders(); echo '' . "\n"; - echo '\n"; } } @@ -348,6 +339,7 @@ class RSSFeed extends ChannelFeed { class AtomFeed extends ChannelFeed { /** * @todo document + * @param string|int $ts * @return string */ function formatTime( $ts ) {