XML Media Formats Robin Burke ECT 360. Outline Multiple XML documents SMIL HTML+TIME Break WML XHTML MP Final Project Presentation.

Slides:



Advertisements
Similar presentations
Introduction to HTML & CSS
Advertisements

Combining Media 8. Key Points There are two models for combining elements of different media types: page-based and synchronization-based Hypermedia is.
A really fairly simple guide to: mobile browser-based application development (part 1) Chris Greenhalgh G54UBI / Chris Greenhalgh
XML Technology in E-Commerce
M. Honkala, A. Vainio XForms & SVG MITA Seminar, HUT SVG Introduction Features Benefits Simple Example Standardization Mobile Environment Current.
SMIL: Synchronized Multimedia Integration Language 2.0 Nabil LAYAÏDA INRIA Rhône-Alpes – SYMM WG/W3C, Monbonnot March 2002.
School of Computer Science & Information Technology G6DPMM - Lecture 18 Synchronized Multimedia Integration Language (SMIL)
WMC  “Web standards” can refer to the actual specification of how a language or technology works.  An industry standards body, such as the.
Do You Have the Time? Composition and Linking in Time-based Hypermedia Lynda Hardman, Jacco van Ossenbruggen, K. Sjoerd Mullender, Lloyd Rutledge, and.
Timing in XML XML and XSL Timing framework in XML Approaches Inline syntax (SMIL) Styled Timing Timesheets Timesheets and SMIL comparison.
Timing in XML Timing framework in XML Approaches Inline syntax (SMIL) Styled Timing Timesheets Timesheets and SMIL comparison.
© De Montfort University, Synchronised Presentations using SMIL Howell Istance School of Computing De Montfort University.
Web Design, 3 rd Edition 3 Planning a Successful Web Site: Part 1.
E GOV Universal Access Ahmed Gomaa CIMIC Rutgers University.
W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application with a clean migration path from HTML 4.01 CSS: Style sheets.
Chapter 14 Introduction to HTML
Chapter ONE Introduction to HTML.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) HTML Basics James Wang.
Creating a Simple Page: HTML Overview
E0262 – MIS – Multimedia Storage Techniques SMIL – Synchronized Multimedia Integration Language.
CHAPTER 2 Communications, Networks, the Internet, and the World Wide Web.
Multimedia and the Web Chapter Overview  This chapter covers:  What Web-based multimedia is  how it is used today  advantages and disadvantages.
_ HTML, XHTML & CSS Sami Niemelä | Module 1: Introduction to digital media: Day 02.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
Lectured By: Vivek Dimri Assistant Professor, CSE Dept. SET, Sharda University, Gr. Noida.
CIS 375—Web App Dev II WAP. 2 Introduction to WAP WAP ________________________ is an application communication protocol that uses a ______ Browser in.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Chapter 1 Understanding the Web Design Environment Principles of Web Design, 4 th Edition.
HTML - basic tags - How to learn more. What is HTML? HyperText Markup Language HTML5: – Recommended by the W3C.
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Using Cocoon Page 2 Ovidiu Predescu April 5th, 2001 Using Cocoon to build Web sites for wireless devices Ovidiu Predescu Hewlett Packard ApacheCon 2001.
Using Cocoon Page 2 Ovidiu Predescu April 5th, 2001 Using Cocoon to build Web sites for wireless devices Ovidiu Predescu Hewlett Packard ApacheCon 2001.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SMIL Ellen Pearlman Eileen Mullin Programming the Web Using XML.
CHAPTER TEN AUTHORING.
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Using Multimedia Tools Mark Grabe. Copyright © Houghton Mifflin Company. All rights reserved.7-2 Classification of Student Projects n Embellished documents.
FYP: LYU0001 Wireless-based Mobile E-Commerce on the Web Supervisor: Prof. Michael R. Lyu By: Tony, Wat Hong Fai Harris, Yan Wai Keung.
Multimedia Specification Design and Production 2013 / Semester 2 / week 5 Lecturer: Dr. Nikos Gazepidis
HTML: Hyptertext Markup Language Doman’s Sections.
XHTML By Trevor Adams. Topics Covered XHTML eXtensible HyperText Mark-up Language The beginning – HTML Web Standards Concept and syntax Elements (tags)
McLean HIGHER COMPUTER NETWORKING Lesson 6 Types of Browsers & WAP Explanation of browser functions Wireless access to the Internet Description of.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
Of 50 E GOV Universal Access Ahmed Gomaa CIMIC Rutgers University.
Introduction to Interactive Media Interactive Media Tools: Authoring Applications.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
XML Modules Extending Web Accessibility. W3C Web Accessibility Initiative (WAI) "The power of the Web is in its universality. Access by everyone regardless.
Chapter 1 Introduction to HTML, XHTML, and CSS HTML5 & CSS 7 th Edition.
XP Review 1 New Perspectives on JavaScript, Comprehensive1 Introducing HTML and XHTML Creating Web Pages with HTML.
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
Handheld device markup language
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
Chapter 8 Adding Multimedia Content to Web Pages HTML5 & CSS 7 th Edition.
Rendering XML Documents ©NIITeXtensible Markup Language/Lesson 5/Slide 1 of 46 Objectives In this session, you will learn to: * Define rendering * Identify.
Web Design Principles 5 th Edition Chapter 3 Writing HTML for the Modern Web.
1 Survey of Profiles from Other Domains XMSF Profile SG 13 January 2004 Curt Blais and NPS MV3250 (Introduction to XML, 1st Quarter 2005) Katherine L.
Objective % Select and utilize tools to design and develop websites.
SMIL and SVG Digital Multimedia, 2nd edition
Project 1 Introduction to HTML.
Objective % Select and utilize tools to design and develop websites.
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
An Introduction to HTML Pages
HTML CS 4640 Programming Languages for Web Applications
Presentation transcript:

XML Media Formats Robin Burke ECT 360

Outline Multiple XML documents SMIL HTML+TIME Break WML XHTML MP Final Project Presentation

Multiple XML documents Problem XSLT needs to access multiple XML documents Only has access to node-sets in document being processed Example curriculum designs course information

Solution document() function Retrieves document from URL can be used as part of an XPath expression <xsl:variable name="course-names" select="document('course-list.xml')/course- />

SMIL Synchronized Multimedia Integration Language Define Common Standards for multimedia documents. SMIL 1.0 (1998) SMIL 2.0 (2001)

The Idea General document format integrating different types of independent media objects. Promote the notion of time and synchronization as a core functionality. Bring together major industrial players to define a common standard. RealPlayer, Flash support

SMIL document A Set of “components” accessible via URLs. Components have different media types: audio, video, text, images and objects. Intra- and Inter-object synchronization. User interactions: media controls and hyper-links (random access).

Organization of a SMIL document Two parts : Head : contains information of document level Body : contains the temporal scenario, animations, transitions and the media objects

Structure of a document toto.smi head body seq switch par Layout Region 1 Media Audio Channel Media Transition Animation Transition

Example

Document Head META element: description of the document properties and metadata (RDF) Title, author, expiration date, keywords, summary, …

Spatial Aspect Layout element Hierarchical Model with hotspots (regPoints) Layers instead of text flow (text flow for text !) Simple Positioning close to the CSS Model (x, y, z-index, fit)

Spatial Aspect Region 1Region 2 Region 3 b c a Time flow Regions and sub-regions for the spatial placement of media objects

Document Body: Synchronization Contains the temporal scenario of the document A scenario is defined recursively : Schedule elements Schedule = Parallel | Seq | Switch

Basic Media Objects Media Objects marked-up with: Audio, Video, Text, Img, Textstream, Animation, Ref, Param, et … Prefetch Attributes : Src : identifies the basic media object file (URL) rtsp://rtsp.example.org/video.mpg Type : mime type (eg. video/mpeg) Region : identifies the drawing surface Dur : duration of the media object

Synchronization Attributes The Dur (duration) attribute: “intrinsic”: the duration corresponds to the duration of the external file. “explicit”: the duration is specified in the document (dur= “15 s”) The repeat attribute: RepeatCount=“3” repeats the simple duration of the media. RepeatDur=“12 s” :

Synchronization Attributes The begin, end attributes: Value (begin= “13 s”) : offset relative to the parent element. Reference to another clock : (begin= “e2.end + 5 s ”) Reference to the absolute time reference: (begin= “wallclock( Z)” Reference to an asynchronous event (interactivity): (begin= “button.click”)

Media Clipping Spatial Clipping using regions and sub-regions Temporal Clipping using clip-begin et clip-end attributes (media objects are external files) <video id="a" src=“video.mpg" clip-begin=“smpte=00:01:45" clip-end=“smpte=00:01:55" … /> MediaSlice

Semantics : play in sequence a set of media objects Attributes Fill : used to make the object « persist » on the screen Remove : removes the object at end time Freeze : keeps the last frame at end time The sequential element

The parallel element Semantics : Play in parallel a set of media objects End time : maximum duration of child objects

Synchronization Arcs and Events a cb d... <text id="c" src="text" begin="id(d)" end=id(a)(end) />... Triggering of objects on events :... <video id="b" src="video.mpg” begin=“a.activateEvent" end=“a.activateEvent />... a c b

Switch element An element to choose from a set of content equivalent objects Choice is based on attribute values language, screen size, depth, bitrate, systemRequired …and user preferences

Animations Definition : A set of attributes are target of the animation A function (calc mode) makes these attributes evolve A control on the instants where the changes are applied Syntax animateMotion : graphical movements of elements animate : generic animation applied to element attributes from/to/by/calcMode set : discrete change of an attribute value at a given instant animateColor : animation in the color space

Animations <animate begin= "5s" dur="10s" attributeName="top" by="100" repeatCount="2.5" fill="freeze" calcMode="linear"/> Calc Mode : discrete, list of values with linear, log interpolation

Transitions Element : transition Type and Subtype (transition repository + variant) transIn and transOut attributes <img src="wolf.jpg" dur="5s" fill="transition" transIn="wipe2" transOut=“wipe1”... /> Transition

Hypermedia time-based links Compatible with (Xlink/Xpointer) Extension to the semantics of URLs or)) Two types (a: whole object, area: part of it) Jump over time and space !! Attribute show Replace (default value) New (fork) Pause (procedure call)

Links with spatial and temporal anchors Anchor on a sub-surface of an object Anchor on a sub-duration of an object time

Example

HTML+TIME A set of extensions to HTML for building in animation Will eventually be replaced by XHTML + SMIL Usable now

Example

Break

Wireless Web Content WAP Wireless Application Protocol defines interaction style, not content WML older standard based on "card" metaphor supported by most phones XHTML MP MP = "mobile profile" regular HTML with restricted element set cHTML "compact" HTML used for iMode (Japan) migrating to XHTML MP

WAP 1.0 Gateway

WAP 2.0 Gateway

WML Wireless Markup Language content for cell phone display “microbrowser” Special characteristics small size multiple “pages” per download cards

WML Elements card a chunk of screen content title, id multiple cards in one WML document "deck" do link to built-in "options" and "accept" softkeys p text content a links wtai protocols for phone functions dial number, save in phone book img only wbmp supported

Example

Variable example

XHTML MP Different

Differences Multi-page vs deck can use multi-part message Some functionality gone variables softkeys Browser / device-dependence more important image formats table support CSS support

Example

Handling device differences Basic problem want the best display for each device device capabilities vary widely CSS not widely implemented CSS not enough Solution dynamic server-side page generation based on device profiles can be done with XSLT

Device-specific information WURFL Wireless Universal Resource File XML application

WURFL example...

Final Project Presentation 10% Previous milestones 10% Presentation 20% Design 25% Schema 35% XSLT

Presentation Whole team should be here Plan to stay to see all the projects Group assessment exercise