MediaWiki  REL1_22
AtomFeed Class Reference

Generate an Atom feed. More...

Inheritance diagram for AtomFeed:
Collaboration diagram for AtomFeed:

List of all members.

Public Member Functions

 formatTime ($ts)
 getFeedId ()
 Atom 1.0 requires a unique, opaque IRI as a unique identifier 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 (basically '</feed>').
 outHeader ()
 Outputs a basic header for Atom 1.0 feeds.
 outItem ($item)
 Output a given item.

Detailed Description

Generate an Atom feed.

Definition at line 334 of file Feed.php.


Member Function Documentation

Todo:
document
Returns:
string

Definition at line 339 of file Feed.php.

Atom 1.0 requires a unique, opaque IRI as a unique identifier for every feed we create.

For now just use the URL, but who can tell if that's right? If we put options on the feed, do we have to change the id? Maybe? Maybe not.

Returns:
string
Access:
private

Definition at line 372 of file Feed.php.

Atom 1.0 requests a self-reference to the feed.

Returns:
string
Access:
private

Definition at line 381 of file Feed.php.

Outputs the footer for Atom 1.0 feed (basically '</feed>').

Reimplemented from ChannelFeed.

Definition at line 413 of file Feed.php.

Outputs a basic header for Atom 1.0 feeds.

Reimplemented from ChannelFeed.

Definition at line 347 of file Feed.php.

AtomFeed::outItem ( item)

Output a given item.

Parameters:
$item

Reimplemented from ChannelFeed.

Definition at line 390 of file Feed.php.


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