Parse RSS feed - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Parse RSS feed (/showthread.php?tid=26055) |
Parse RSS feed - El Forum - 01-05-2010 [eluser]Hitankar[/eluser] Is there is a plugin or way to parse RSS fields and convert to something like an array, which I like to save it onto the database. Thanks. Parse RSS feed - El Forum - 01-05-2010 [eluser]Flemming[/eluser] SimplePIE worked for me! http://ellislab.com/forums/viewthread/133938/ http://simplepie.org/ let me know if you need example implementation code Parse RSS feed - El Forum - 01-05-2010 [eluser]pistolPete[/eluser] Use the forum search and have a look at the wiki: - http://codeigniter.com/wiki/RSSParser/ - http://codeigniter.com/wiki/RSSParser-PhilMod/ - http://ellislab.com/forums/viewreply/493333/ Parse RSS feed - El Forum - 01-07-2010 [eluser]Hitankar[/eluser] [quote author="Flemming" date="1262709430"]SimplePIE worked for me! http://ellislab.com/forums/viewthread/133938/ http://simplepie.org/ let me know if you need example implementation code[/quote] That would be great if I can have an example implementation code. I will get to understand better. Thanks... Parse RSS feed - El Forum - 01-08-2010 [eluser]Flemming[/eluser] sorry for the delay - couldn't get to the PC due to snow! ok - here's some example code for you ... find the simplepie.php library file to your application > libraries folder (you may have to search the forums for it) and then ... controller: Code: function __construct() and view: Code: foreach($rss_items as $item) hope that gets you on your way? or you can look here: http://www.haughin.com/code/simplepie/ for the original example! sorry, should have pointed you to that earlier! Parse RSS feed - El Forum - 01-08-2010 [eluser]Hitankar[/eluser] Thanks a lot. Is there's a way I could save into database, and update the database whenever the feed is updated. Parse RSS feed - El Forum - 01-11-2010 [eluser]Flemming[/eluser] I suppose you could move this into the controller: Code: foreach($rss_items as $item) Parse RSS feed - El Forum - 03-18-2010 [eluser]angeal99[/eluser] can anybody give me example site that integrating simplepie with codeligniter??? please.... Parse RSS feed - El Forum - 03-18-2010 [eluser]Flemming[/eluser] what do you need an example of? |