|
MediaWiki
REL1_23
|
A base class for basic support for outputting syndication feeds in RSS and other formats. More...


Public Member Functions | |
| __construct ($title, $description, $url, $date= '', $author= '', $comments= '') | |
| Constructor. | |
| getAuthor () | |
| Get the author of this item; already xml-encoded. | |
| getComments () | |
| Get the comment of this item; already xml-encoded. | |
| getDate () | |
| Get the title of this item. | |
| getDescription () | |
| Get the description of this item; already xml-encoded. | |
| getLanguage () | |
| Get the language of this item. | |
| getTitle () | |
| Get the title of this item; already xml-encoded. | |
| getUniqueId () | |
| Get the unique id of this item. | |
| getUrl () | |
| Get the URL of this item; already xml-encoded. | |
| setUniqueId ($uniqueId, $rssIsPermalink=false) | |
| set the unique id of an item | |
| xmlEncode ($string) | |
| Encode $string so that it can be safely embedded in a XML document. | |
Static Public Member Functions | |
| static | stripComment ($text) |
| Quickie hack... | |
Public Attributes | |
| $author | |
| $comments | |
| $date | |
| $description | |
| $rssIsPermalink = false | |
| Title | $title |
| $uniqueId | |
| $url | |
A base class for basic support for outputting syndication feeds in RSS and other formats.
| FeedItem::__construct | ( | $ | title, |
| $ | description, | ||
| $ | url, | ||
| $ | date = '', |
||
| $ | author = '', |
||
| $ | comments = '' |
||
| ) |
| FeedItem::getUrl | ( | ) |
| FeedItem::setUniqueId | ( | $ | uniqueId, |
| $ | rssIsPermalink = false |
||
| ) |
| static FeedItem::stripComment | ( | $ | text | ) | [static] |
Quickie hack...
strip out wikilinks to more legible form from the comment.
| string | $text | wikitext |
Definition at line 175 of file Feed.php.
Referenced by ApiFeedContributions\feedItemDesc(), and SpecialNewpages\feedItemDesc().
| FeedItem::xmlEncode | ( | $ | string | ) |