Display RSS feed on website - 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: Display RSS feed on website (/showthread.php?tid=32986) |
Display RSS feed on website - El Forum - 08-11-2010 [eluser]frist44[/eluser] I'd like to have the following URL displayed in a div on my front page. I looked a little into using jquery to populate that, but you get into cross site scripting issues. http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&q=digital+signage&cf=all&output=rss Has anyone done something similar? If so, what do you think is the easiest way to go about it? Display RSS feed on website - El Forum - 08-11-2010 [eluser]frist44[/eluser] I ended up just doing a file_get_contents on the RSS URL and then regex the contents for the title and link tags. Does this make sense? |