You are in Home page » Products » Opensource » RSSMiniReader, a small web component to include external RSS

Soluzione integrata di telefonia su internet a banda larga.
Search on this site:  

Are you interested to be updated about all things happens to me day by day?
Visit my new blog

RSSMiniReader, a small web component to include external RSS feed

Current version: 01.00/2009-01-05

RSSMiniReader example reading Slashdog feed

The RSSMiniReader is a small library to generate a small RSS feed reader in HTML. It's feature is that has minimum file requirements but however have some nice effects like rounded boxes, fadeIn effects and images feed.

So, uploading very few files, you can simply include external RSS/ATOM feed in your web pages.

This component is built by three files and you html page. The three files are a javascript library that do all the job to build the component, a CSS stylesheet to graphically format the reader and a server side script to proxy RSS feed request from this component and the external site where RSS feed is located. This last element is required to avoid javascript domain restriction for accessing an external domain from another domain.


To install this component, first of all, download it. You can download the stable release in zip or tar.bz2 format and unzip or untar in a folder. As an alternative, you can download a development version directly via SVN

svn co RSSMiniReader-SVN

After that, you are ready to copy files to your web space. First of all, copy javascript libraries.

RSSMiniReader uses some jQuery library like

If you have one ore more of these library already embedded in your web pages, use lib/RSSMiniReader.js and your missing libraries in lib/jquery/. If you don't use jquery at all or you don't know what it's, use lib/RSSMiniReader-full.js.

Copy this library in a location in your web space, say /lib/.

Copy the CSS file css/RSSMiniReader.css in a location in your web space, say /css/.

Copy proxy.php or in a web folder. Choose the first if you have PHP support or the latter if you have Perl support in your web hosting.

So suppose you now have this folder structure

folder structure

Open proxy.php and modify/delete url entries. As an example, if you wish to use RSSMiniReader only to capture feed, remove $url[1] and $url[2] rows and change $url[0] row as follow


/* Change only these urls */
/* It's not dynamic to avoid open proxy usage */

$url[0] = '';

header('Content-type: text/xml'); print getFeed($url[$_GET['urlid']]) ...

Save and close proxy.php. Now open your_web_page.htm and include RSSMiniReader main library in HMTL head section and its CSS

<script type="text/javascript" src="/lib/RSSMiniReader.js"></script>
<link href="/css/RSSMiniReader.css" rel="stylesheet" type="text/css" />


Then, inside BODY page, add a DIV tag and give it an unique ID. After it, write code to create component inside the DIV element

<div id="an_unique_id"></div>
<script>new RSSMiniReader('an_unique_id','proxy.php?urlid=0')</script>

The result should be something like this:

RSSMiniReader example reading Slashdog feed


Download in .zip format

Download in .tar.bz2 format


Copyright (c) 2009 Emiliano Bruni <info AT>. All rights reserved. This library is released under the GNU LESSER GENERAL PUBLIC LICENSE v.3 JavaScript Menu Courtesy of

Leave a comment

Names and emails are required (emails aren't displayed), url is optional. Comments will be submitted to moderation.

Tags available are: <A>, <STRONG>, <B>, <EM>

1.alessiofbt wrote on 2009-12-23 01:59:16


finalmente un lettore per i feed remoti valido

Davvero straordinario ;)

2.Hans wrote on 2010-01-29 10:46:53

That┤s what ia was searching for.
I have got 2 Pages - a Wordpress-Blog - there is rss no problem, but on my html-Site it was.

3.Markus wrote on 2010-06-02 19:43:32

How can i get Images from wordpress Feed? I only get title, Link and Description .what can i do?

4.Sandra wrote on 2010-06-22 09:47:11

It works fine. sing the jQuery library you can make perfect grapgic effects. Today the size of the libery is not interesting anymode:-)

5.web development wrote on 2010-07-06 11:22:49

I am reading for the first time about RSSMiniReader now, but I am really interested in it. The best thing about it is that it is small. All the components that I have used before were generating huge RSS feed readers and even not in HTML. Thanks for the installation guide too. I am not so strong in it so it was definitely useful for me. I will be waiting for more useful articles from you in the future too.

6.custom term papers wrote on 2010-12-23 16:41:36

The same problem as Marku`s one. Didn`t get image. Please tell what to do and how to work now...

7.avi to mp4 wrote on 2011-02-15 23:03:08

It seems that RSSMiniReader is really a great thing. I have never heard anything about it before but now I will definitely try it for external RSS feed on my website. Thanks for posting this one here and keep publishing such a great stuff in the nearest future too. papers wrote on 2011-03-28 19:39:48

the tutorial was really helpful for me and my co-workers, hope everyone understnads the real deal about it

9.Billy McKee wrote on 2014-03-25 17:17:23

Very helpful - works a treat on my personal in-house home page which contains useful links, weather in various places of interest eg snow reports at ski resorts etc. Thank you.

 Copyrightę 1997-2006 Emiliano Bruni Online from 16/08/1998 with visitors Write me to: