Contents of this package:
[classes] -- class.rssnews.php
-- class.rssnewsWithCount.php
[css] -- style.css
[js] -- ajaxReaader.js
caller.php
index.php
How to use this package:
1) Load the directory (newsFeed) to your webserver.
2) Open http://localhost/newsFeed
3) Click on any of the links.
You are done.
How to customize:
1) Open 'index.php' , change as below:-
<a href="javascript:void(0)" onclick="makeRequest('titleForNews', 'newsDisplay');">Your News Channel Name Here</a>
2) Open class.rssnews.php, add/modify the following lines:-
case 'titleForNews':
$self->url = "Your News Channel Link Here";
3)Open http://localhost/newsFeed
4)Click on any of the links.
You are done. |