Dita for the web: Make Adaptive Content Simple for Writers and Developer
-
date post
19-Oct-2014 -
Category
Design
-
view
628 -
download
0
description
Transcript of Dita for the web: Make Adaptive Content Simple for Writers and Developer
![Page 1: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/1.jpg)
DITA for the Web: Make Adaptive Content Simple for Writers and Developers
Exploiting Layout and Content
Don Day, Contelligence Group
![Page 2: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/2.jpg)
Why do I want to share this topic? I enjoy improving how writers create and use content.
I will be sharing my experience in approaching a recent
and acute pain point for many:
How to reliably create adaptive content for the Web.
![Page 4: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/4.jpg)
About Don Day Hobbies Publishing Technologies
Collecting and using old film
cameras
Listening to assorted,
eclectic, independent music
artists
Loving on my cats and
family, in that order
Model rocketry
Created IBM's first SGML application for
AIX online help
Helped design IBMIDDoc DTD
IBM's W3C Primary Rep to XSL and CSS
Working Groups
Led workgroup that designed the DITA
framework, and initiated OASIS, DITA-OT
activities
Created IBM's DITA Wiki prototype
Extending "DITA for the Web" to crossover
use in Web publishing
![Page 5: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/5.jpg)
Or as he sees himself...
Footnote 1
![Page 6: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/6.jpg)
What we'll cover: Premise: Adaptive Content is not easy!
Problem: Holes in the Web Architecture
Options: Editor Wars
Application: Patching the Hole
![Page 8: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/8.jpg)
Goal: Adaptive Content... Content that is structurally and semantically
enriched;"intelligent content".
Necessary for adaptive delivery: device traits, responsive
reflow, content repurposing (imagine text-to-video),
personalization.
"Unstructured content is stupid and old-fashioned. It's
costly, complex, and does not generate a competitive
advantage." Ann Mulcahy,
Former CEO of Xerox
![Page 9: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/9.jpg)
Sliced and Diced... Key driver: mobility of content (follow the device; follow
the person)
Key requirement: adaptable content (it needs handles)
Key format: HTML5 (which is changing all the rules)
Key need: consistent authoring (business rules, term
usage, profiling values, etc.)
Key gap: a standard Web authoring architecture to
support those needs.
![Page 11: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/11.jpg)
Is this what the change is about?
Footnote 1
![Page 12: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/12.jpg)
Or the issue more like this?
Footnote 1
![Page 13: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/13.jpg)
How HTML5 Changes the Game All new applications for the Web will be done with
HTML5
Enables interactivity and behaviors as only Flash could
beforehand
Unifies user experience across browsers, even challenging
Web apps (just wait)
Currently irrelevant: HTML and XHTML
Currently marginalized: anything XML (goes for
DocBook, DITA, even SPFE)
![Page 14: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/14.jpg)
Survey of Options
Levels of Markup
Degree of Markup Example Knowledge Required of User
Intrinsic "thingness" typed data Subject domain knowledge
Necessary Descriptive
Syntax
<img src="url"...> Craft knowledge
Necessary Presentational
Structure
HTML5
fig/img/figcaption
Guidelines
Necessary Representational
Structurre
XML semantic models Assimilation into the collective
Contextual Structure Web page templates, XSL
page masters
No subject domain knowledge; all
UA/UX/UI/You-name-it
![Page 15: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/15.jpg)
Levels of Markup, Charted
3 is most craft-dependent for markup dependency, but
also most tolerant for lack of craft knowledge.
![Page 16: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/16.jpg)
4 is most validation-dependent, but XML editors manage
the craft knowledge; paradoxically easier in principle if
you grok the object orientedness
Fielded content in a database is an implicit root form of
all of this, of course.
![Page 17: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/17.jpg)
The DITA Option DITA's best feature for the Web is
its architecture
Need structure for adaptive content?
o Look to the experience and
practice behind DITA!
Dress form
model
"Power loader" model
![Page 19: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/19.jpg)
Categories of in-browser editors Compose everything in a contentEditable div:
WordPress
Use a DB schema to define a form: flat and inflexible
content models
Use an XML schema to define a structured editor:
narrative content with structure
Use a document to define its own form
Use XML-based templates to set up more dynamic
forms
![Page 20: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/20.jpg)
XML-based templates to set up more dynamic forms
Template is validated by a schema, so when it is read into the form
generator, the resulting form represents the features in the template as
allowed patterns.
Repeated elements = "one or more"
Single element = "one required" (or optional - which will it be? can we
switch?)
Sequence is implicit in a set of elements unless one repeats, which
indicates mixable sequence.
Inner content should align with contentEditable.
[text] conventions can represent placeholders and contextual help
Use XML comments to represent semantics in their parent elements?
Not all tools can parse comments though.
![Page 21: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/21.jpg)
Examples
Conventional fielded form
![Page 22: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/22.jpg)
Examples Semantic metadata augmenting Google Structured Data Markup Helper
![Page 23: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/23.jpg)
Examples Semantic structure insertion Controlling Presentation in Structured
Content
![Page 24: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/24.jpg)
Examples Self-building form
![Page 25: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/25.jpg)
Examples Template-informed form
![Page 26: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/26.jpg)
Browser Editor Primal Scream Mike Davidson: The Sorry State of WYSIWYG Editors
(April 27, 2009)
Rachel Andrew: Your WYSIWYG Editor Sucks
Karen McGrane: WYSIWTF
Karen McGrane: Drupalcon Keynote Video, Slides and Talk
Notes
Rick Yagodich: What You See is WYSISMUC
WYSIWTFFTWOMG!
Deane Barker: Why WYSIWYG is Still a Problem
![Page 27: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/27.jpg)
Quips Abandon hope all ye who enter here.
If you have already abandoned hope, please disregard
this notice.
![Page 29: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/29.jpg)
Contact Info Don R. Day
Co-Founder, ContelligenceGroup.com
Co-Chair, OASIS DITA Technical Committee
LinkedIn: donrday Twitter: @donrday
About.me: donrday 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
![Page 30: Dita for the web: Make Adaptive Content Simple for Writers and Developer](https://reader034.fdocuments.in/reader034/viewer/2022042813/5444c804afaf9f9c098b499b/html5/thumbnails/30.jpg)