Using CSS with XML documents Some browsers, including MSIE 5.5, accept CSS specifications for rendering XML tags.

Slides:



Advertisements
Similar presentations
Podcast From Wikipedia, the free encyclopedia A podcast is a collection of digital media files which is distributed over the Internet using syndication.
Advertisements

RSS and Podcasting Martyn A George Feb Outline What is RSS Feed Representation Feed Recognition Aggregators –Internet Explorer 7 Finding Feeds.
Intelligent Systems Lab Pusan National University 2007 컴퓨터공학실험 (I) 12 주 실습강의 RSS Reader.
IDK0040 Võrgurakendused I RSS 2.0 Deniss Kumlander.
XML eXtensible Markup Language ©2010 Paula Schales.
Creating and Managing RSS Feeds Kate Pitcher SUNY Geneseo © 2005
RSS, real simple syndication Skills: subscribe to feeds, read feeds IT concepts: RSS feed, polling vs. publish- subscribe, stand-alone vs Web based reader,
Lecture 10. Back to the table example We can now return to considering in detail the first XSLT style-sheet we saw –The one which, when applied to the.
CS 898N – Advanced World Wide Web Technologies Lecture 21: XML Chin-Chih Chang
CSc 667/867 Java Web Start / JNLP RSS. Deploying Software with JNLP and Java Web Start Delivering client-side Java technology-based programs has recently.
XHTML. XHTML is one of the many XML-based languages that have been defined XHTML is, essentially, a “cleaned-up” version of HTML 4, reformulated using.
What is RSS? Kate Pitcher ©
Rendering XML documents with XSL The most powerful approaches to rendering XML documents involve using XSL (eXtensible Stylesheet Language) XSL enables.
1 of 2 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation. All.
CSC 101 Andrew Eng 03/28/06. Assingments Slide 1 - Slide show title, your name, class, and data Slide 2 - Podcast - Title, Very short definition, link.
CSC 101 Slide Show Ashley Carroll. Podcast What is Podcasting? Podcasting is the distribution of audio or video files, such as radio programs or music.
Mark Frydenberg Computer Information Systems Department.
Web 2.0: Concepts and Applications 3 Syndicating Content.
RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites. RSS allows fast browsing for news and updates.
1 of 7 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
+ RSS Aggregation and Syndication. + Really Simple Syndication (aka, Rich Site Summary) Image source:
The Basics of RSS What is RSS? Using Mozilla Firefox Live Bookmarks How to Manually Create a Feed Where to Find RSS Feeds RSS Resources.
AUDIO 101 with Adrian What is an audio file format? An audio file format is a file format for storing digital audio data on a computer system. Universal.
Web 2.0: Concepts and Applications 3 Syndicating Content.
E0262 – MIS – Multimedia Storage Techniques SMIL – Synchronized Multimedia Integration Language.
Free e-Sources for English Language Teachers by Wallace Barboza Carolina TESOL December 6th, 2008 Charleston, SC.
Next on the CC Lab agenda: Creating a podcast. We will break this session into three parts: 1.Recording a sound file 2.Getting the results into proper.
Real Simple Syndication Kenneth M. Anderson CSCI 7818 November 30, 2000.
Podcasting in Education An exploration of the medium and its educational applications. The TRC Podcast Network is funded and supported by the El Paso Corporation,
Web Technologies Website Development Trade & Industrial Education
Adventures in Radio UserLand Lincoln Cushing, UC Berkeley Institute of Industrial Relations Library.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
Instant Presenter Features Video Display (top left) Delegate List (left panel) Slide Show (main window) Text Chat (below main window) Screen Share Option.
Setting Up an RSS Feed 1 Project by iWEBbic.com 1.
Core Publisher: Creating Programs & Podcasts. Training 1: Site Administration Training 2: Programs Training 3: Content Tagging Training 4: Creating Posts.
Podcasting Randy Graff, PhD Symposium on Teaching and Learning with Technology ELearning in Sakai.
XP New Perspectives on The Internet, Fifth Edition— Comprehensive, 2005 Update Tutorial 7 1 Mass Communication on the Internet Using Newsfeeds Tutorial.
What is RSS? And how do I use it to make my life easier.
Presented by: Introduction to iTunes U BCC on iTunes U.
Podcasting & Videocasting Session Presented by: Gordon F Snyder Jr Download Mike Q and my podcasts at:
LaRhonda and Casey CSC101 Assignment 2.2. “read, write, or edit a shared on-line journal” wordnetweb.princeton.edu/perl/webw n.
COS 125 DAY 21. Agenda Assignment 8 corrected  4 A’s, 2 B’s, 2 C’s and 1 late Assignment 9 not corrected yet Capstone progress report due There will.
Date : 3/3/2010 Web Technology Solutions Class: Application Syndication: Parse and Publish RSS & XML Data.
Podcasts/Podcasting Podcasting is the downloading of audio broadcasts to your computer. Podcasting entails audio content that is delivered via an RSS.
Wiki Space Introduction How to use Wiki spaces to complete your project on the Crusades.
R. Suresh (NASA/MTECH) Ben Burford (JAXA) Bernhard Buckl (DLR) Contact: - CEOS WGISS Meeting, Beijing, China, September 2004 A RSS.
Podcasting 101 Region One ESC. Agenda I.Podcasting Basics II.Subscribe to podcasts III.Audacity basics IV.Create audio podcast with Audacity.
XML - RSS Cathy Hsu. What’s RSS? RSS is considered a name variously used to refer to three different standards –Really Simple Syndication (RSS0.9) –Rich.
1 Emerging Technology Using RSS RSS and syndication By Steve Sloan RSS and syndication By Steve Sloan.
RSS Really Simple Syndication. Overview RSS is a web content syndication format RSS documents are XML and must conform to the xml 1.0 recommendation RSS.
Core Publisher: Creating Programs. Creating Programs in Composer Pro.
Podcasting in Education An exploration of the medium and its educational applications. Toyota USA Foundation sponsors our Podcasting in Education Initiative.
PODCAST term acronym derived from a combination of “pod” (capsule) and Broadcast (dissemination-issue) Its direct antecedents are audioblogs, variants.
Presentation On HTML & Podcast Done by: Shamelia Young & Sheriece Williamson.
Program Assessment User Session Experts (PAUSE) Information Sessions: RSS & Subscription Services October , 2006.
RSS Interfaces and Standards Chander Iyer. Really Simple Syndication (RSS) Web data format providing users with frequently updated content. Make a collection.
Subscribing to the RSS Feed 10/28/2013. What is an RSS Feed? What is RSS? –RSS stands for "Really Simple Syndication". It is a way to easily distribute.
Introduction to RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites.
Podcasts. (derived from Apple's "iPod" and "broadcasting“) a method of publishing audio files to the internet, allowing users to subscribe to a feed and.
RSS Syndication CS 431 – Carl Lagoze – Cornell University.
Three Internet Medias Podcast, Blogs, Wiki Jasmine Sampson CSC101.
CREATE, IMPLEMENT AND ENJOY! Blogs,Wikis & RSS Readers.
Podcasting workshop Roni Malek Science Learning Centre London
Working With RSS In ColdFusion Presented by Pete Freitag Principal Consultant, Foundeo Inc.
Weebly Elements, Continued
Podcasting Podcast Defined:
“Real Simple Syndication” (RSS)
Introduction to World Wide Web
Podcasting: Multimedia Syndication
Presentation transcript:

Using CSS with XML documents Some browsers, including MSIE 5.5, accept CSS specifications for rendering XML tags

Using CSS with XML documents (contd.) Consider the XML specification below: Celia Larkin Bertie Ahern This refers to a CSS style-sheet whose contents are shown on the next slide

Using CSS with XML documents (contd.) The contents of the CSS file personnel2.css are: male {color : blue; background-color : orange} female {color : pink; background-color : green} Remember that the XML content was: Celia Larkin Bertie Ahern Thus Celia Larkin should appear in pink on green while Bertie Ahern should appear in blue on orange See next slide

Before we consider XSL... Coming from a HTML background, you may assume that web pages only have utility if they are rendered in a browser However, that is not the case So, before we consider using XSL to render XML files, we will look at some usage of XML files which does not involve rendering them in browsers

XML applications that do not use browser-rendering

Many XML applications do not need any rendering at all We will look at a few, based on RSS, an XML application-specific "dialect" (a group of tags and attributes) We will consider the following RSS applications: –Newsfeeds –Podcasting

RSS (Really Simple Syndication) RSS is a method for syndicating (sharing/distributing) web content It is an XML dialect It is widely used by many newspapers and radio broadcasters to syndicate breaking news stories It is also used for other purposes

A simple example RSS file UCCi Lecture Podcasts A selection of lectures from UCC Mon, 12th December :30 GMT Casey.mp3 Wed, 8 Jun :00:00 GMT Does Mental Illness Exist? Patricia Casey explores the nature of mental illness. bones and breaks.mp3 Brittle Bones and Breaks Clive Lee explores the nature of bones and breaks.

RSS (contd.) An informal description of RSS can be found here: Unfortunately, even though RSS is widely used, it took off without a well-defined DTD A post-hoc DTD (developed by Peter Flynn of UCC) can be found here: However, current usage seems to have diverged from this -- we will modify Flynn's DTD to reflect what appears to be current usage

RSS (contd.) At the top level, an RSS document contains a element, The element has a mandatory attribute called version... We will discuss RSS 2.0, but the following versions of RSS are in use: 0.91 (June 2000), 0.92 (December 2000), 0.94 (August 2002) and and 2.0 (July 2003). We will also mention the Apple iTunes extension to RSS

RSS (contd.) The element has one required child element, the element: –this describes an information channel Apparently, a channel contains a title, link, and description, some optional features and, finally, one or more items. We can represent this as: A channel does not have any attributes The items are the real meat in the sandwich

RSS (contd.) The title, link, description elements: The title is the name of the channel -- how people refer to the service. The link is URL for the HTML website corresponding to the channel. The description is a phrase or sentence describing the channel.

RSS (contd.) The optional elements are mostly self-explanatory, but see <!ATTLIST cloud domain CDATA #IMPLIED port CDATA #IMPLIED path CDATA #IMPLIED registerProcedure CDATA #IMPLIED protocol CDATA #IMPLIED>

RSS (contd.) Providing a continually-updated list of items is the reason that a rss feed exists –for example, an rss newsfeed provides a current list of news stories The specification seems to be: Typically, the title sub-element contains a headline, the description sub- element contains a synopsis and the link sub-element points to the full "story" If an item contains multimedia objects, pointers to these are in the enclosure sub-elements For more information,see

Newsfeeds Many news agencies and newspapers provide newsfeeds in the form of RSS files People can access these newsfeeds through newsfeed aggregators -- special programs which run on the users' computers and whose purpose is to –continually access those newsfeeds to which a user has subscribed; – display a "ticker" of headlines –allow the user to access the full stories

Example newsfeed aggregator RssReader is can be downloaded here: News feeds can be added by simply pasting the URLs for the relevant XML pages into a window provided by the aggregator For example. to add the BBC newsfeed about the Middle East, one simply pastes e_east/rss.xml

Another example newsfeed aggregator Newspoint is provided by The Guardian, It can be downloaded here: It can be used to keep an eye on breaking news, from the Guardian itself, but also from any other source that provides an RSS newsfeed

Podcasting The word "podcast" was coined in 2004 It refers to the automated delivery of audio material to user's desktop computers for later listening on on these or on portable listening devices Typically the material consists of the most recent editions of radio programmes or audio blogs

Publishing podcasts When someone (an individual or a broadcaster like RTE) has online audio files that they wish to podcast, they – place on their website an XML file, called a podcast feed, which lists the available audio files –most podcast feeds are written using RSS –however, many sites are using the Apple iTunes extension to RSS RTE's podcast feed for a program called "Icons of Irish Science" is (2006) at this URL: Here is the podcast feed for UCC's "Last Lecture" series:

Example: the UCC podcast feed UCCi Lecture Podcasts A selection of lectures from UCC Mon, 12th December :30 GMT Casey.mp3 Wed, 8 Jun :00:00 GMT Does Mental Illness Exist? Patricia Casey explores the nature of mental illness. bones and breaks.mp3 Brittle Bones and Breaks Clive Lee explores the nature of bones and breaks.

Receiving podcasts Files from any podcast feed can be received using any of several different programs, for example: Juice or iTunes These programmes are called aggregators One simply posts the URL of the podcast feed into an aggregator window and tells the aggregator how often it should check the podcast feed

Receiving podcasts (contd.) The aggregator then –reads the podcast feed XML file on a regular basis –identifies which audio files are listed in the feed –downloads them into local storage The user can then listen to the audio files whenever this is convenient Thus, we have a service based on the exchange of XML files, with no need ever to render those files