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?

Link to comment
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.