I am trying to figure out how to let people put a scrolling box on their site that takes information from my site.... specifically a list of people that I have on one of my pages.
I know that I can create an rss feed, but what I am hoping to do is just provide a code snippit that they can take and put on their site without having to install an rss reader.
I may be wrong but doesn't a site have to have one in order to display an rss feed? What I am trying to avoid is making people install an rss reader.... or do most sites already have them?
Would this be called a widget or is it just an rss feed?
Tks.






pr0gr4mm3r posted this at 03:14 — 28th February 2008.
He has: 825 posts
Joined: Sep 2006
Ya, you're talking about a widget. The best way to do it would be to have your users put a some Javascript on their site that pulls the data from yours.
One possible example: On your site, make a PHP script, let's say at example.com/remote.php. Make that PHP script output your data in Javascript form. Then, have your users insert the following code to show it on their site:
<script type="text/javascript" src="http://www.example.com/remote.php"></script>'cbc58 posted this at 18:47 — 28th February 2008.
They have: 140 posts
Joined: Nov 2003
Tks. I'll try it.