Пример #1
0
 /**
  * Creates a syndication feed based on the items previously added.
  *
  * @see        FeedCreator::addItem()
  * @param    string    $format    format the feed should comply to. Valid values are:
  *          "PIE0.1", "mbox", "RSS0.91", "RSS1.0", "RSS2.0", "OPML", "ATOM0.3", "HTML", "JS"
  * @return    string    the contents of the feed.
  */
 function createFeed($format = "RSS0.91")
 {
     $this->_setFormat($format);
     return $this->_feed->createFeed();
 }