39 return gmdate(
'D, d M Y H:i:s \G\M\T',
wfTimestamp( TS_UNIX, $ts ) );
49 $this->outXmlHeader();
55 'description' => $this->getDescription(),
56 'language' => $this->xmlEncode( $this->getLanguage() ),
60 print $this->templateParser->processTemplate(
'RSSHeader', $templateParams );
71 "title" => $item->getTitle(),
73 "permalink" => $item->rssIsPermalink,
74 "uniqueID" => $item->getUniqueID(),
75 "description" => $item->getDescription(),
76 "date" => $this->xmlEncode( $this->
formatTime( $item->getDate() ) ),
77 "author" => $item->getAuthor()
79 $comments = $item->getCommentsUnescaped();
82 $templateParams[
"comments"] = $commentsEscaped;
84 print $this->templateParser->processTemplate(
'RSSItem', $templateParams );
91 print
"</channel></rss>";