Download presentation
Presentation is loading. Please wait.
Published byMaud Davis Modified over 9 years ago
1
Automated News Feeds: The RSS Standard For News Feeds Brian Kelly UKOLN University of Bath Bath, BA2 7AY UKOLN is supported by: Email B.Kelly@ukoln.ac.uk URL http://www.ukoln.ac.uk/ Pres 2
2
2 The Guardian Feed An example of a Guardian news feed is illustrated. Note that you have to use your own Perl script to process the news information. All the Guardian provides is the URL of the news feed.
3
3 Moreover Moreover provides a wizard for choosing your news feed and its appearance To use the news feed, simply include the JavaScript code in your Web page <!-- // load global_article array with articles from category if (article != null) … To use the news feed, simply include the JavaScript code in your Web page <!-- // load global_article array with articles from category if (article != null) …
4
4 Need For Standards Proprietary approach: Every supplier has its own format for news feeds Many different applications needed to download and parse news feeds Standards approach: Open standard format for news Single application can be used with news feeds from different suppliers
5
5 RSS RSS: Originally (v 0.9) stood for Rich Site Summary A popular lightweight XML standard for distributing news feeds and syndication Now an RDF application – RDF Site Summary DOM Level 3 Events Working Draft Published 10 April 2001: The DOM Working Group has published an updated Working Draft of …. http://www.w3.org/TR/2001/WD-DOM-Level-3-Events-20010410/ DOM Level 3 Events Working Draft Published 10 April 2001: The DOM Working Group has published an updated Working Draft of …. http://www.w3.org/TR/2001/WD-DOM-Level-3-Events-20010410/ Now try exercises B5-3, B5-4 and B5-5 to gain experiences in using and creating RSS H
6
6 Parsing RSS W3C’s news information is available as an RSS file
7
7 Creating RSS RSSxpress is an example of a Web- based tool which can be used to create an RSS file This tool was developed by UKOLN Other tools are available to create RSS, and expect to see them in a CMS (Zope already does this). See Other tools are available to create RSS, and expect to see them in a CMS (Zope already does this). See
8
8 Approaches To Viewing UKOLN has two RSS parsers: RSSxpress: A CGI program Requires SysAdmin to install locally and configure Works with any browser RSSxpress-lite: JavaScript solution which can be used by HTML authors Browser must support JavaScript Need style sheet to improve appearance of news feeds See and
9
9 Other Parsers (1) RSS files can be processed by many applications - for example My.Netscape.com See for details on creating, validating and publishing your RSS file so that it is accessible in My.Netscape
10
10 Other Parsers (2) The Redland RSS 1.0 Viewer is an open source Web service allowing you to take RSS 1.0 feeds and format them as HTML It was developed by Dave Beckett, ILRT, University of Bristol. http://www.redland.opensource.ac.uk/rss/
11
11 Moreover provide a free tickertape application See Other Parsers (3) Headline Viewer is an MS Windows application that lets you see news headlines from a configurable list of Headline providers See
12
12 Other Parsers (4) A final example of a news reader is Feedreader.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.