X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFeed.php;h=2fdfa424c40e6764422098f95e46d2ff9716f9a2;hb=c9c76be9ed7646683c6a265caec37fd0ed661f17;hp=60e623b47dfd194933559a64abef4ad57159141d;hpb=fea832ae52ad17bd68637559134942f57a35c925;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Feed.php b/includes/Feed.php index 60e623b47d..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"; } }