MediaWiki
REL1_19
|
Generate an Atom feed. More...
Public Member Functions | |
formatTime ($ts) | |
getFeedId () | |
Atom 1.0 requires a unique, opaque IRI as a unique indentifier for every feed we create. | |
getSelfUrl () | |
Atom 1.0 requests a self-reference to the feed. | |
outFooter () | |
Outputs the footer for Atom 1.0 feed (basicly '</feed>'). | |
outHeader () | |
Outputs a basic header for Atom 1.0 feeds. | |
outItem ($item) | |
Output a given item. |
AtomFeed::formatTime | ( | $ | ts | ) |
Definition at line 338 of file Feed.php.
References wfTimestamp().
Outputs the footer for Atom 1.0 feed (basicly '</feed>').
Reimplemented from ChannelFeed.
Outputs a basic header for Atom 1.0 feeds.
Reimplemented from ChannelFeed.
Definition at line 346 of file Feed.php.
References $wgVersion, RSSFeed\formatTime(), FeedItem\getDescription(), FeedItem\getTitle(), ChannelFeed\outXmlHeader(), print, and wfTimestampNow().
AtomFeed::outItem | ( | $ | item | ) |
Output a given item.
$item |
Reimplemented from ChannelFeed.
Definition at line 389 of file Feed.php.
References $wgMimeType, RSSFeed\formatTime(), and print.