BharatBhasha.com
 
Free Articles  >>  Computers and internet >>  Page 61  >> 

How To Display An XML Feed On Your Website

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.




Article Source: http://www.BharatBhasha.com
Article Url: http://www.bharatbhasha.com/internet-and-computers.php/36078


Article Added on Friday, January 20, 2006
Other Articles related to "How To Display An XML Feed On Your Website" by William Lee

Website Value What s Your Business Website Worth
If you were asked to put a value on your website what would it be? Perhaps you paid a small fortune and commissioned a top design agency to build it. It would still be worth at least what you paid for it, right? It's a sad fact that a great number of websites are worthless. They give no value to their owners and are little more than a drain on resources. Would it surprise you if your website was classed as one of these? The World Wide Web is made up of millions of webpages so it's not...

Articles In LimeLight
  • What Is A Two Way Radio? The Basics
    By Gabriel Adams Added on Wednesday, April 23, 2008
  • Car Loan Provider Should Offer Lending Expertise
    By Louis Rix Added on Sunday, April 20, 2008
  • Early Years And Importance Of Cheap Motels
    By Dave Text Added on Sunday, April 20, 2008
  • Hybrid Cars And Its Benefits
    By Levi Quinn Added on Sunday, April 27, 2008
  • What Are The Benefits Of Retractable Awnings?
    By Adam Peters Added on Monday, April 28, 2008
  • Decorating Styles For Different Occasions
    By Mr.Andrew Caxton Added on Monday, April 28, 2008
  • Buying A Second Hand Audi Then Learn As Much As Possible About Various Models
    By Louis Rix Added on Saturday, May 3, 2008
  • Used Car Loans Important Financial Products
    By Louis Rix Added on Sunday, April 20, 2008
  • All-round Solutions To The Incompatibility Between Vista And Old Games
    By Robert Snoog Added on Saturday, April 26, 2008
  • What Is The Best Mlm Business Opportunity?
    By Jason Paul Added on Wednesday, April 23, 2008
  • Pinhole Camera: Simple Concept, Small Camera, Sophisticated Images
    By Nahshon Roberts Added on Saturday, May 3, 2008
  • How To Stay Happy When Bad Stuff Happens
    By Gary Evans Added on Thursday, April 24, 2008
  • Forklift Courses: Different Ways To Train Your Operators
    By Ernest Jarquio Added on Tuesday, April 22, 2008
  • 4 Things To Build Yourself Up For Internet Marketing
    By K. Faram Added on Saturday, May 3, 2008
  • FHA Loans The New Subprime Alternative?
    By Christopher D. Beard Added on Saturday, May 3, 2008
  • IP Network Camera vs Analog Camera
    By Nahshon Roberts Added on Saturday, May 3, 2008
  • How To Increase Your MySpace Music Plays
    By Daniel Millions Added on Friday, May 2, 2008
  • Barometric Pressure And Headaches
    By Mary Betz Added on Thursday, April 24, 2008
  • How To Prepare For Auto Loans?
    By Mark Robinson Added on Friday, May 2, 2008
  • Get A Cheap Credit Card By Understanding The Fees
    By Carrie Reeder Added on Monday, May 5, 2008
  • About Author William Lee :

    William Lee is the Internet Marketing Fool (http://www.internetmarketingfool.com). The MagpieRSS website is http://magpierss.sourceforge.net/. The code to copy in step 4 can be found at http://snipurl.com/example_code.

    Publishers / Webmasters
    Tell A Friend
    Comments / Questions?
    Download this article in PDF
    Search through all the articles:


    354 Users Online!
    Related Articles:
    Latest Articles:
     
    computers and internet >> Top 50 Articles on computers and internet >> All Articles in this category
    Category - >
    Advertising Advice Affiliate Programs Automobiles
    Be Your Own Mentor Careers Communication Consumers
    CopyWriting Crime Domain Names DoT com Entrepreneur Corner
    Ebooks Ecommerce Education Email
    Entertainment Environment Family Finance And Business
    Food & Drink Gardening Health & Fitness Hobbies
    Home Business Home Improvement Humour House Holds
    Internet And Computers Kiddos and Teens Legal Matters Mail Order
    Management Marketing Marriage MetaPhysical
    Motivational MultiMedia Multi Level Marketing NewsLetters
    Pets Psychology Religion Parenting
    Politics Sales Science Search Engine Optimization
    Site Promotion Sports Technology Travel
    Web Development Web Hosting WeightLoss Women's Corner
    Writing Miscellaneous Articles Real Estate Arts And Crafts


    Disclaimer: The information presented and opinions expressed in the articles are those of the authors
    and do not necessarily represent the views of Bharatbhasha.com and/or its owners.


    Copyright © AwareINDIA. All rights reserved || Privacy Policy || Terms Of Use || Author Guidelines || Article Search
    FAQs Link To Us || Submit An Article || All Products || Free Downloads|| Contact Us || Site Map  || Advertise with Us ||
    Click here for Special webhosting packages for visitors of this website only!