adorablesites.com adorablesites.com
  Index Page :> About Us :> Place Your Link :> Privacy :> Terms of Use :> Add Article
Search:   
 
 

Congress Caught in a Twilight Zone

It is bad enough that Congress is ignoring the opinions of many of its constituents with regard to t ... - Kevin Roberts
 

White Sun - The Heavenly Seal

The Heavenly Seal is a hand sign to describe one cycle of Heaven and Earth (129,600 years) and the C ... - Teow Aun Chew
 

Killer Hurricane Katrina Not Done Yet

Hurricane Katrina will continue to bring more flooding and winds and once it exits Florida into the ... - Lance Winslow
 
 

The United States is the Greatest Nation in Human History

Believe it or not there are actually some people in the world who do not believe that the United Sta ... - Lance Winslow
 

Casino's Popping Up Leads To Negative Impact on Economy

Casinos and other forms of gambling are popping up in almost every state. Every other day you hear o ... - Howard Keith
 
 

Index Page –› Events & News –› RSS News Feeds
 

How To Put An XML Feed On Your Webpage

 

Really Simple Syndication (RSS) has taken off in a big way. Just as satellite television beams more channels into your home than you can watch, RSS allows to you display an endless amount of other peoples content. Whilst RSS XML feeds are plenty, there's not as much in the way of clear, simple instruction when it comes to making use of those feeds.

If you're one of the webmasters who uses a content management system that makes using RSS XML feeds as simple as specifying a feed URL then you're fortunate in that respect. For others, the options available tend to be offered by developers of the software and the usage instructions provided can often be riddled with technical jargon. Many cry, "Use my feed", but fewer tell you how.

One of the best and easiest ways I've found to show the content from an RSS XML feed on one of my websites is to use a ready made PHP parser. Now, don't worry about what that means, just think of it as somthing that someone has already created; a blackbox that makes it easy for you to use content from RSS feeds and display it on your website.

For this guide, I've used MagpieRSS because it's compact, works well and is distributed under the GPL, which basically means it's free for you to use. Now, MagpieRSS is written in PHP so you'll need a compatible hosting account that allows you to execute PHP scripts.

For the purposes of this guide, I'm assuming you've some level of basic knowledge about websites e.g. you know how to FTP, change file permissions etc. Covering the basics of running a website is beyond the scope of this article.

Instead, let's cover what are probably the most difficult steps; displaying the content from an RSS feed on your website.

1. Download the latest stable release of MagpieRSS.

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

3. The core files you need from the ZIP package are rss_cache.inc, rss_fetch.inc, rss_parse.inc, rss_utils.inc. You'll also need the extlib folder together with the Snoopy.class.inc file inside of it.

4. Create a new file to display your RSS feed. I've called mine, index.php. Inside this file, copy and paste the contents of the file referred to below and save it.

5. Upload all of the files and the folder mentioned in steps 3 and 4 to your hosting account. Put them into the desired location, but ensure that the Snoopy.class.inc file is still within the extlib folder.

6. Then visit the file you created in step 4 using your web browser.

That's the basics of it. Once you've got this far, customising the way you present the content of the feed is relatively easy. Just refer back to the MagpieRSS website for guidance on how to do this.

Author: William Lee
 
Author Bio:
William Lee is a reputed author. William likes to write articles about this subject.
 
 
 

Related Articles

 
RSS and Blogging
 
White Sun - The Heavenly Mantra
 
Killer Hurricane Katrina Not Done Yet
 
How Non-technical Webmasters are Harnessing the Power of RSS
 
Bible Prophecy 2-"Earthquakes & War"
 
A Final Warning For the Luke Warm Christian
 
What Do I Need To Add Streaming Audio To My Site
 
RSS Feed Can Make Your Business Famous
 
Opinion, Value, & Taste in Art (10) The Lessons of History - Bening, Rossettim, & Kinkade Reconsider
 
Bhutanese Refugees in Nepal
 
 
 
Multiple links exchange
 
 

Health & Therapy

 

Finance & Banking

 

Music & Entertainment

 

Realty & Property

 

Self Healing

 

Hotels & Travel

 

Drink & Food

 

Jobs & Careers

 

Lifestyle & Fashion

 

Software & Networking

 

Automotive

 

Healthcare & Medicine

 

Government & Politics

 

Home & Garden

 

Research & Science

 

Business & Services

 

Outdoor & Sports

 

Culture & Art

 

Children

 

Online & Board Games

 

Events & News

 

Shopping Online

 

Society & Issues

 

Academics & Learning


 
Index Page :> Privacy :> Terms of Use  
Copyright © www.adorablesites.com - All Rights Reserved Worldwide.