|
MediaWiki
REL1_19
|


Public Member Functions | |
| contentType () | |
| Return an internet media type to be sent in the headers. | |
| httpHeaders () | |
| #@- | |
| outFooter () | |
| Generate Footer of the feed. | |
| outHeader () | |
| #@+ Abstract function, override! | |
| outItem ($item) | |
| Generate an item. | |
| outXmlHeader () | |
| Output the initial XML headers with a stylesheet for legibility if someone finds it in a browser. | |
Return an internet media type to be sent in the headers.
Definition at line 243 of file Feed.php.
Referenced by 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 223 of file Feed.php.
References $wgOut, $wgVaryOnXFP, and contentType().
Referenced by outXmlHeader().


| ChannelFeed::outItem | ( | $ | item | ) |
Output the initial XML headers with a stylesheet for legibility if someone finds it in a browser.
Definition at line 255 of file Feed.php.
References $wgStylePath, $wgStyleVersion, echo, httpHeaders(), and wfExpandUrl().
Referenced by RSSFeed\outHeader(), and AtomFeed\outHeader().

