MediaWiki  REL1_19
RSSFeed Class Reference

Generate a RSS feed. More...

Inheritance diagram for RSSFeed:
Collaboration diagram for RSSFeed:

List of all members.

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.

Detailed Description

Generate a RSS feed.

Definition at line 271 of file Feed.php.


Member Function Documentation

Format a date given a timestamp.

Parameters:
$tsInteger: timestamp
Returns:
String: date string

Definition at line 279 of file Feed.php.

References wfTimestamp().

Referenced by outHeader(), AtomFeed\outHeader(), outItem(), and AtomFeed\outItem().

Here is the call graph for this function:

Here is the caller graph for this function:

Ouput an RSS 2.0 footer.

Reimplemented from ChannelFeed.

Definition at line 322 of file Feed.php.

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().

Here is the call graph for this function:

RSSFeed::outItem ( item)

Output an RSS 2.0 item.

Parameters:
$itemFeedItem: item to be output

Reimplemented from ChannelFeed.

Definition at line 305 of file Feed.php.

References formatTime(), print, and wfExpandUrl().

Here is the call graph for this function:


The documentation for this class was generated from the following file: