Public Member Functions | |
| Feed ($title, $link, $description, $pubDate, $generator=null, $type=null) | |
| addItem ($feedItem) | |
| render ($type=null) | |
Definition at line 21 of file feed-creator.php.
| Feed::Feed | ( | $ | title, | |
| $ | link, | |||
| $ | description, | |||
| $ | pubDate, | |||
| $ |  generator = null,  | 
        |||
| $ |  type = null | |||
| ) | 
Constructor a new instance of the Feed class
| title | The title of the page the feed syndicates | |
| link | The URL of the syndicated page | |
| description | A short description of the syndicated page | |
| pubDate | The date this feed was last published (this should probably be the date of the most recent entry) | |
| generator | The name of the feed's generator. Defaults to Travelsized Feeds | |
| type | The type of feed to generate. Defaults to RSS2 | 
Definition at line 44 of file feed-creator.php.
References description, and title.
| Feed::addItem | ( | $ | feedItem | ) | 
Adds a new item to the feed
| feedItem | The item to add to the feed (instance of FeedItem) | 
Definition at line 62 of file feed-creator.php.
| Feed::render | ( | $ |  type = null           | 
          ) | 
Renders the feed
| type | Set a new type and render using that | 
Definition at line 74 of file feed-creator.php.
References $renderedContent.
 1.5.5