Jump to content

Easiest/best way to add a RSS to your website?


Mortekai

Recommended Posts

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?

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.