Mortekai Posted August 1, 2009 Share Posted August 1, 2009 I have been using Magpie for RSS for a while and although it works, I would like to add RSS feed to my website without it, but I am not really sure how to do it, or rather how to do it the way I want. I want to be able to grab any RSS feed and either just print out a ul list with headlines or the entire feed. I also want to merge several feeds into one and have each individual feed have its own icon... ideas and suggestions? Link to comment https://forums.phpfreaks.com/topic/168372-easiestbest-way-to-add-a-rss-to-your-website/ Share on other sites More sharing options...
ignace Posted August 1, 2009 Share Posted August 1, 2009 You'll need something like simplexml (http://us2.php.net/manual/en/book.simplexml.php) to create the .RSS feeds. These RSS files need to be created according to the RSS Spec (http://cyber.law.harvard.edu/rss/rss.html). To merge multiple feeds just read them all in an individual simplexml, create a new simplexml object and add each and every other simplexml object. You can also use DOM (http://be2.php.net/book.dom) however some (new programmers) have problems by understanding the analogy. Link to comment https://forums.phpfreaks.com/topic/168372-easiestbest-way-to-add-a-rss-to-your-website/#findComment-888180 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.