SlideShare a Scribd company logo
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 1
Does DITA Need Tags?
Michael Priestley, Enterprise Content Technology Strategist, IBM CIO
Lu Ai, Program Manager, Content Standards and Structure, IBM Marketing
Carlos Evia, Director of Technical and Professional Writing, Virginia Tech
Content owners: Michael Priestley, Lu Ai, Carlos Evia
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 2
• Why lightweight DITA?
• Authoring DITA in markdown
• Publishing DITA with JSON
• Next steps
Does DITA need tags?
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 3
Lightweight DITA
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 4
Collaboration and integration depend on standards
4
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 5
Barriers to collaboration
Process
Lack of governance
Lack of feedback
Culture
Lack of incentives for reuse
Incentives for reinvention
Content
Inconsistent content types
Inconsistent classification
Technology
Lifecycle silos tie authoring to delivery
Formats tie content to authoring system
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 6
Can you get there with DITA?
• Yes.
• But…
• Challenges of complexity and format-dependency
• Opportunity:
• Lightweight DITA as a new OASIS standard (in development)
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 7
When enough is too much
Full DITA
Lightweight
DITA
“Here’s
something
simple!”
“We need
more
features!”
“It’s too
complex!”
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 8
Lightweight DITA vs Full DITA
Full DITA Lightweight DITA
Topics ~100 elements ~30 elements
Maps 10 elements
(+30 shared with topic)
3 elements
(+3 shared with topic)
<p>What elements are
allowed in a paragraph?</p>
dl parml fig syntaxdiagram imagemap image
lines lq note hazardstatement object ol pre
codeblock msgblock screen simpletable sl table
ul boolean cite keyword apiname option
parmname cmdname msgnum varname wintitle ph b
i sup sub tt u codeph synph filepath msgph
systemoutput userinput menucascade uicontrol q
term abbreviated-form tm xref state data data-
about foreign unknown draft-comment fn
indextermref indexterm required-cleanup
image
ph (phrase)
b (bold)
i (italic)
u (underline)
sup (superscript)
sub (subscript)
xref (link)
data
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 9
Lightweight DITA at OASIS
Current focus on:
• Industry scenarios
oMedical
oSoftware development
oEducation
oMachine industries
oMarketing/ecommerce
• Format mappings
oXML
oHTML5
oMarkdown
oJSON
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 10
Collaboration and integration depend on standards
1
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 11
Authoring DITA in Markdown
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 12
Mapping DITA to HTML5 (HDITA)
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 13
Mapping DITA to Markdown (MarkDITA)
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 14
• The “beautiful structure” of a step
• When the DTD is away…
o… the “steps” will play
1. Am I a step?
<step>
<cmd>Or am I a step?</cmd>
</step>
Overprotected child vs. the free spirit
<!ENTITY % step.content
"((%note;)*,
%cmd;,
(%choices; |
%choicetable; |
%info; |
%itemgroup; |
%stepxmp; |
%substeps; |
%tutorialinfo;)*,
(%stepresult;)? )"
>
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 15
The Markdown wars
• There is no Markdown standard
• Well, there’s CommonMark
• And there’s Gruber’s original
• And many other flavors
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 16
• Should we go the Fountain way?
• Or should we embrace the simplest
scenario?
# I am a topic
This is my abstract or shortdesc
- A point
- Another point
MarkDITA is not a new flavor
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 17
• {#identifier .class}
• The best/only way to talk about headings
• A solution to the <section> problem
# I am a topic
With a shortdesc paragraph
## And I am a section {.section}
Add a scoop of Pandoc header attributes
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 18
# The point of it all
I can sum it up here
I can say some more stuff
## Stuff {.section}
And so on
- This
- Is
- A List
From < > to ##
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 19
# How to do something {.task}
Introduction to something
## Prerequisites {.prereq}
Find some time to do it
## Context {.context}
Be prepared to do it
1. Plan it
2. Do it
Even better
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 20
{.section}
{.example}
{.prereq}
{.context}
{.result}
{.postreq}
@outputclass equivalents
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 21
• [key] works for keyref declared in a map
• conref… that’s another story
• Unless we go the GitHub way:
{{ site.data.conrefs.phrases.reusable }}
Content reuse
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 22
# Topic collection {.map}
- [First concept](c-first.md)
- [First task](t-first.md)
- [Second task](t-second.md)
Maps
Or
<map>
<title>Topic collection</title>
<topicref href="c-first.md"
format="markdown" />
<topicref href="t-second.dita" />
</map>
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 23
My relationship with Jarno Elovirta
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 24
• But we already have MkDocs and Jekyll
• And Pandoc transforms to EPUB and
Why bother with DITA?
Next slide: DITA benefits and advantages
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 25
DITA benefits and advantages
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 26
Publishing DITA with JSON
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 27
JavaScript Object Notation (http://json.org)
What is JSON
Data type
• Number
• String
• Boolean
• Object
• Array
• Null
Data structure
• name/value pair (NVP)
"name": "Lu Ai"
• object
{"firstname": "Lu","lastname": "Ai"}
• array
“presenters": [
{
"firstname": "Lu",
"lastname": "Ai"
},
{
"firstname": "Michael",
"lastname": “Priestley"
}
]
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 28
Why JSON
• Lightweight, easy to parse format
• popular alternative to XML as a data interchange format
Use case at IBM
• Dynamic content delivery via API
CMS1
CMS2
CMS3
Enterprise
Content
Catalog
JSON
Converters
json
xml
csv
DITA
user2
user
1
json
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 29
IBM Case Study Structured Content Pilot
• Component based
content management
• Open standard
• Reusable
• Measurable
• PDF only asset
management
• Proprietary data
model
• Low reusability
• Difficult to track and
measure
Current State Future State
DITA
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 30
IBM Case Study Structured Content Pilot
IBM Case Study DITA Specialization: a non-semantic approach
topic
title: macys’.com: …
section: {overview}
dlentry: {the need}
dlentry: {the solution}
dlentry: {the result}
…
section: {client background}
section: {need}
section: {solution}
section: {solution components}
section: {benefit}
….
This less constrained
specialization approach
provides flexibility, but does
not offer much semantics.
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 31
IBM Case Study Structured Content Pilot
IBM Case Study DITA: a mechanical translation to JSON
DITA JSON
• Property name has minimal semantics
• Unnatural/complicated structure in JSON
• Difficult to query
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 32
IBM Case Study Structured Content Pilot
IBM Case Study DITA Specialization: a semantic approach
This tightly constrained
specialization approach
provides rich semantics, but
is less flexible.
casestudy
title: macy’s.com
csprolog
metadata
clientbackground
csneed
title
shortdescription
needbody
cssolution
title
shortdescription
solutionbody
solutioncomponents
transformation
csbenefit
title
shortdescription
benefitbody
longquote
shortquote
csinsidestory
…
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 33
IBM Case Study Structured Content Pilot
IBM Case Study DITA: a semantic approach
DITA Design
• Adopt a semantic approach in
developing Case Study DITA
specialization
• Allow minimal formatting tags in
Case Study DITA
• Analyze specific content needs
and use cases for case studies to
best determine when to use
semantic and formatting tags
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 34
IBM Case Study Structured Content Pilot
IBM Case Study DITA: semantic translation to JSON
JSON Design
• Flat structure in JSON whenever
possible
• Structured hierarchy is only
used if it makes semantic sense
• Formatting tags removed or
retained in JSON “value”
• Program friendly: simpler
structure, easier queries,
cleaner output
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 35
IBM Case Study Structured Content Pilot
Query Comparison: compile an “overview” based on two different JSON data models
Non-semantic Semantic
Complex query
Section[@.title=“Overview”].dl.dlentry[?(@.dt=“The need”)].dd
+
Section[@.title=“Overview”].dl.dlentry[?(@dt=“The solution”)].dd
+
section{@.title=“Overview”].dl.dlentry[?(@dt=“The result”)].dd.q
+
section{@.title=“Overview”].dl.dlentry [?(@dt=“The result”)].ph
Simpler query
csneed.shortdesc+cssolution.shortdesc+csbenefit.shortdesc
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 36
IBM Case Study Structured Content Pilot
IBM Case Study JSON Data Model
• industry, country, language, category, product,
collateraltype, productgroup, creator, sme, owner,
reviewdate, expirationdate, contact, businesspartner
metadata
• title, subtitle, clientinfo, clientcontact, need, solution,
benefit, clientexperience, quotes, solutioncomponents,
formoreinfo, copyrightstatement, disclaimers
content
• casestudy_pdf, clientlog, industryimage, ibmcolorblock,
videoassociatedassets
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 37
IBM Case Study Structured Content Pilot
Next Steps
• Finalize Case Study DITA specialization and JSON data model
• Case Study JSON Schema
• DITA2JSON converter
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 38
Next steps/resources
CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 39
• Continuing design work at the Lightweight DITA subcommittee:
ohttps://www.oasis-open.org/committees/tc_home.php?wg_abbrev=dita-
lightweight-dita
• Public discussion at the LinkedIn group:
ohttps://www.linkedin.com/groups/Lightweight-DITA-4943862/about
• Test out early prototype mappings:
ohttps://github.com/jelovirt/dita-ot-markdown
ohttp://any2dita.com/
What’s happening

More Related Content

PDF
Does DITA need XML?
PDF
Let your content flow
PDF
Lightweight DITA: A pre/overview
PDF
Can Reuse Be Sexy?
PDF
Cross-format content with Lightweight DITA
PDF
Does DITA need XML? Lightweight DITA and HTML5
PDF
Lightweight DITA
PDF
Topic-oriented information architecture for very large websites
Does DITA need XML?
Let your content flow
Lightweight DITA: A pre/overview
Can Reuse Be Sexy?
Cross-format content with Lightweight DITA
Does DITA need XML? Lightweight DITA and HTML5
Lightweight DITA
Topic-oriented information architecture for very large websites

What's hot (19)

PPT
Don’t Hide Your Content in a Traditional Help System: A Case Study from TechP...
PDF
Start > Automate > Create | Book Publishing in the Cloud
PDF
How DocZone is helping Unica Corporation to achieve new production milestones...
PDF
DITA For Publishers: How Publishers Can Really Do XML
PDF
Content Goes In, Products Come Out: End-to-End Publishing with RSuite, eXtyle...
PDF
“It’s not rocket science!” Applying CMS and semantic enrichment to transform...
PDF
A Publisher’s Guide to Choosing the Right XML Editor
PDF
Enterprise Europe Network- General
PDF
ATEC - Training Academy
PPS
Single-Sourcing with RoboHelp 9: Presentation by WritePoint
PPTX
Growing Drupal Organisations - Drupal Business Days 2012
PPTX
JTC Event 2012 - Provincial Microsoft License Renewal - Edna Dach, Dave Hausc...
PDF
Blurring the Lines between ECM and CCMS
PDF
Adobe Systems RoboHelp 2017 Release Product Review Lightext
PDF
IBM's Client Technical Content Experience Strategy Overview
PPTX
Identity management challenges when moving share point to the cloud antonio...
PPTX
Office 365, is cloud right for your company?
PDF
Solve the most wicked text categorization problems - MeaningCloud webinar
Don’t Hide Your Content in a Traditional Help System: A Case Study from TechP...
Start > Automate > Create | Book Publishing in the Cloud
How DocZone is helping Unica Corporation to achieve new production milestones...
DITA For Publishers: How Publishers Can Really Do XML
Content Goes In, Products Come Out: End-to-End Publishing with RSuite, eXtyle...
“It’s not rocket science!” Applying CMS and semantic enrichment to transform...
A Publisher’s Guide to Choosing the Right XML Editor
Enterprise Europe Network- General
ATEC - Training Academy
Single-Sourcing with RoboHelp 9: Presentation by WritePoint
Growing Drupal Organisations - Drupal Business Days 2012
JTC Event 2012 - Provincial Microsoft License Renewal - Edna Dach, Dave Hausc...
Blurring the Lines between ECM and CCMS
Adobe Systems RoboHelp 2017 Release Product Review Lightext
IBM's Client Technical Content Experience Strategy Overview
Identity management challenges when moving share point to the cloud antonio...
Office 365, is cloud right for your company?
Solve the most wicked text categorization problems - MeaningCloud webinar
Ad

Similar to Does DITA need tags? (20)

PDF
A lightweight DITA update
PPTX
Changing how we think about content
PPTX
Michael Priestley - Cross-format, cross-silo: Lightweight DITA for Intelligen...
PDF
LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...
PPT
DITA, Semantics, Content Management, Dynamic Documents, and Linked Data – A M...
PPTX
Anticipating Lightweight DITA
PPTX
How DITA Got Her Groove Back: Going Mapless with Don Day
PPTX
Connecting Intelligent Content with Micropublishing and Beyond
PDF
Introduction to DITA
PPT
SEMANTIC CONTENT MANAGEMENT FOR ENTERPRISES AND NATIONAL SECURITY
PPT
Painless XML Authoring?: How DITA Simplifies XML
PDF
First Industrial Results of Semantic Technologies - Claudio Bergamini
PPT
Feedable, Portable, Mashable, DITAble
PPTX
DITA Quick Start for Authors Part II
PPTX
XML authoring simplified for one and all: Writers UA
PDF
10 Ways DITA Can Help Drive a Unified Strategy
PDF
The Evolution of DITAs
PDF
The Future of DITA
PDF
DITA versus DITA-OT
PPTX
DITA's New Thang: Going Mapless!
A lightweight DITA update
Changing how we think about content
Michael Priestley - Cross-format, cross-silo: Lightweight DITA for Intelligen...
LavaCon 2017 - Building an Enterprisewide Content Platform—and Why DITA will ...
DITA, Semantics, Content Management, Dynamic Documents, and Linked Data – A M...
Anticipating Lightweight DITA
How DITA Got Her Groove Back: Going Mapless with Don Day
Connecting Intelligent Content with Micropublishing and Beyond
Introduction to DITA
SEMANTIC CONTENT MANAGEMENT FOR ENTERPRISES AND NATIONAL SECURITY
Painless XML Authoring?: How DITA Simplifies XML
First Industrial Results of Semantic Technologies - Claudio Bergamini
Feedable, Portable, Mashable, DITAble
DITA Quick Start for Authors Part II
XML authoring simplified for one and all: Writers UA
10 Ways DITA Can Help Drive a Unified Strategy
The Evolution of DITAs
The Future of DITA
DITA versus DITA-OT
DITA's New Thang: Going Mapless!
Ad

More from Michael Priestley (8)

PPTX
From a train to a transit system: enabling self-directed user journeys
PDF
Integrating information models across disciplines and domains
PDF
The politics of information architecture
PDF
Topic-oriented information architecture for the enterprise
PDF
Enterprise information architecture: a case study in progress
PDF
Updating content types for marketing and omnichannel
PDF
Customer-centric content and Info 4.0
PDF
Findable, Usable, Reusable: IBM's Enterprise Content Technology Strategy for ...
From a train to a transit system: enabling self-directed user journeys
Integrating information models across disciplines and domains
The politics of information architecture
Topic-oriented information architecture for the enterprise
Enterprise information architecture: a case study in progress
Updating content types for marketing and omnichannel
Customer-centric content and Info 4.0
Findable, Usable, Reusable: IBM's Enterprise Content Technology Strategy for ...

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Machine learning based COVID-19 study performance prediction
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Cloud computing and distributed systems.
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Machine learning based COVID-19 study performance prediction
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
Dropbox Q2 2025 Financial Results & Investor Presentation
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
20250228 LYD VKU AI Blended-Learning.pptx
Big Data Technologies - Introduction.pptx
Cloud computing and distributed systems.
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Review of recent advances in non-invasive hemoglobin estimation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

Does DITA need tags?

  • 1. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 1 Does DITA Need Tags? Michael Priestley, Enterprise Content Technology Strategist, IBM CIO Lu Ai, Program Manager, Content Standards and Structure, IBM Marketing Carlos Evia, Director of Technical and Professional Writing, Virginia Tech Content owners: Michael Priestley, Lu Ai, Carlos Evia
  • 2. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 2 • Why lightweight DITA? • Authoring DITA in markdown • Publishing DITA with JSON • Next steps Does DITA need tags?
  • 3. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 3 Lightweight DITA
  • 4. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 4 Collaboration and integration depend on standards 4
  • 5. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 5 Barriers to collaboration Process Lack of governance Lack of feedback Culture Lack of incentives for reuse Incentives for reinvention Content Inconsistent content types Inconsistent classification Technology Lifecycle silos tie authoring to delivery Formats tie content to authoring system
  • 6. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 6 Can you get there with DITA? • Yes. • But… • Challenges of complexity and format-dependency • Opportunity: • Lightweight DITA as a new OASIS standard (in development)
  • 7. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 7 When enough is too much Full DITA Lightweight DITA “Here’s something simple!” “We need more features!” “It’s too complex!”
  • 8. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 8 Lightweight DITA vs Full DITA Full DITA Lightweight DITA Topics ~100 elements ~30 elements Maps 10 elements (+30 shared with topic) 3 elements (+3 shared with topic) <p>What elements are allowed in a paragraph?</p> dl parml fig syntaxdiagram imagemap image lines lq note hazardstatement object ol pre codeblock msgblock screen simpletable sl table ul boolean cite keyword apiname option parmname cmdname msgnum varname wintitle ph b i sup sub tt u codeph synph filepath msgph systemoutput userinput menucascade uicontrol q term abbreviated-form tm xref state data data- about foreign unknown draft-comment fn indextermref indexterm required-cleanup image ph (phrase) b (bold) i (italic) u (underline) sup (superscript) sub (subscript) xref (link) data
  • 9. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 9 Lightweight DITA at OASIS Current focus on: • Industry scenarios oMedical oSoftware development oEducation oMachine industries oMarketing/ecommerce • Format mappings oXML oHTML5 oMarkdown oJSON
  • 10. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 10 Collaboration and integration depend on standards 1
  • 11. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 11 Authoring DITA in Markdown
  • 12. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 12 Mapping DITA to HTML5 (HDITA)
  • 13. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 13 Mapping DITA to Markdown (MarkDITA)
  • 14. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 14 • The “beautiful structure” of a step • When the DTD is away… o… the “steps” will play 1. Am I a step? <step> <cmd>Or am I a step?</cmd> </step> Overprotected child vs. the free spirit <!ENTITY % step.content "((%note;)*, %cmd;, (%choices; | %choicetable; | %info; | %itemgroup; | %stepxmp; | %substeps; | %tutorialinfo;)*, (%stepresult;)? )" >
  • 15. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 15 The Markdown wars • There is no Markdown standard • Well, there’s CommonMark • And there’s Gruber’s original • And many other flavors
  • 16. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 16 • Should we go the Fountain way? • Or should we embrace the simplest scenario? # I am a topic This is my abstract or shortdesc - A point - Another point MarkDITA is not a new flavor
  • 17. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 17 • {#identifier .class} • The best/only way to talk about headings • A solution to the <section> problem # I am a topic With a shortdesc paragraph ## And I am a section {.section} Add a scoop of Pandoc header attributes
  • 18. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 18 # The point of it all I can sum it up here I can say some more stuff ## Stuff {.section} And so on - This - Is - A List From < > to ##
  • 19. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 19 # How to do something {.task} Introduction to something ## Prerequisites {.prereq} Find some time to do it ## Context {.context} Be prepared to do it 1. Plan it 2. Do it Even better
  • 20. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 20 {.section} {.example} {.prereq} {.context} {.result} {.postreq} @outputclass equivalents
  • 21. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 21 • [key] works for keyref declared in a map • conref… that’s another story • Unless we go the GitHub way: {{ site.data.conrefs.phrases.reusable }} Content reuse
  • 22. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 22 # Topic collection {.map} - [First concept](c-first.md) - [First task](t-first.md) - [Second task](t-second.md) Maps Or <map> <title>Topic collection</title> <topicref href="c-first.md" format="markdown" /> <topicref href="t-second.dita" /> </map>
  • 23. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 23 My relationship with Jarno Elovirta
  • 24. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 24 • But we already have MkDocs and Jekyll • And Pandoc transforms to EPUB and Why bother with DITA? Next slide: DITA benefits and advantages
  • 25. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 25 DITA benefits and advantages
  • 26. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 26 Publishing DITA with JSON
  • 27. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 27 JavaScript Object Notation (http://json.org) What is JSON Data type • Number • String • Boolean • Object • Array • Null Data structure • name/value pair (NVP) "name": "Lu Ai" • object {"firstname": "Lu","lastname": "Ai"} • array “presenters": [ { "firstname": "Lu", "lastname": "Ai" }, { "firstname": "Michael", "lastname": “Priestley" } ]
  • 28. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 28 Why JSON • Lightweight, easy to parse format • popular alternative to XML as a data interchange format Use case at IBM • Dynamic content delivery via API CMS1 CMS2 CMS3 Enterprise Content Catalog JSON Converters json xml csv DITA user2 user 1 json
  • 29. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 29 IBM Case Study Structured Content Pilot • Component based content management • Open standard • Reusable • Measurable • PDF only asset management • Proprietary data model • Low reusability • Difficult to track and measure Current State Future State DITA
  • 30. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 30 IBM Case Study Structured Content Pilot IBM Case Study DITA Specialization: a non-semantic approach topic title: macys’.com: … section: {overview} dlentry: {the need} dlentry: {the solution} dlentry: {the result} … section: {client background} section: {need} section: {solution} section: {solution components} section: {benefit} …. This less constrained specialization approach provides flexibility, but does not offer much semantics.
  • 31. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 31 IBM Case Study Structured Content Pilot IBM Case Study DITA: a mechanical translation to JSON DITA JSON • Property name has minimal semantics • Unnatural/complicated structure in JSON • Difficult to query
  • 32. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 32 IBM Case Study Structured Content Pilot IBM Case Study DITA Specialization: a semantic approach This tightly constrained specialization approach provides rich semantics, but is less flexible. casestudy title: macy’s.com csprolog metadata clientbackground csneed title shortdescription needbody cssolution title shortdescription solutionbody solutioncomponents transformation csbenefit title shortdescription benefitbody longquote shortquote csinsidestory …
  • 33. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 33 IBM Case Study Structured Content Pilot IBM Case Study DITA: a semantic approach DITA Design • Adopt a semantic approach in developing Case Study DITA specialization • Allow minimal formatting tags in Case Study DITA • Analyze specific content needs and use cases for case studies to best determine when to use semantic and formatting tags
  • 34. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 34 IBM Case Study Structured Content Pilot IBM Case Study DITA: semantic translation to JSON JSON Design • Flat structure in JSON whenever possible • Structured hierarchy is only used if it makes semantic sense • Formatting tags removed or retained in JSON “value” • Program friendly: simpler structure, easier queries, cleaner output
  • 35. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 35 IBM Case Study Structured Content Pilot Query Comparison: compile an “overview” based on two different JSON data models Non-semantic Semantic Complex query Section[@.title=“Overview”].dl.dlentry[?(@.dt=“The need”)].dd + Section[@.title=“Overview”].dl.dlentry[?(@dt=“The solution”)].dd + section{@.title=“Overview”].dl.dlentry[?(@dt=“The result”)].dd.q + section{@.title=“Overview”].dl.dlentry [?(@dt=“The result”)].ph Simpler query csneed.shortdesc+cssolution.shortdesc+csbenefit.shortdesc
  • 36. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 36 IBM Case Study Structured Content Pilot IBM Case Study JSON Data Model • industry, country, language, category, product, collateraltype, productgroup, creator, sme, owner, reviewdate, expirationdate, contact, businesspartner metadata • title, subtitle, clientinfo, clientcontact, need, solution, benefit, clientexperience, quotes, solutioncomponents, formoreinfo, copyrightstatement, disclaimers content • casestudy_pdf, clientlog, industryimage, ibmcolorblock, videoassociatedassets
  • 37. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 37 IBM Case Study Structured Content Pilot Next Steps • Finalize Case Study DITA specialization and JSON data model • Case Study JSON Schema • DITA2JSON converter
  • 38. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 38 Next steps/resources
  • 39. CIO Enterprise Content Center of Excellence | ©Copyright IBM Corp. 2014, 2015 39 • Continuing design work at the Lightweight DITA subcommittee: ohttps://www.oasis-open.org/committees/tc_home.php?wg_abbrev=dita- lightweight-dita • Public discussion at the LinkedIn group: ohttps://www.linkedin.com/groups/Lightweight-DITA-4943862/about • Test out early prototype mappings: ohttps://github.com/jelovirt/dita-ot-markdown ohttp://any2dita.com/ What’s happening