Plutonic Posted November 2, 2007 Share Posted November 2, 2007 Hi, I am making an automated minisite, I found a tutorial but it uses Magpierss to fetch the feed content and Magpierss wont work for me. Is there a simple code that will allow me to fetch the Title (linking to the original article), Description and Date Posted? And put them all into my PHP website? Thanks. Link to comment https://forums.phpfreaks.com/topic/75711-fetching-rss-content/ Share on other sites More sharing options...
Plutonic Posted November 2, 2007 Author Share Posted November 2, 2007 Anyone? Link to comment https://forums.phpfreaks.com/topic/75711-fetching-rss-content/#findComment-383213 Share on other sites More sharing options...
Plutonic Posted November 2, 2007 Author Share Posted November 2, 2007 B~U~M~P Link to comment https://forums.phpfreaks.com/topic/75711-fetching-rss-content/#findComment-383237 Share on other sites More sharing options...
Plutonic Posted November 2, 2007 Author Share Posted November 2, 2007 Anyone? I need this for a school project. Link to comment https://forums.phpfreaks.com/topic/75711-fetching-rss-content/#findComment-383337 Share on other sites More sharing options...
Plutonic Posted November 2, 2007 Author Share Posted November 2, 2007 After I give it to my teachers I will sell it. I am setting up a fully automated custom site and this is the last bit I need. I will give a free copy of the full script to whoever can tell me how... Link to comment https://forums.phpfreaks.com/topic/75711-fetching-rss-content/#findComment-383394 Share on other sites More sharing options...
tippy_102 Posted November 3, 2007 Share Posted November 3, 2007 I use RSSfetch from http://www.neoprogrammers.com/ Link to comment https://forums.phpfreaks.com/topic/75711-fetching-rss-content/#findComment-384359 Share on other sites More sharing options...
einz Posted November 3, 2007 Share Posted November 3, 2007 Get contents of feed (cURL or fopen or file_get_contents) and create SimpleXMLElement object giving as an argument the 'raw' feed. Then try to check what your new shiny object has. (you will need php compiled with support for SimpleXML, but as of php5 it's default...) Link to comment https://forums.phpfreaks.com/topic/75711-fetching-rss-content/#findComment-384388 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.