FeedItem Class Reference

Basic support for outputting syndication feeds in RSS, other formats. More...

Inherited by ChannelFeed.

List of all members.

Public Member Functions

 __construct ($Title, $Description, $Url, $Date= '', $Author= '', $Comments= '')
 #@-
 xmlEncode ($string)
 getTitle ()
 getUrl ()
 getDescription ()
 getLanguage ()
 getDate ()
 getAuthor ()
 getComments ()

Static Public Member Functions

static stripComment ($text)
 Quickie hack.

Public Attributes

 $Title = 'Wiki'
 $Description = ''
 $Url = ''
 $Date = ''
 $Author = ''


Detailed Description

Basic support for outputting syndication feeds in RSS, other formats.

Contain a feed class as well as classes to build rss / atom ... feeds Available feeds are defined in Defines.php A base class for basic support for outputting syndication feeds in RSS and other formats.

Definition at line 30 of file Feed.php.


Constructor & Destructor Documentation

FeedItem::__construct ( Title,
Description,
Url,
Date = '',
Author = '',
Comments = '' 
)

#@-

#@+

Todo:
document
Parameters:
$Url URL uniquely designating the item.

Definition at line 46 of file Feed.php.

References $Author, $Date, $Description, $Title, and $Url.


Member Function Documentation

FeedItem::getAuthor (  ) 

Definition at line 81 of file Feed.php.

References xmlEncode().

FeedItem::getComments (  ) 

Definition at line 84 of file Feed.php.

References xmlEncode().

FeedItem::getDate (  ) 

Definition at line 78 of file Feed.php.

FeedItem::getDescription (  ) 

Definition at line 69 of file Feed.php.

References xmlEncode().

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

FeedItem::getLanguage (  ) 

Definition at line 73 of file Feed.php.

References $wgContLanguageCode.

Referenced by RSSFeed::outHeader().

FeedItem::getTitle (  ) 

Definition at line 61 of file Feed.php.

References xmlEncode().

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

FeedItem::getUrl (  ) 

Definition at line 65 of file Feed.php.

References xmlEncode().

Referenced by RSSFeed::outHeader().

static FeedItem::stripComment ( text  )  [static]

Quickie hack.

.. strip out wikilinks to more legible form from the comment.

Definition at line 91 of file Feed.php.

References $text.

Referenced by PageHistory::feedItem(), SpecialNewpages::feedItemDesc(), and SpecialContributions::feedItemDesc().

FeedItem::xmlEncode ( string  ) 

Definition at line 55 of file Feed.php.

Referenced by getAuthor(), getComments(), getDescription(), getTitle(), and getUrl().


Member Data Documentation

FeedItem::$Author = ''

Definition at line 39 of file Feed.php.

Referenced by __construct().

FeedItem::$Date = ''

Definition at line 38 of file Feed.php.

Referenced by __construct().

FeedItem::$Description = ''

Definition at line 36 of file Feed.php.

Referenced by __construct().

FeedItem::$Title = 'Wiki'

Definition at line 35 of file Feed.php.

Referenced by __construct().

FeedItem::$Url = ''

Definition at line 37 of file Feed.php.

Referenced by __construct().


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

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