RSSFeed Class Reference

Generate a RSS feed. More...

Inherits ChannelFeed.

List of all members.

Public Member Functions

 formatTime ($ts)
 Format a date given a timestamp.
 outHeader ()
 Ouput an RSS 2.0 header.
 outItem ($item)
 Output an RSS 2.0 item.
 outFooter ()
 Ouput an RSS 2.0 footer.


Detailed Description

Generate a RSS feed.

Definition at line 182 of file Feed.php.


Member Function Documentation

RSSFeed::formatTime ( ts  ) 

Format a date given a timestamp.

Parameters:
integer $ts Timestamp
Returns:
string Date string

Definition at line 189 of file Feed.php.

References $ts, and wfTimestamp().

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

RSSFeed::outFooter (  ) 

Ouput an RSS 2.0 footer.

Reimplemented from ChannelFeed.

Definition at line 231 of file Feed.php.

RSSFeed::outHeader (  ) 

RSSFeed::outItem ( item  ) 

Output an RSS 2.0 item.

Parameters:
FeedItem item to be output

Reimplemented from ChannelFeed.

Definition at line 215 of file Feed.php.

References formatTime(), and print.


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

Generated on Sat Sep 5 02:08:46 2009 for MediaWiki by  doxygen 1.5.9