Internet marketing resources, ecommerce web site design tutorials and  just for fun - free cell phone ringtones!
  Taming the Beast - quality web marketing and ecommerce development services

Embedding RSS feeds in web pages

Posted by Michael Bloch in web development (Tuesday October 24, 2006 )

Ever wanted to display RSS content in a HTML web page? It’s very easy to do thanks to a nifty and free application!

RSS2HTML is amazingly simple to use – it literally took me 2 minutes to download, configure, then publish up a basic web page that draws from Taming the Beast’s RSS feed.

You can see a *very basic* implementation of RSS2HTML here

Note: you will need php support to run this script on your server (see the end of this post for further info on embedding feeds into existing .htm/l pages using RSS2HTML).

For a free script, the documentation is amazingly detailed. The script itself is updated quite regularly and is highly configurable.

A word of warning – before you go pulling in feeds from all your favorite sites to display on pages of your own site, it’s wise and considerate to contact the site owner who offers the feed first. Some webmasters don’t take kindly to having their feeds used in this way without prior approval.. and I’m one of them ;). The reason for this is twofold:

a) If the site the feed is being displayed on is seedy or irrelevant, it can create a negative impression of the site the feed is drawn from. I’ve seen my feeds wind up being displayed on junky scraper and hate sites.. not cool.

b) Bandwidth and load – each time the page displaying the feed is loaded, it makes a call to the feed (although the premium version of RSS2HTML allows for caching) – if your pages are viewed many times within a short period, this can contribute to excessive load on the feed provider’s server and you may wind up getting a nasty “cease and desist” email.

If you’re wanting to embed feeds in your current html pages using the RSS2HTML script, while you’ll still need PHP support, it is possible to do so using server side includes, that I discuss towards the end of an article relating to alternatives to frames. You simply call the .php file as an include. Not the most elegant way to go about it I guess, but it will certainly do the job in a pinch and display quite well :)


3 comments for Embedding RSS feeds in web pages
  1. I’m using this same feed on my site, but it is not exactly what I’m looking for. I want to display the entire article, not just the name, date, and description. Is there a way to do this?

    Comment by Glen — December 20, 2006 @ 1:17 am

  2. Hi Glen, if a site is only providing a partial feed or feed summary, that’s all that can be displayed. A full feed, i.e. a feed showing full articles still uses the description tag for the entire article body content.

    Comment by Michael Bloch — December 21, 2006 @ 4:07 am

  3. Do you have a codes for embedding blog using rss feed?

    What I want to happen is to post a blog on our website content.


    Comment by Alameda, Rene Jun D. — December 18, 2007 @ 2:19 am

Sorry, the comment form is closed at this time.