CodeIgniter Forums

Full Version: Using SimplePie with CodeIgniter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]nydeveloper[/eluser]
I'm interested in using SimplePie, or another RSS Parser, with CodeIgniter. However, most of the articles and videos that explain how to set it up, etc. to work with CI are all gone.

Here are some examples, all linked to from SimplePie's own documentation (http://simplepie.org/wiki/plugins/start)

* http://www.haughin.com/2007/07/03/ci-scr...simplepie/
* http://nextbigleap.com/blog/development/...odeigniter
* http://68kb.com/2007/10/31/codeigniter-and-simplepie/

My goal is to grab RSS feeds (XML files) by URL, and then parse the object or array that I've pulled from the file.

SimplePie seems perfect for this, but all of the documentation that explains how to integrate it with CodeIgniter seems to be gone. Sad

Any help here is greatly appreciated!

El Forum

[eluser]nydeveloper[/eluser]
I should add that I don't have to use SimplePie if someone has a better suggestion...

El Forum

[eluser]InsiteFX[/eluser]
This may help you, but needs to have the controller and models changed CI_

Build an RSS 2.0 Feed with CodeIgniter

El Forum

[eluser]Sire[/eluser]
What problems with Simplepie have you had? I'd also suggest looking into examples using DOM or Simplexml with PHP.

El Forum

[eluser]ardillanet[/eluser]
I'm using SimplePie and I like it.
But, I don't understand your problem.

Try read this instructions SimplePie Link