RSS in a static html page
I was asked to write something that could be cut and pasted into an html page that could display news from a central location on any number of pages. Previously we pulled news from a database and displayed it from a script, this would no longer work as this news had to be displayed on all manner of static pages, in all manner of locations, on all manner of servers.
I was playing around with a couple of wee widgets that may be useful to others who wish to use RSS in a static page.
First make a feed,
http://campusone.ulster.ac.uk/feed/feed.xml
Once you have a feed, go to this place where some nice person has made a very useful RSS viewer in javascript that can be placed anywhere in your html page.
http://publish.curry.com/rss/
Now all I need to do is write my own RSS viewer to do the same thing.
This however is a very quick and simple solution for those wanting to incorporate an rss feed into a static HTML page.
Comments
JavaScript.
*goes off and shoots himself in the head*
Posted by: Stephen | September 9, 2003 06:37 PM
You killed Beowulf.
You bastards.
Posted by: Stephen McCullough | September 9, 2003 11:06 PM
Is there another more obvious method of displaying an rss feed in plain HTML?
Posted by: Andy | September 10, 2003 11:37 AM
I use includes, I don't know how that squares with your requirement to use all manner of servers though.
Posted by: Stephen | September 10, 2003 01:30 PM
Serverside includes I mean, just in case there are others...
Posted by: Stephen | September 10, 2003 01:31 PM