Integrating SimplePie RSS |
[eluser]Jezz[/eluser]
Hello All, I have need of some RSS parsing stuff in my first ever CI project and was wondering what the best method was. I was planning to just import simple pie, and see that this has already been done by others within CI: http://www.nextbigleap.com/blog/developm...deigniter/ I was just wondering if this the best approach... or whether anyone has some other resources they would be able to share? Thanks, Jez
[eluser]Jelmer[/eluser]
Just put it into your libraries directory as Simplepie.php And then load it like any other library: Code: $this->load->library('simplepie'); And then use it like this: Code: $this->simplepie->set_feed_url($url) As far as I remember that's all I did, didn't change anything else.
[eluser]Daniel Peraza[/eluser]
Hi guys!, what if I need not only to parse a RSS Feed, but to automatically generate it from data stored in a DB? does SimplePie allow me to do this? (obviously, the data will need to be transformed by a controller into a RSS view file).
[eluser]pistolPete[/eluser]
Have a look at building-an-rss-feed-in-code-igniter. |
Welcome Guest, Not a member yet? Register Sign In |