SlideShare a Scribd company logo
1 of 28
EXPLOITING LAYOUT AND CONTENT
D O N D A Y , C O N T E L L I G E N C E G R O U P
1
Mapping DITA to HTML5
11 February 2013Copyright © 2013 Contelligence Group, LLC
Agenda
2
 Isn’t HTML5 still being worked on?
 Which parts of HTML5 can I actually use?
 What are the options for DITA to HTML5?
 Transform frameworks
 Output implications
 Evaluating available tools
 Building/adapting your own transforms
 Layout level
 Content level
 Wrap up: Decision tree for options
11 February 2013Copyright © 2013 Contelligence Group, LLC
Status of HTML5
3
 Background: what it is, how it was developed
 A rollup of lessons learned from earlier, splintered directions
at W3C
 HTML4, XHTML1, DOM2, Xforms, others.
 Validation philosophy:
 W3C: XML-level validation, vs
 Web Hypertext Application Technology Working Group
(WHATWG): specify how all browsers can fix tag soup
 Independence from plugin tyranny
 Clean break for emerging capabilities
 Canvas, local storage, UX features, more
11 February 2013Copyright © 2013 Contelligence Group, LLC
Status of HTML5, cont’d
4
 Status:
 W3C maintains official Recommendation;
 HTML5 is an approved specification, in that sense
 WHATWG maintains “living document”, keeping up with
emerging technology, new devices
 Workarounds for older browsers
 “Enabling Scripts” inject basic tag awareness into old browsers
 Polyfill/shim libraries provide HTML5-like behaviors
 Support in current browsers
 Workarounds not needed for any current browser
 See how your browser does: http://html5test.com/ (400+ good!)
11 February 2013Copyright © 2013 Contelligence Group, LLC
HTML5 Benefits for DITA
5
 Improved support for new devices
 Technologies for Responsive page design:
 Media queries: conditional CSS based on device screen size
 Layouts: fluid, grid, CSS table (the good kind)
 Flexible images (to some extent)
 Techniques for content/page design
 Mobile first
 Unobtrusive JavaScript/Progressive enhancement
 Technically these are part of the emerging ecosystem
 Good, we can reach more devices
 But is DITA exploiting all that HTML5 can offer?
11 February 2013Copyright © 2013 Contelligence Group, LLC
Options for DITA to HTML5
6
 Why there is no “Easy” button for DITA to HTML5
 Static vs. dynamic publishing
 Static builds usually bracket one persona at a time
 What does “dynamic” actually mean?
 Static content in a configurable frame?
 Progressive disclosure?
 Deferred filtering?
 Local vs. hosted applications
 Different technology stacks, content pre-prep, scaling limits
 Preferences and personalization
 How much choice to give the user? Can my delivery architecture
give users more choice?
11 February 2013Copyright © 2013 Contelligence Group, LLC
The way we were…
7
 Limitations in the “compile” model of delivery
 Static pages are so 1990
 Frameset based tri-pane is so 2000
 Fixed-width templates are so… not mobile friendly
 Multiple sites for versioned content is so inefficient
 Disappointments of the “wiki” vision
 Curating and assimilating user-generated content is still no
cakewalk
 “High side/Low side” content barriers
 1% rule of Internet culture: in a group of 100 SMEs, 1 person is
doing all the writing (and maybe 9% will review or edit)
11 February 2013Copyright © 2013 Contelligence Group, LLC
The way forward…
8
 Convert DITA into static HTML5 Web pages
 Enhancement to existing processes
 Some benefit, not full
 Host those pages in a template (vs frameset or tri-
pane help system)
 Minor additional enhancement
 Minor additional benefit; HTML5 still underutilized
 OTOH, easier centralized branding, configurable navigation,
integrated search
11 February 2013Copyright © 2013 Contelligence Group, LLC
The way further forward…
9
 Render DITA at request time
 This content is most adaptive to current personalization cues
 But not practical for complex conditionality (limited “2-pass”)
 Modes:
 Server-side conversion
 Best for performance, scaling, and administration
 Browser-side conversion
 More content on the wire, but very high local semantic flexibility
 Browser-side CSS rendering
 Fastest, least flexible, no logic, no linking
11 February 2013Copyright © 2013 Contelligence Group, LLC
Transform Frameworks
10
 Open Source HTML5 producers
 DITA Open Toolkit plugins:
 Dita4publishers (active):
 http://dita4publishers.sourceforge.net/
 Electropubs (unsupported):
 http://electropubs2.blogspot.com/2012/06/my-dita-to-html5-
plugin-makes-progress.html
 http://tech.groups.yahoo.com/group/dita-
users/message/24224
 Late updates on any new activities
11 February 2013Copyright © 2013 Contelligence Group, LLC
Transform Frameworks, cont’d
11
 Commercial mobile
 Mobile DITA showcase: http://mobiledita.com/#about
 WebWorks Reverb and SuiteHelp+ use HTML5
 Latest updates here as well!
11 February 2013Copyright © 2013 Contelligence Group, LLC
Evaluating Available Tools
12
 More decision branches:
 Practical
 Cost: Free vs. Fee
 Community: Where can I get help?
 Compatibility: If you build it, will they come?
 Chronicled: Where’s the docs? Code, please?
11 February 2013Copyright © 2013 Contelligence Group, LLC
Evaluating, cont’d
13
 More branches!
 Architectural: FURPS
(http://www.ibm.com/developerworks/rational/library/4706.html)
 Functionality
 Usability
 Reliability
 Performance
 Supportability
11 February 2013Copyright © 2013 Contelligence Group, LLC
Building Your Own
14
 Design approaches
 Requirements gathering
 What is the end goal?
 The ROI question:
 I’ve got HTML5 (in name only?)
 I’ve got responsive/adaptive deliver
 I’ve got UX and media behaviors in my content
 I’m utilizing local storage, offline application caching, and
geolocation support in my browser solution
 Still time to bail for the commercial solution! 11 February 2013Copyright © 2013 Contelligence Group, LLC
End Use Considerations
15
 What you buy or build will depend on how your
customers will use the information.
 Options:
 Standalone browsing (for example, embedded help)
 Static web site
 Dynamic web site
 Local dynamic service
11 February 2013Copyright © 2013 Contelligence Group, LLC
Mapping DITA to HTML5
11 February 2013Copyright © 2013 Contelligence Group, LLC
16
Non-text content
<audio> Defines sound content
<video> Defines a video or movie
<source> Defines multiple media resources for <video> and
<audio>
<embed> Defines a container for an external application or
interactive content (a plug-in)
<track> Defines text tracks for <video> and <audio>
Semantic page areas
<article> Defines an article
<aside> Defines content aside from the page content
<footer> Defines a footer for a document or section
<header> Defines a header for a document or section
<hgroup> Groups a set of <h1> to <h6> elements when a
heading has multiple levels
<nav> Defines navigation links
<section> Defines a section in a document
Semantic content parts
<details> Defines additional details that the user can view
or hide
<summary> Defines a visible heading for a <details> element
<figure> Specifies self-contained content, like illustrations,
diagrams, photos, code listings, etc.
<figcaption> Defines a caption for a <figure> element
<time> Defines a date/time
Generated UI in the content
<mark> Defines marked/highlighted text
<command> Defines a command button that a user can invoke
<meter> Defines a scalar measurement within a known range
<progress> Represents the progress of a task
<wbr> Defines a possible line-break
Ruby markup
<ruby> Defines a ruby annotation (for East Asian typography)
<rt> Defines an explanation/pronunciation of characters (for
East Asian typography)
<rp> Defines what to show in browsers that do not support
ruby annotations
<bdi> Isolates a part of text that might be formatted in a
different direction from other text outside it
Parts of a Page
17
 Levels of style in a view:
 The page: the outer framing parts that provide branding and
navigation context
 The post: the individual topic content
 The paragraph: style that applies to markup within the content
11 February 2013Copyright © 2013 Contelligence Group, LLC
18
 Zooming in:
The page The post The paragraph
11 February 2013Copyright © 2013 Contelligence Group, LLC
Layout level mapping
19
11 February 2013Copyright © 2013 Contelligence Group, LLC
Layout mapping discussion
20
 Layout—creating the context for the page:
 Standalone page
 Themed with pre-built content:
 Frameset inclusion
 JavaScript inclusion
 Server-side inclusion
 Themed with dynamic content:
 Same as above, but with on-demand transform for unique
personalization
 These hints may affect sidebar content as well as main post
11 February 2013Copyright © 2013 Contelligence Group, LLC
Page level mapping
21
11 February 2013Copyright © 2013 Contelligence Group, LLC
Page mapping discussion
22
 Other models are possible
 There is no prohibition on using <div>; it represents
valid containment in the absence of HTML5
semantic structure.
 Nesting hierarchy (as in eBook subheads) needs to
respect HTML5 “outlining” capability
 It is easy to put a lot of original DITA source cues
into an HTML5 topic (compare these structures);
 But difficult to author this structure in HTML5 or to
round-trip it back to DITA without SYITF.
11 February 2013Copyright © 2013 Contelligence Group, LLC
Content level mapping
23
11 February 2013Copyright © 2013 Contelligence Group, LLC
Content mapping discussion
24
 Content-level:
 Audio, Video, SVG, mathML inclusions
 Mapped from DITA’s elements:
 object for external content rendered by a control
 foreign for embedded vocabularies (SVG and mathML)
 Shortcodes/outputclasses for:
 Tabbed and reveal content (accordions, sliders)
 Message types
 Inline navigation
11 February 2013Copyright © 2013 Contelligence Group, LLC
Content mapping, more
25
 Semantic content:
 Figure and figcaption useful for image and video framing, but
browser behaviors may make these elements less useful for
other content we sometimes put in DITA figures
 Details and summary could be useful for inline footnotes
 Semantic data:
 Time element may have browser localization behaviors for its
content. Use only for time data.
11 February 2013Copyright © 2013 Contelligence Group, LLC
Content mapping, wrap up
26
 Non-text content
 Audio, video, source, embed take data from <object> element
 Track can hold playlist data (eg, DITA OT music plugin)
 Generated UI in the content
 Command, meter, and progress represent UX controls that can
be output in the context of a video or audio sample—you can
build your own player!
 Mark element is specifically for dynamically analyzed data
injected when page is sent: search hit terms, adsense
associative links, English terms not in the controlled
vocabulary, etc.
11 February 2013Copyright © 2013 Contelligence Group, LLC
Questions?
27
 Thank you!
11 February 2013Copyright © 2013 Contelligence Group, LLC
Contact
28
Don R. Day
Co-Founder, ContelligenceGroup.com
Co-Chair, OASIS DITA Technical Committee
LinkedIn: donrday Twitter: @donrday
About.me: Don R. Day Skype: don.r.day
"Where is the wisdom we have lost in knowledge?
Where is the knowledge we have lost in information?"
--T.S. Eliot
11 February 2013Copyright © 2013 Contelligence Group, LLC

More Related Content

What's hot

Doctraineast2008
Doctraineast2008Doctraineast2008
Doctraineast2008
bobdoyle
 

What's hot (20)

DocBook vs. DITA: Will The Real Standard Please Stand Up?
DocBook vs. DITA: Will The Real Standard Please Stand Up?DocBook vs. DITA: Will The Real Standard Please Stand Up?
DocBook vs. DITA: Will The Real Standard Please Stand Up?
 
Accessibility, Automation and Metadata
Accessibility, Automation and MetadataAccessibility, Automation and Metadata
Accessibility, Automation and Metadata
 
Vision in Vegas: WritersUA 2005 and the Next Big Thing
Vision in Vegas: WritersUA 2005 and the Next Big ThingVision in Vegas: WritersUA 2005 and the Next Big Thing
Vision in Vegas: WritersUA 2005 and the Next Big Thing
 
Doctraineast2008
Doctraineast2008Doctraineast2008
Doctraineast2008
 
Semantic Wiki For The Enterprise
Semantic Wiki For The EnterpriseSemantic Wiki For The Enterprise
Semantic Wiki For The Enterprise
 
First Industrial Results of Semantic Technologies - Claudio Bergamini
First Industrial Results of Semantic Technologies -  Claudio BergaminiFirst Industrial Results of Semantic Technologies -  Claudio Bergamini
First Industrial Results of Semantic Technologies - Claudio Bergamini
 
Ec And Ass Sig Feb 2008 Adam
Ec And Ass Sig Feb 2008 AdamEc And Ass Sig Feb 2008 Adam
Ec And Ass Sig Feb 2008 Adam
 
drustack a mobile-friendly web content management system (cms)
drustack   a mobile-friendly web content management system (cms)drustack   a mobile-friendly web content management system (cms)
drustack a mobile-friendly web content management system (cms)
 
OSCELOT
OSCELOTOSCELOT
OSCELOT
 
Feedable, Portable, Mashable, DITAble
Feedable, Portable, Mashable, DITAbleFeedable, Portable, Mashable, DITAble
Feedable, Portable, Mashable, DITAble
 
3. progress inbolton(summer2010)
3. progress inbolton(summer2010)3. progress inbolton(summer2010)
3. progress inbolton(summer2010)
 
Drupal at ICF International
Drupal at ICF InternationalDrupal at ICF International
Drupal at ICF International
 
Udem 2007 Accessibility Standards
Udem 2007 Accessibility StandardsUdem 2007 Accessibility Standards
Udem 2007 Accessibility Standards
 
Web 2.0: Implications For The Cultural Heritage Sector
Web 2.0: Implications For The Cultural Heritage SectorWeb 2.0: Implications For The Cultural Heritage Sector
Web 2.0: Implications For The Cultural Heritage Sector
 
How google is using linked data today and vision for tomorrow
How google is using linked data today and vision for tomorrowHow google is using linked data today and vision for tomorrow
How google is using linked data today and vision for tomorrow
 
Tags, Networks, Narrative
Tags, Networks, NarrativeTags, Networks, Narrative
Tags, Networks, Narrative
 
The Invisible Reference Desk
The Invisible Reference DeskThe Invisible Reference Desk
The Invisible Reference Desk
 
Taking a glance at the history of HTML5
Taking a glance at the history of HTML5Taking a glance at the history of HTML5
Taking a glance at the history of HTML5
 
Open Standards
Open StandardsOpen Standards
Open Standards
 
Monoliths, APIs and Extensability - The past and future directions of CMS
Monoliths, APIs and Extensability - The past and future directions of CMSMonoliths, APIs and Extensability - The past and future directions of CMS
Monoliths, APIs and Extensability - The past and future directions of CMS
 

Viewers also liked

Multidimensional Content Strategy: A Plan for Dodging the Oncoming Train
Multidimensional Content Strategy: A Plan for Dodging the Oncoming TrainMultidimensional Content Strategy: A Plan for Dodging the Oncoming Train
Multidimensional Content Strategy: A Plan for Dodging the Oncoming Train
Noz Urbina
 

Viewers also liked (20)

LavaCon 2012: How to Deliver the Wrong Content to the Wrong Person at the Wro...
LavaCon 2012: How to Deliver the Wrong Content to the Wrong Person at the Wro...LavaCon 2012: How to Deliver the Wrong Content to the Wrong Person at the Wro...
LavaCon 2012: How to Deliver the Wrong Content to the Wrong Person at the Wro...
 
Multidimensional Content Strategy: A Plan for Dodging the Oncoming Train
Multidimensional Content Strategy: A Plan for Dodging the Oncoming TrainMultidimensional Content Strategy: A Plan for Dodging the Oncoming Train
Multidimensional Content Strategy: A Plan for Dodging the Oncoming Train
 
Rebuilding Your Mindset for the Future of Content Work [Tekom /TCWorld 2013]
Rebuilding Your Mindset for the Future of Content Work [Tekom /TCWorld 2013]Rebuilding Your Mindset for the Future of Content Work [Tekom /TCWorld 2013]
Rebuilding Your Mindset for the Future of Content Work [Tekom /TCWorld 2013]
 
The Internet is Everywhere – So What's Changed? [Noz Urbina, DITA EU 2013]
The Internet is Everywhere – So What's Changed? [Noz Urbina, DITA EU 2013]The Internet is Everywhere – So What's Changed? [Noz Urbina, DITA EU 2013]
The Internet is Everywhere – So What's Changed? [Noz Urbina, DITA EU 2013]
 
Connecting Intelligent Content with Micropublishing and Beyond
Connecting Intelligent Content with Micropublishing and BeyondConnecting Intelligent Content with Micropublishing and Beyond
Connecting Intelligent Content with Micropublishing and Beyond
 
This is Your Brain on Content: Cognitive Science Lessons for Content Strategy
This is Your Brain on Content: Cognitive Science Lessons for Content StrategyThis is Your Brain on Content: Cognitive Science Lessons for Content Strategy
This is Your Brain on Content: Cognitive Science Lessons for Content Strategy
 
Feeding the adaptive content monster
Feeding the adaptive content monsterFeeding the adaptive content monster
Feeding the adaptive content monster
 
[Workshop] The incremental steps towards dynamic and embedded content deliver...
[Workshop] The incremental steps towardsdynamic and embedded content deliver...[Workshop] The incremental steps towardsdynamic and embedded content deliver...
[Workshop] The incremental steps towards dynamic and embedded content deliver...
 
The Biological Imperative for Intelligent Content
The Biological Imperative for Intelligent ContentThe Biological Imperative for Intelligent Content
The Biological Imperative for Intelligent Content
 
Why We Crave Semantic Structured Content - Lavacon Dublin 2016
Why We Crave Semantic Structured Content - Lavacon Dublin 2016Why We Crave Semantic Structured Content - Lavacon Dublin 2016
Why We Crave Semantic Structured Content - Lavacon Dublin 2016
 
[soap Keynote] The Freedom to Grow: how standards facilitate the techcomm ind...
[soap Keynote] The Freedom to Grow: how standards facilitate the techcomm ind...[soap Keynote] The Freedom to Grow: how standards facilitate the techcomm ind...
[soap Keynote] The Freedom to Grow: how standards facilitate the techcomm ind...
 
Storming the Castle 2015 [LavaCon Breakout Session]
Storming the Castle 2015  [LavaCon Breakout Session]Storming the Castle 2015  [LavaCon Breakout Session]
Storming the Castle 2015 [LavaCon Breakout Session]
 
COPE Content Modelling for Adaptive UX - Noz Urbina
COPE Content Modelling for Adaptive UX - Noz UrbinaCOPE Content Modelling for Adaptive UX - Noz Urbina
COPE Content Modelling for Adaptive UX - Noz Urbina
 
The wall falls down: Integrating our online and offline worlds [Confab 2015]
The wall falls down: Integrating our online and offline worlds [Confab 2015]The wall falls down: Integrating our online and offline worlds [Confab 2015]
The wall falls down: Integrating our online and offline worlds [Confab 2015]
 
The Wall has Come Down: Integrating our Online and Offline Worlds (IoT / Wear...
The Wall has Come Down: Integrating our Online and Offline Worlds (IoT / Wear...The Wall has Come Down: Integrating our Online and Offline Worlds (IoT / Wear...
The Wall has Come Down: Integrating our Online and Offline Worlds (IoT / Wear...
 
Adaptive / Reponsive Content vs Adaptive / Responsive Design - Term Disamguation
Adaptive / Reponsive Content vs Adaptive / Responsive Design - Term DisamguationAdaptive / Reponsive Content vs Adaptive / Responsive Design - Term Disamguation
Adaptive / Reponsive Content vs Adaptive / Responsive Design - Term Disamguation
 
Adaptive Content equals Architecture plus Process minus Reality [Noz Urbina, ...
Adaptive Content equals Architecture plus Process minus Reality [Noz Urbina, ...Adaptive Content equals Architecture plus Process minus Reality [Noz Urbina, ...
Adaptive Content equals Architecture plus Process minus Reality [Noz Urbina, ...
 
BUILDING YOUR ADAPTIVE MODEL: Setting Goals Using the Adaptive Content Maturi...
BUILDING YOUR ADAPTIVE MODEL: Setting Goals Using the Adaptive Content Maturi...BUILDING YOUR ADAPTIVE MODEL: Setting Goals Using the Adaptive Content Maturi...
BUILDING YOUR ADAPTIVE MODEL: Setting Goals Using the Adaptive Content Maturi...
 
How to Create an Agile Content Factory
How to Create an Agile Content FactoryHow to Create an Agile Content Factory
How to Create an Agile Content Factory
 
BMC Case Study: How to Take a Content-First Approach and Prove the ROI of You...
BMC Case Study: How to Take a Content-First Approach and Prove the ROI of You...BMC Case Study: How to Take a Content-First Approach and Prove the ROI of You...
BMC Case Study: How to Take a Content-First Approach and Prove the ROI of You...
 

Similar to CM Strategies: DITA North America 2013 Don Day-Mapping DITA to HTML5

Ed presents JSF 2.2 at a 2013 Gameduell Tech talk
Ed presents JSF 2.2 at a 2013 Gameduell Tech talkEd presents JSF 2.2 at a 2013 Gameduell Tech talk
Ed presents JSF 2.2 at a 2013 Gameduell Tech talk
Edward Burns
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
ijceronline
 

Similar to CM Strategies: DITA North America 2013 Don Day-Mapping DITA to HTML5 (20)

Qnx html5 hmi
Qnx html5 hmiQnx html5 hmi
Qnx html5 hmi
 
Html5(2)
Html5(2)Html5(2)
Html5(2)
 
Html5(2)
Html5(2)Html5(2)
Html5(2)
 
Backing yourself into an Accessible Corner
Backing yourself into an Accessible CornerBacking yourself into an Accessible Corner
Backing yourself into an Accessible Corner
 
HTML5 Technical Executive Summary
HTML5 Technical Executive SummaryHTML5 Technical Executive Summary
HTML5 Technical Executive Summary
 
Html5
Html5Html5
Html5
 
Swf search final
Swf search finalSwf search final
Swf search final
 
Ed presents JSF 2.2 at a 2013 Gameduell Tech talk
Ed presents JSF 2.2 at a 2013 Gameduell Tech talkEd presents JSF 2.2 at a 2013 Gameduell Tech talk
Ed presents JSF 2.2 at a 2013 Gameduell Tech talk
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 
Html5 workshop part 1
Html5 workshop part 1Html5 workshop part 1
Html5 workshop part 1
 
Introduction to HTML5/CSS3 In Drupal 7
Introduction to HTML5/CSS3 In Drupal 7Introduction to HTML5/CSS3 In Drupal 7
Introduction to HTML5/CSS3 In Drupal 7
 
3D for the modern web: declarative3d and gltf
3D for the modern web: declarative3d and gltf3D for the modern web: declarative3d and gltf
3D for the modern web: declarative3d and gltf
 
How to choose the best frontend framework in 2022
How to choose the best frontend framework in 2022How to choose the best frontend framework in 2022
How to choose the best frontend framework in 2022
 
Top 10 major benefits of html 5
Top 10 major benefits of html 5Top 10 major benefits of html 5
Top 10 major benefits of html 5
 
HTML5 introduction for beginners
HTML5 introduction for beginnersHTML5 introduction for beginners
HTML5 introduction for beginners
 
10 Best Web Development Frameworks for Your Business Needs
10 Best Web Development Frameworks for Your Business Needs10 Best Web Development Frameworks for Your Business Needs
10 Best Web Development Frameworks for Your Business Needs
 
SharePoint Training
SharePoint TrainingSharePoint Training
SharePoint Training
 
Html5 Basics
Html5 BasicsHtml5 Basics
Html5 Basics
 
HTML5 Overview (Silicon Valley User Group)
HTML5 Overview (Silicon Valley User Group)HTML5 Overview (Silicon Valley User Group)
HTML5 Overview (Silicon Valley User Group)
 
HTML5
HTML5HTML5
HTML5
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 

CM Strategies: DITA North America 2013 Don Day-Mapping DITA to HTML5

  • 1. EXPLOITING LAYOUT AND CONTENT D O N D A Y , C O N T E L L I G E N C E G R O U P 1 Mapping DITA to HTML5 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 2. Agenda 2  Isn’t HTML5 still being worked on?  Which parts of HTML5 can I actually use?  What are the options for DITA to HTML5?  Transform frameworks  Output implications  Evaluating available tools  Building/adapting your own transforms  Layout level  Content level  Wrap up: Decision tree for options 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 3. Status of HTML5 3  Background: what it is, how it was developed  A rollup of lessons learned from earlier, splintered directions at W3C  HTML4, XHTML1, DOM2, Xforms, others.  Validation philosophy:  W3C: XML-level validation, vs  Web Hypertext Application Technology Working Group (WHATWG): specify how all browsers can fix tag soup  Independence from plugin tyranny  Clean break for emerging capabilities  Canvas, local storage, UX features, more 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 4. Status of HTML5, cont’d 4  Status:  W3C maintains official Recommendation;  HTML5 is an approved specification, in that sense  WHATWG maintains “living document”, keeping up with emerging technology, new devices  Workarounds for older browsers  “Enabling Scripts” inject basic tag awareness into old browsers  Polyfill/shim libraries provide HTML5-like behaviors  Support in current browsers  Workarounds not needed for any current browser  See how your browser does: http://html5test.com/ (400+ good!) 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 5. HTML5 Benefits for DITA 5  Improved support for new devices  Technologies for Responsive page design:  Media queries: conditional CSS based on device screen size  Layouts: fluid, grid, CSS table (the good kind)  Flexible images (to some extent)  Techniques for content/page design  Mobile first  Unobtrusive JavaScript/Progressive enhancement  Technically these are part of the emerging ecosystem  Good, we can reach more devices  But is DITA exploiting all that HTML5 can offer? 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 6. Options for DITA to HTML5 6  Why there is no “Easy” button for DITA to HTML5  Static vs. dynamic publishing  Static builds usually bracket one persona at a time  What does “dynamic” actually mean?  Static content in a configurable frame?  Progressive disclosure?  Deferred filtering?  Local vs. hosted applications  Different technology stacks, content pre-prep, scaling limits  Preferences and personalization  How much choice to give the user? Can my delivery architecture give users more choice? 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 7. The way we were… 7  Limitations in the “compile” model of delivery  Static pages are so 1990  Frameset based tri-pane is so 2000  Fixed-width templates are so… not mobile friendly  Multiple sites for versioned content is so inefficient  Disappointments of the “wiki” vision  Curating and assimilating user-generated content is still no cakewalk  “High side/Low side” content barriers  1% rule of Internet culture: in a group of 100 SMEs, 1 person is doing all the writing (and maybe 9% will review or edit) 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 8. The way forward… 8  Convert DITA into static HTML5 Web pages  Enhancement to existing processes  Some benefit, not full  Host those pages in a template (vs frameset or tri- pane help system)  Minor additional enhancement  Minor additional benefit; HTML5 still underutilized  OTOH, easier centralized branding, configurable navigation, integrated search 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 9. The way further forward… 9  Render DITA at request time  This content is most adaptive to current personalization cues  But not practical for complex conditionality (limited “2-pass”)  Modes:  Server-side conversion  Best for performance, scaling, and administration  Browser-side conversion  More content on the wire, but very high local semantic flexibility  Browser-side CSS rendering  Fastest, least flexible, no logic, no linking 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 10. Transform Frameworks 10  Open Source HTML5 producers  DITA Open Toolkit plugins:  Dita4publishers (active):  http://dita4publishers.sourceforge.net/  Electropubs (unsupported):  http://electropubs2.blogspot.com/2012/06/my-dita-to-html5- plugin-makes-progress.html  http://tech.groups.yahoo.com/group/dita- users/message/24224  Late updates on any new activities 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 11. Transform Frameworks, cont’d 11  Commercial mobile  Mobile DITA showcase: http://mobiledita.com/#about  WebWorks Reverb and SuiteHelp+ use HTML5  Latest updates here as well! 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 12. Evaluating Available Tools 12  More decision branches:  Practical  Cost: Free vs. Fee  Community: Where can I get help?  Compatibility: If you build it, will they come?  Chronicled: Where’s the docs? Code, please? 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 13. Evaluating, cont’d 13  More branches!  Architectural: FURPS (http://www.ibm.com/developerworks/rational/library/4706.html)  Functionality  Usability  Reliability  Performance  Supportability 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 14. Building Your Own 14  Design approaches  Requirements gathering  What is the end goal?  The ROI question:  I’ve got HTML5 (in name only?)  I’ve got responsive/adaptive deliver  I’ve got UX and media behaviors in my content  I’m utilizing local storage, offline application caching, and geolocation support in my browser solution  Still time to bail for the commercial solution! 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 15. End Use Considerations 15  What you buy or build will depend on how your customers will use the information.  Options:  Standalone browsing (for example, embedded help)  Static web site  Dynamic web site  Local dynamic service 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 16. Mapping DITA to HTML5 11 February 2013Copyright © 2013 Contelligence Group, LLC 16 Non-text content <audio> Defines sound content <video> Defines a video or movie <source> Defines multiple media resources for <video> and <audio> <embed> Defines a container for an external application or interactive content (a plug-in) <track> Defines text tracks for <video> and <audio> Semantic page areas <article> Defines an article <aside> Defines content aside from the page content <footer> Defines a footer for a document or section <header> Defines a header for a document or section <hgroup> Groups a set of <h1> to <h6> elements when a heading has multiple levels <nav> Defines navigation links <section> Defines a section in a document Semantic content parts <details> Defines additional details that the user can view or hide <summary> Defines a visible heading for a <details> element <figure> Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc. <figcaption> Defines a caption for a <figure> element <time> Defines a date/time Generated UI in the content <mark> Defines marked/highlighted text <command> Defines a command button that a user can invoke <meter> Defines a scalar measurement within a known range <progress> Represents the progress of a task <wbr> Defines a possible line-break Ruby markup <ruby> Defines a ruby annotation (for East Asian typography) <rt> Defines an explanation/pronunciation of characters (for East Asian typography) <rp> Defines what to show in browsers that do not support ruby annotations <bdi> Isolates a part of text that might be formatted in a different direction from other text outside it
  • 17. Parts of a Page 17  Levels of style in a view:  The page: the outer framing parts that provide branding and navigation context  The post: the individual topic content  The paragraph: style that applies to markup within the content 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 18. 18  Zooming in: The page The post The paragraph 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 19. Layout level mapping 19 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 20. Layout mapping discussion 20  Layout—creating the context for the page:  Standalone page  Themed with pre-built content:  Frameset inclusion  JavaScript inclusion  Server-side inclusion  Themed with dynamic content:  Same as above, but with on-demand transform for unique personalization  These hints may affect sidebar content as well as main post 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 21. Page level mapping 21 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 22. Page mapping discussion 22  Other models are possible  There is no prohibition on using <div>; it represents valid containment in the absence of HTML5 semantic structure.  Nesting hierarchy (as in eBook subheads) needs to respect HTML5 “outlining” capability  It is easy to put a lot of original DITA source cues into an HTML5 topic (compare these structures);  But difficult to author this structure in HTML5 or to round-trip it back to DITA without SYITF. 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 23. Content level mapping 23 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 24. Content mapping discussion 24  Content-level:  Audio, Video, SVG, mathML inclusions  Mapped from DITA’s elements:  object for external content rendered by a control  foreign for embedded vocabularies (SVG and mathML)  Shortcodes/outputclasses for:  Tabbed and reveal content (accordions, sliders)  Message types  Inline navigation 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 25. Content mapping, more 25  Semantic content:  Figure and figcaption useful for image and video framing, but browser behaviors may make these elements less useful for other content we sometimes put in DITA figures  Details and summary could be useful for inline footnotes  Semantic data:  Time element may have browser localization behaviors for its content. Use only for time data. 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 26. Content mapping, wrap up 26  Non-text content  Audio, video, source, embed take data from <object> element  Track can hold playlist data (eg, DITA OT music plugin)  Generated UI in the content  Command, meter, and progress represent UX controls that can be output in the context of a video or audio sample—you can build your own player!  Mark element is specifically for dynamically analyzed data injected when page is sent: search hit terms, adsense associative links, English terms not in the controlled vocabulary, etc. 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 27. Questions? 27  Thank you! 11 February 2013Copyright © 2013 Contelligence Group, LLC
  • 28. Contact 28 Don R. Day Co-Founder, ContelligenceGroup.com Co-Chair, OASIS DITA Technical Committee LinkedIn: donrday Twitter: @donrday About.me: Don R. Day Skype: don.r.day "Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?" --T.S. Eliot 11 February 2013Copyright © 2013 Contelligence Group, LLC