|
|
| UniversalFeedCreator::saveFeed |
( |
$ |
format = "RSS0.91", |
|
|
$ |
filename = "", |
|
|
$ |
displayContents = true | |
|
) |
| | |
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. - Since:
- 1.4
- Parameters:
-
| string | format format the feed should comply to. Valid values are: "PIE0.1" (deprecated), "mbox", "RSS0.91", "RSS1.0", "RSS2.0", "OPML", "ATOM", "ATOM0.3", "HTML", "JS" |
| string | filename optional the filename where a recent version of the feed is saved. If not specified, the filename is $_SERVER["PHP_SELF"] with the extension changed to .xml (see _generateFilename()). |
| boolean | displayContents optional send the content of the file or not. If true, the file will be sent in the body of the response. |
Definition at line 594 of file class_feedcreator.inc.php.
|