Metadata ResourcesRSS FAQ |
On the RDN pages, we run a regular background Perl script (from cron) that pulls in the remote RSS channel (XML) and converts it to HTML. Then we use SSIs in our pages to embed the HTML into the page at the appropriate point. An alternative approach is to generate the whole page using a CGI script, part of which gathers the remote XML file dynamically and transforms it into HTML at the time the page is generated. One could do similar things with PHP, SSIs or ASP I guess.
A simpler approach is to make use of an external service to transform the RSS channel into HTML for you. As part of RSS-xpress, we experimentally offer something called RSS-xpress Lite, which does just this. See
http://rssxpress.ukoln.ac.uk/lite/include/
for details. You can try it by embedding the following HTML somewhere in one of your pages
<script src="http://rssxpress.ukoln.ac.uk/lite/viewers/rss.cgi?rss=http://www.ukoln.ac.uk/rss/ukoln.xml"> </script>
and you should see a view of the UKOLN RSS channel. Replace the channel URL with one of your choice.
RSS is a simple XML metadata application. An RSS channel is just an XML file that is made available from somewhere on your Web site. The XML file consists of a list of 'items', each of which essentially consists of a title, a description and a URL of a 'news story'. The full story itself is typically a Web page that is made available separately.
To use your channel, people simply gather in the RSS XML file (using HTTP) and transform it into HTML, or WML, or whatever they want. The channel is updated by you updating the XML file, and by them re-gathering it on a regular basis, say hourly or nightly.
Create an RSS XML file and store it on your Web site somewhere. You can use RSS-xpress to do this if you want. The RDN maintain our central RDN news channel and our Behind the Headlines channel in this way. Alternatively, if your content is stored in a database, it might be more appropriate to generate your RSS XML file directly out of the database as well.
You need some software (or access to some software) that can convert the XML into HTML (see above). Punters, as in real end-users, don't need anything special - they are just viewing normal HTML.
http://rssxpress.ukoln.ac.uk/
http://www.rdn.ac.uk/ (the news
channels on the RHS)
http://www.rdn.ac.uk/news/
http://www.rdn.ac.uk/news/headlines/
http://www.ukoln.ac.uk/ (the
main news section is created from an RSS channel)
There are a number of pointers at
A scraping service is a service that converts (scrapes) relatively unstructured HTML into a more structure format such as XML.
I presume XML channels are maintained directly as XML. Scraped channels will be based on services that take HTML news offerings (e.g. the BBC pages) and convert them (sometimes illegally) into XML.