Implementation of a feed
A Feed instance contains a type, a version, a hash (etag), a last modified date, a syndication URL and a channel (FeedChannel).
When parsing external feeds using FeedReader, an instance of feed is used to collect the parsed information. When creating feeds through the FeedCreator class, this class contains utility methods to render the feed XML according with the feed type and version.
Located in /core/xml/feed/Feed.class.php (line 60)
PHP2Go | --FeedNode | --Feed
Feed's channel
Content type
Etag (hash)
Last modified time
Syndication URL
Format version (specially for FEED_RSS)
Inherited from FeedNode
FeedNode::$children
Class constructor
Creates a data set and fills it with the feed items
Get a list of valid channel properties, according with feed type and version
Get feed's etag
Get a list of valid item attributes, according with feed type and version
Get feed items
Get the last modified time of this feed
Get feed's syndication URL
Checks if this feed is an ATOM feed
Checks if this feed is an RSS feed
Collects rendering data of the feed's channel
Collects rendering data of the channel's items
Collects attributes of the root node, when rendering feeds
Set feed's etag
Set feed's last modified time
The $lastModified argument can be provided as a timestamp value (integer), or a date written in RFC822 or ISO8601 formats.
Set the syndication URL of this feed
Escapes HTML special chars on an element's value
This method is able to process scalar values, single and 2-dimension numeric or hash arrays.
Inherited From FeedNode
FeedNode::FeedNode()
FeedNode::addChild()
FeedNode::addElement()
FeedNode::buildDate()
FeedNode::getChildren()
FeedNode::getElement()
FeedNode::parseDate()
FeedNode::setElement()
Inherited From PHP2Go
PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()
Documentation generated on Sun, 07 Oct 2007 19:23:58 -0300 by phpDocumentor 1.3.2