MediaWiki
REL1_19
|
Generate a RSS feed. More...
Public Member Functions | |
formatTime ($ts) | |
Format a date given a timestamp. | |
outFooter () | |
Ouput an RSS 2.0 footer. | |
outHeader () | |
Ouput an RSS 2.0 header. | |
outItem ($item) | |
Output an RSS 2.0 item. |
RSSFeed::formatTime | ( | $ | ts | ) |
Format a date given a timestamp.
$ts | Integer: timestamp |
Definition at line 279 of file Feed.php.
References wfTimestamp().
Referenced by outHeader(), AtomFeed\outHeader(), outItem(), and AtomFeed\outItem().
Ouput an RSS 2.0 header.
Reimplemented from ChannelFeed.
Definition at line 286 of file Feed.php.
References $wgVersion, formatTime(), FeedItem\getDescription(), FeedItem\getLanguage(), FeedItem\getTitle(), FeedItem\getUrl(), ChannelFeed\outXmlHeader(), print, wfExpandUrl(), and wfTimestampNow().
RSSFeed::outItem | ( | $ | item | ) |
Output an RSS 2.0 item.
$item | FeedItem: item to be output |
Reimplemented from ChannelFeed.
Definition at line 305 of file Feed.php.
References formatTime(), print, and wfExpandUrl().