PHP Ticker

I got a request over the weekend for info on my RSS ticker, available on Edu_RSS. It was from a PHP site (called missingabducted, hence the examples), so I coded up a PHP version that will take any URL and return a ticker. Not fancy code, just some fun.

See the demo at: http://www.downes.ca/missingabducted.htm

To make the demo work on your site, place the following script anywhere in the body of your page:

<iframe height="13" marginwidth="0" width="629" scrolling="no" src="http://www.downes.ca/cgi-bin/ticker.php?url=http://www.missingabducted.com/index.php/category/amber-alert-ticker/feed" frameborder="0" marginheight="0"> </iframe>

I have attached the PHP script, ticker.php. The script, like your original script, is based on a PHP library called MagpieRSS. Therefore, in order to make it run on your site, you will need to do the following:

- Download MagpieRSS from SourceForge http://prdownloads.sourceforge.net/magpierss/magpierss-0.72.tar.gz?download (More info on Magpie: http://magpierss.sourceforge.net/ )

- Install Magpie on your server ( simply extract the archive and upload it to your server - PHP is a very easy install; if you have issues with this, write me )

- Determine where you will install ticker.php (preferably in your PHP directory, so it will run)

- Edit the 'require' line of ticker.php to point to the location of Magpie. In my script the line is currently: define('MAGPIE_DIR', 'php/magpie/'); You want to change 'php/magpie' to point to whatever directory rss_fetch.inc is located.

- Put ticker.php into the directory you have chosen and make sure your ticker.php has permission to run (chmod 755 ticker.php)

Once your script is installed, you would then change src="http://www.downes.ca/cgi-bin/ticker.php? in the HTML code I gave you above to the URL of your own ticker.

Projects & Collaborations
Browse through the thousands of links in my knowledge base sorted according to topic category, author and publication.

Research
Browse through the thousands of links in my knowledge base sorted according to topic category, author and publication.


Stephen Downes

About Me
Bio, photos, and assorted odds and ends.

Publications
You know, the ones that appear in refereed journals of Outstanding Rank.

Presentations
Lectures, seminars, and keynotes in a wide variety of formats - everything from streaming video to rough notes.

Articles
All my articles, somewhere around 400 items dating from 1995.

Audio
Audio recordings of my talks recorded in MP3 format. A podcast feed is also available.

Calendar
What I'm doing, where I'm doing it, and when.

Photos
A collection of my photographs. Suitable for downloading as desktop wallpaper.

Stephen's Web
Since 1995

About this Site
Why this site exists, what it does, and how it works.

OLDaily RSS Feed OLDaily
Edu_RSS RSS Feed Edu_RSS
FOAF (Friend of a Friend) FOAF
Podcast Link
OLDaily Audio

OPML

About the Author

Stephen Downes

Copyright 2004 Stephen Downes
National Research Council Canada

Contact: stephen@downes.ca

Creative Commons License

This work is licensed under a Creative Commons License

.

I want and visualize and aspire toward a system of society and learning where each person is able to rise to his or her fullest potential without social or financial encumberance, where they may express themselves fully and without reservation through art, writing, athletics, invention, or even through their avocations or lifestyle.

Where they are able to form networks of meaningful and rewarding relationships with their peers, with people who share the same interests or hobbies, the same political or religious affiliations - or different interests or affiliations, as the case may be.

This to me is a society where knowledge and learning are public goods, freely created and shared, not hoarded or withheld in order to extract wealth or influence.

This is what I aspire toward, this is what I work toward. - Stephen Downes