How To Show An XML Feed On Your Site

By Aaron M Spelling

In : 1 How to, RSS

October 26, 2023

minutes remaining


Basic Syndication (RSS) has taken off in a big way.

Just as satellite TV beams more channels into your house than you can see, RSS permits you to display a limitless amount of other individuals’ material. While RSS XML feeds are plenty, there’s less in the method of clear, simple direction when it concerns using those feeds.

If you’re one of the web designers who utilizes a content management system that uses RSS XML feeds as essential as specifying a feed URL, then you’re fortunate. For others, the options offered tend to be used by software designers, and the usage directions offered can often be riddled with technical jargon. Numerous cry, “Utilize my feed,” but fewer tell you how.

Among the best and most convenient methods I’ve found to reveal the content from an RSS XML feed on one of my sites is a prepared-made PHP parser. Now, do not stress over what that means; think about it as something somebody has created: a Blackbox that makes it easy to use material from RSS feeds and display on your site.

I’ve used MagpieRSS for this guide because it’s compact, works well, and is dispersed under the GPL, which generally suggests it’s free for you to use.

MagpieRSS is written in PHP, so you’ll require a suitable hosting account that permits you to carry out PHP scripts.

For this guide, you should have some standard knowledge about websites, e.g., how to FTP, change file approvals, etc. Covering the basics of running a website is beyond the scope of this article.

Instead, let’s cover what are most likely the most challenging steps: showing the content from an RSS eat your website.

1. Download the current steady release of MagpieRSS.

2. Extract the contents of the ZIP file onto your computer system.

3. The core files you need from the ZIP package are rss_cache. You’ll also need the extlib folder and the Snoopy.class.inc file inside.

Develop a brand-new file to show your RSS feed. Inside this file, please copy and paste the file referred to listed below and save it.

5. Submit all the files and folders mentioned in steps 3 and 4 to your hosting account. Put them into the wanted place; however, guarantee that the Snoopy.class.inc file is still within the ext lib folder.

6. How you present the feed’ to the file you developed in step 4 using your web browser.

That’s the fundamentals of it. Customizing the material is relatively simple as soon as you’ve got this far.

While RSS XML feeds are plenty, there needs to be a more explicit, primary direction when using those feeds.

If you’re one of the web designers using a content management system that makes using RSS XML feeds as simple as defining a feed URL, then you’re lucky. Lots of cries, “Utilize my feed,” however, less inform you how.

Could you produce a new file to show your RSS feed? Inside this file, please copy and paste the file referred to below and save it.


Monetize Your Content the Smart Way 

Tap into MASSIVE TV advertising revenue! Launch your TV channel!