-
Notifications
You must be signed in to change notification settings - Fork 27
Improved version (code style & feature) of version at http://codeigniter.com/wiki/RSSParser
License
ollieza/codeigniter-rssparser
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
RSSParser library - Production ready - CI 2.1.0 compatible
====================================================================
A simple library to pass RSS feeds.
Usage:
------
$this->load->library('rssparser');
$this->rssparser->set_feed_url('http://example.com/feed');
$this->rssparser->set_cache_life(30);
$rss = $this->rssparser->getFeed(6); // Get six items from the feed
Other functions:
// Using a callback function to parse addictional XML fields
$this->load->library('rssparser', array($this, 'parseFile')); // parseFile method of current class
function parseFile($data, $item)
{
$data['summary'] = (string)$item->summary;
return $data;
}
About
Improved version (code style & feature) of version at http://codeigniter.com/wiki/RSSParser
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published