Inherited by AtomFeed, and RSSFeed.
Public Member Functions | |
outHeader () | |
#@+ Abstract function, override! | |
outItem ($item) | |
Generate an item. | |
outFooter () | |
Generate Footer of the feed. | |
httpHeaders () | |
#@- | |
contentType () | |
Return an internet media type to be sent in the headers. | |
outXmlHeader () | |
Output the initial XML headers with a stylesheet for legibility if someone finds it in a browser. |
Definition at line 100 of file Feed.php.
ChannelFeed::contentType | ( | ) |
Return an internet media type to be sent in the headers.
Definition at line 156 of file Feed.php.
References $wgRequest.
Referenced by httpHeaders().
ChannelFeed::httpHeaders | ( | ) |
#@-
Setup and send HTTP headers. Don't send any content; content might end up being cached and re-sent with these same headers later.
This should be called from the outHeader() method, but can also be called separately.
Definition at line 139 of file Feed.php.
References $wgOut, and contentType().
Referenced by outXmlHeader().
ChannelFeed::outFooter | ( | ) |
ChannelFeed::outHeader | ( | ) |
ChannelFeed::outItem | ( | $ | item | ) |
ChannelFeed::outXmlHeader | ( | ) |
Output the initial XML headers with a stylesheet for legibility if someone finds it in a browser.
Definition at line 168 of file Feed.php.
References $wgStylePath, $wgStyleVersion, httpHeaders(), and wfExpandUrl().
Referenced by AtomFeed::outHeader(), and RSSFeed::outHeader().