Saturday, September 24, 2011

Instant Rss/Xml Feed Reader Readme Notes

Reads RSS/XML compliant news feeds via a client-side Javascript Script Include in your web pages!. Configure the source of the news feed via a single configuration file. Simple, free and easy to use!

Features-At-A-Glance:

=> Use a client-side Javascript Script Include to retrieve RSS/XML News Feeds.
=> Change the News Feed Source via a Configuration script.
=> Allows Caching of the RSS Feeds.

Simple Installation:

1. Download all the files to a single location in your web server.

2. To Use, include this small snippet in the portion of the HTML file that you would like the news feed to appear:

<SCRIPT language=JavaScript src="http://yourdomain.com/instantfeedreader.php"></SCRIPT>

3. Open up instantfeedreader.confic.inc.php  and change the location of the news feed URL to your desired one.


MULTIPLE News Feeds OPTION ONE :

This is for those who wants to display specific news feeds.

You can display MULTIPLE News Feeds on your website if you have a few installations of this in seperate folders.

eg.
/newsfeed1/instantfeedreader.php
/newsfeed2/instantfeedreader.php
/newsfeed3/instantfeedreader.php
/newsfeed4/instantfeedreader.php

And your javascript in your website would look something like

<SCRIPT language=JavaScript src="http://imtiaztips.co.cc/newsfeed1/instantfeedreader.php"></ SCRIPT>
<SCRIPT language=JavaScript src="http://imtiaztips.co.cc/newsfeed2/instantfeedreader.php"></ SCRIPT>
<SCRIPT language=JavaScript src="http://imtiaztips.co.cc/newsfeed3/instantfeedreader.php"></ SCRIPT>
<SCRIPT language=JavaScript src="http://imtiaztips.co.cc/newsfeed4/instantfeedreader.php"></ SCRIPT>


MULTIPLE News Feeds OPTION TWO :

Leave $sFilename (in the configuration file) as "" to use the URL version
example

In config file
$sFilename = "";

In the javascript
<SCRIPT language=JavaScript src="http://imtiaztips.co.cc/instantfeedreader/instantfeedreader.php?feed=http://www.imtiaztips.co.cc/feed.xml"></ SCRIPT>

The reasoning behind this is to prevent other people from supplying any feed in the url and use up your precious server resources, if you only want specific news feeds to be read.

So, either supply a filename in the config file, and ENSURE that it is the only feed that you serve

OR, leave the filename blank in the config file, and allow possibly anyone to type in any feed url.


There would not be any technical assistance on this script. However you can pop a question or so to me at my email ( imtiaztips@gmail.com ). It is good to say hi!

You could visit my website at http://articlesworld.byethost15.com/

Thank you once again!

No comments:

Post a Comment