MediaWiki  1.30.0
Feed

Files

file  FeedUtils.php
 Helper functions for feeds.
 

Classes

class  AtomFeed
 Generate an Atom feed. More...
 
class  ChangesFeed
 Feed to Special:RecentChanges and Special:RecentChangesLiked. More...
 
class  FeedItem
 A base class for basic support for outputting syndication feeds in RSS and other formats. More...
 
class  FeedUtils
 Helper functions for feeds. More...
 

Functions

ChannelFeed FeedItem print $this getTitle() print wfExpandUrl($this->getUrl(), PROTO_CURRENT) print $this getDescription() print $this getLanguage() print $wgVersion print $this formatTime(wfTimestampNow()) outItem ( $item)
 Class to support the outputting of syndication feeds in Atom and RSS format. More...
 

Detailed Description

Function Documentation

◆ outItem()

outItem (   $item)
abstract

Class to support the outputting of syndication feeds in Atom and RSS format.

Generate an item.

Output an RSS 2.0 item

Parameters
FeedItem$itemItem to be output
Example:
print "<item>...</item>";
Parameters
FeedItem$item

Definition at line 312 of file Feed.php.

References MediaWiki\getTitle(), link, php, PROTO_CURRENT, title, and wfExpandUrl().