Towards a Formatting Vocabulary for Time-based Hypermedia Jacco - - PowerPoint PPT Presentation

towards a formatting vocabulary for time based hypermedia
SMART_READER_LITE
LIVE PREVIEW

Towards a Formatting Vocabulary for Time-based Hypermedia Jacco - - PowerPoint PPT Presentation

Towards a Formatting Vocabulary for Time-based Hypermedia Jacco van Ossenbruggen Joost Geurts Lloyd Rutledge Lynda Hardman CWI Amsterdam I want multimedia stylesheets Jacco van Ossenbruggen Joost Geurts Lloyd Rutledge Lynda Hardman CWI


slide-1
SLIDE 1

Towards a Formatting Vocabulary for Time-based Hypermedia

Jacco van Ossenbruggen

Joost Geurts Lloyd Rutledge Lynda Hardman

CWI Amsterdam

slide-2
SLIDE 2

I want multimedia stylesheets

Jacco van Ossenbruggen

Joost Geurts Lloyd Rutledge Lynda Hardman

CWI Amsterdam

slide-3
SLIDE 3

WWW2003, Budapest 3 May 22

Talk overview

  • Crash course document formatting

– Separation of content & presentation – Formatting vocabularies

  • Multimedia formatting examples

– Demo: when text-based formatting doesn’t work – Timing, composition, transitions & layout reqs

  • Effects on multimedia formatting process

– Based on implementation in our Cuypers prototype

slide-4
SLIDE 4

WWW2003, Budapest 4 May 22

Document formatting basics

style sheet

Structured Document Structured Document

content

Formatted Document Formatted Document

styled content

Final-form Document Final-form Document

GUI’s screen browser

slide-5
SLIDE 5

WWW2003, Budapest 4 May 22

Document formatting basics

style sheet

Structured Document Structured Document

content

Formatted Document Formatted Document

styled content

Final-form Document Final-form Document

GUI’s screen browser

  • Separation of content …

– captured in structured document, “presentation free” – can be reused: multiple styles can be applied

  • … from presentation

– captured in style sheet – can be reused: applicable to multiple documents

  • Need to express formatting in style sheet

– when using XSLT: XHTML, SVG, MathML, SMIL, … – formatting vocabularies: CSS, XSL FO, DSSSL, …

slide-6
SLIDE 6

WWW2003, Budapest 5 May 22

Also useful for multimedia

  • For all the same reasons

– Reuse content in different contexts – Reuse style on different content – Flexibility, longevity and tailorability – But: often hard to separate content from presentation

  • Stylable multimedia not widely supported

– c.f. CSS support for HTML (SVG) – although SMIL 2.0 Rec. caters for CSS support

  • Multimedia requires additional

formatting support

– See examples in following slides

slide-7
SLIDE 7

WWW2003, Budapest 6 May 22

Working Example (OAI )

  • Metadata from

Open Archives Initiative

(OAI)

  • Semantic relations

inferred from metadata

[Little et al., ECDL 2002]

  • Layout determined by

Cuypers transformation engine

[Ossenbruggen et al., WWW10]

slide-8
SLIDE 8

CSS Styling for multimedia

Example use cases

slide-9
SLIDE 9

WWW2003, Budapest 8 May 22

Stylable color schemes

  • Could be done in SMIL (if

players would support CSS)

  • But don’t forget to style

your components too!

  • And what if your

components include non- stylable media

slide-10
SLIDE 10

WWW2003, Budapest 8 May 22

Stylable color schemes

  • Could be done in SMIL (if

players would support CSS)

  • But don’t forget to style

your components too!

  • And what if your

components include non- stylable media

slide-11
SLIDE 11

WWW2003, Budapest 9 May 22

Stylable transitions

  • Not currently in CSS
  • CCS could be extended

with SMIL 2.0 transition effects vocabulary:

slide-12
SLIDE 12

WWW2003, Budapest 9 May 22

Stylable transitions

  • Not currently in CSS
  • CCS could be extended

with SMIL 2.0 transition effects vocabulary:

img { transInType: fade; transInDur: 1s; transOutType: clockWipe; transOutDur: 1s; transOutSubtype: clockwiseTwelve; }

slide-13
SLIDE 13

WWW2003, Budapest 10 May 22

Stylable visual layout

  • Could be in CSS using

absolute positioning

  • Even better: specify

spatial relations directly:

slide-14
SLIDE 14

WWW2003, Budapest 10 May 22

Stylable visual layout

  • Could be in CSS using

absolute positioning

  • Even better: specify

spatial relations directly:

slide-15
SLIDE 15

WWW2003, Budapest 10 May 22

Stylable visual layout

  • Could be in CSS using

absolute positioning

  • Even better: specify

spatial relations directly:

Biography positioned left of, and vertically aligned with, slideshow Caption positioned below, and horizontally aligned with image

slide-16
SLIDE 16

WWW2003, Budapest 11 May 22

Stylable temporal behavior

  • Not currently in CSS
  • For “timesheets” see

[Schmitz & Ten Kate, WWW9;

Ossenbruggen2000; and

  • thers]
  • CSS could be extended

with SMIL vocabulary:

slide-17
SLIDE 17

WWW2003, Budapest 11 May 22

Stylable temporal behavior

  • Not currently in CSS
  • For “timesheets” see

[Schmitz & Ten Kate, WWW9;

Ossenbruggen2000; and

  • thers]
  • CSS could be extended

with SMIL vocabulary:

.slide { dur: 5s; } .slideshow { repeat: indefinite; }

slide-18
SLIDE 18

Multimedia transformations

Example use cases

slide-19
SLIDE 19

WWW2003, Budapest 13 May 22

Content selection & ordering

XSLT might be used to select, filter, re-order, re- group, etc. from XML content

<list> <president> <name> Abraham Lincoln </name> <biography>Lincoln is

  • ne of the most …

<img …> </president> <president> <name> Andrew Johnson </name> …

slide-20
SLIDE 20

WWW2003, Budapest 13 May 22

Content selection & ordering

XSLT might be used to select, filter, re-order, re- group, etc. from XML content

<list> <president> <name> Abraham Lincoln </name> <biography>Lincoln is

  • ne of the most …

<img …> </president> <president> <name> Andrew Johnson </name> …

slide-21
SLIDE 21

WWW2003, Budapest 14 May 22

Media with size constraints

Text-based overflow strategies (e.g. CSS) are

  • ften inappropriate for

multimedia

img { overflow: visible? hidden? scroll? “resize”? “try-something-else” }

slide-22
SLIDE 22

WWW2003, Budapest 15 May 22

Media with size constraints

Text-based overflow strategies (e.g. CSS) are

  • ften inappropriate for

multimedia

img { overflow: visible? hidden? scroll? “resize”? “try-something-else” }

slide-23
SLIDE 23

WWW2003, Budapest 16 May 22

Global resource constraints

  • Max. screen-size, duration,

bandwidth for multimedia

  • But also: 10 page limit of

WWW proceedings

try: // portrait text next to slideshow catch: // landscape text below slideshow

slide-24
SLIDE 24

WWW2003, Budapest 17 May 22

Requirements overview

  • Visual layout & style

– Sizes & positions, color schemes, fonts, …

  • Temporal structure & style

– Timing, durations, repeats, transitions, …

  • Template & data driven transformations

– Dimensions, types and number of media items often unknown

  • Abstract from target output format

– Generate SMIL X.0, timed HTML, …

  • Support resource constrained applications

– Can the player actually play what the style sheet generates?

slide-25
SLIDE 25

WWW2003, Budapest 18 May 22

Cuypers multimedia transformation engine

  • Prototyped small time-based hypermedia

formatting object vocabulary (HFO)

  • Implemented using constraint solver and

Prolog backtracking (ECLiPSe)

  • Used to explore use cases of working example

(server-side)

  • Online demo available (URL also in paper):

http://www.cwi.nl/~media/cuypers/

slide-26
SLIDE 26

WWW2003, Budapest 19 May 22

Formatting process comparison

Structured Document Structured Document Formatted Document Formatted Document Final-form Document Final-form Document

CSS browser HTML styled HTML GUI’s screen rendering engine

Structured Document Structured Document Formatted Document Formatted Document Final-form Document Final-form Document

XSLT XML XHTML/ XSLFO PDF

Structured Document Structured Document Formatted Document Formatted Document Final-form Document Final-form Document

transformation engine XSLT XML HFO SMIL

slide-27
SLIDE 27

WWW2003, Budapest 20 May 22

Conclusions

  • XSLT and CSS already cover a large part
  • Could be extended for multimedia support
  • Resource-constrained formatting requires more

significant changes

slide-28
SLIDE 28

WWW2003, Budapest 20 May 22

Conclusions

Take home message

  • Multimedia needs stylesheets too!
  • XSLT and CSS already cover a large part
  • Could be extended for multimedia support
  • Resource-constrained formatting requires more

significant changes

slide-29
SLIDE 29

WWW2003, Budapest 21 May 22

Acknowledgements

Research financed by

  • NWO ToKeN2000/I2RP, NASH

(Dutch national projects)

Cuypers demo in cooperation with

  • Distributed Systems Technology Centre,

Queensland

Intial HFO prototype

  • Oscar Rosell Martinez

Media adapted from

  • Abraham Lincoln Presidential Library Museum
  • Rare Book and Special Collections Library at

the University of Illinois.