Inheritance diagram for UniversalFeedCreator:
For general usage of a feed class, see the FeedCreator class below or the example above.
Definition at line 341 of file feedcreator.class.php.
Public Member Functions | |
_setFormat ($format) | |
createFeed ($format="RSS0.91") | |
Creates a syndication feed based on the items previously added. | |
saveFeed ($format="RSS0.91", $filename="", $displayContents=true) | |
Saves this feed as a file on the local disk. | |
useCached ($format="RSS0.91", $filename="", $timeout=3600) | |
Turns on caching and checks if there is a recent version of this feed in the cache. | |
Public Attributes | |
$_feed |
|
Definition at line 344 of file feedcreator.class.php. |
|
Creates a syndication feed based on the items previously added.
Definition at line 416 of file feedcreator.class.php. |
|
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.
Definition at line 433 of file feedcreator.class.php. |
|
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).
Definition at line 451 of file feedcreator.class.php. |
|
Definition at line 342 of file feedcreator.class.php. |