UniversalFeedCreator lets you choose during runtime which format to build.
For general usage of a feed class, see the FeedCreator class below or the example above.
Located in /includes/feedcreator.class.php (line 273)
HtmlDescribable | --FeedCreator | --UniversalFeedCreator
Inherited from FeedCreator
FeedCreator::$additionalElements
FeedCreator::$category
FeedCreator::$copyright
FeedCreator::$cssStyleSheet
FeedCreator::$description
FeedCreator::$docs
FeedCreator::$editor
FeedCreator::$editorEmail
FeedCreator::$encoding
FeedCreator::$generator
FeedCreator::$image
FeedCreator::$language
FeedCreator::$lastBuildDate
FeedCreator::$link
FeedCreator::$namespace
FeedCreator::$pubDate
FeedCreator::$rating
FeedCreator::$skipDays
FeedCreator::$skipHours
FeedCreator::$syndicationURL
FeedCreator::$title
FeedCreator::$ttl
FeedCreator::$webmaster
FeedCreator::$xslStyleSheet
Inherited from HtmlDescribable
HtmlDescribable::$descriptionHtmlSyndicated
HtmlDescribable::$descriptionTruncSize
Creates a syndication feed based on the items previously added.
Outputs feed to the browser - needed for on-the-fly feed generation (like it is done in WordPress, etc.)
Saves this feed as a file on the local disk. After the file is saved, an HTTP redirect header may be sent to redirect the use to the newly created file.
Turns on caching and checks if there is a recent version of this feed in the cache.
If there is, an HTTP redirect header is sent. To effectively use caching, you should create the FeedCreator object and call this method before anything else, especially before you do the time consuming task to build the feed (web fetching, for example).
Inherited From FeedCreator
FeedCreator::addItem()
FeedCreator::addNamespace()
FeedCreator::createFeed()
FeedCreator::iTrunc()
FeedCreator::outputFeed()
FeedCreator::saveFeed()
FeedCreator::setEncoding()
FeedCreator::useCached()
FeedCreator::version()
FeedCreator::_createAdditionalElements()
FeedCreator::_createGeneratorComment()
FeedCreator::_createNamespace()
FeedCreator::_createStylesheetReferences()
Inherited From HtmlDescribable
HtmlDescribable::getDescription()
Documentation generated on Wed, 28 Mar 2007 09:54:16 -0600 by phpDocumentor 1.3.1