MediaWiki
1.30.0
|
Basic support for outputting syndication feeds in RSS, other formats. More...
Go to the source code of this file.
Classes | |
class | AtomFeed |
Generate an Atom feed. More... | |
class | FeedItem |
A base class for basic support for outputting syndication feeds in RSS and other formats. More... | |
Functions | |
contentType () | |
Return an internet media type to be sent in the headers. More... | |
httpHeaders () | |
Setup and send HTTP headers. More... | |
outFooter () | |
Generate Footer of the feed. More... | |
outHeader () | |
Generate Header of the feed. More... | |
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... | |
outXmlHeader () | |
Output the initial XML headers. More... | |
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
Copyright © 2004 Brion Vibber brion @pob ox.co mhttps://www.mediawiki.org/
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition in file Feed.php.
|
private |
outItem\httpHeaders | ( | ) |
Setup and send HTTP headers.
Don't send any content; content might end up being cached and re-sent with these same headers later.
This should be called from the outHeader() method, but can also be called separately.
|
abstract |
|
abstract |
Generate Header of the feed.
|
protected |
Output the initial XML headers.
Definition at line 390 of file Feed.php.
Referenced by AtomFeed\outHeader().