integrating dtds into dita cms

17

Click here to load reader

Upload: ixiasoft

Post on 12-Jul-2015

115 views

Category:

Software


12 download

TRANSCRIPT

Page 1: Integrating DTDs into DITA CMS

Integrating DTDs

into the DITA CMS

Leigh White, DITA Specialist, IXIASOFT

Page 2: Integrating DTDs into DITA CMS

Introduction

Leigh White

DITA Specialist

• Writer, Information Architect, Speaker

• Been with IXIASOFT since Sept 2013

• DITA CMS user since 2011

• Implement and support DITA CMS

• Author of DITA for Print

• Contributor to The Language of Content Strategy

Page 3: Integrating DTDs into DITA CMS

Have you seen the documentation?

• http://www.ixiasoft.com/en/products/dita-

cms/documentation/3-4/integrating-dtds-dita-cms

• Fuhgeddabout!

• It’s all different (and better) now

• New documentation forthcoming

• In the meantime…

Page 4: Integrating DTDs into DITA CMS

Come out of your shell

• First step in any integration…create your own DTD

shell

• Why?

Lots of reasons

The biggest (CMS-wise): so you don’t edit any files that

IXIASOFT supplies and might update in the future,

overwriting your changes

Page 5: Integrating DTDs into DITA CMS

The process in a nut…shell

1. Create a new DTD plugin

2. Copy files to custom plugin & rename

3. Edit relative paths in shell DTD

4. Edit custom catalog

5. Add custom catalog to CMS master catalog

6. Verify oXygen points to master catalog

7. Edit system id’s

8. Edit topic template DOCTYPE’s

9. Integrate DTD plugin into Output Generator

10.Add DTD plugin to Web Author framework

Page 6: Integrating DTDs into DITA CMS

DEMO: Create new DTD plugin

• Create new plugin folder

• Add dtd collection

• Copy plugin.xml, catalog.xml, IxiaDitabase.xml

• Rename IxiaDitabase.xml, optionally rename

catalog.xml

• Edit plugin.xml

Page 7: Integrating DTDs into DITA CMS

DEMO: Edit shell DTD

• Edit header

• Edit public id

• Edit relative path for localizationDomain.ent

(Domain Attribute Declaration section)

• Edit system id path for referable-content-typemod

(Topic Element Integration section)

• Change end comment

Page 8: Integrating DTDs into DITA CMS

DEMO: Edit custom catalog

• Delete everything inside <group></group> except

line referencing IxiaDitabase.dtd

• Change that public id and URI to match public id

and URI of shell DTD

Page 9: Integrating DTDs into DITA CMS

DEMO: Add custom catalog to

master catalog

• Add new <nextCatalog> entry

<nextCatalog

catalog="../plugins/com.company.dita.dtd/catalog.xml"/>

Page 10: Integrating DTDs into DITA CMS

DEMO: Verify oXygen pointing to

master catalog

• Window> Preferences> oXygen XML Author (or

Editor)

Page 11: Integrating DTDs into DITA CMS

DEMO: Edit system id’s

• Repository/system/conf/systemid.xml

• Change topicdefault

<id mapdefault="-//IXIA//DTD IXIA DITA Map//EN"

topicdefault="-//COMPANY//DTD DITA Composite//EN">

• Change first reference’s public id

<reference public="-//COMPANY//DTD DITA

Composite//EN"

system="../../system/dtd/ixia/IxiaDitabase.dtd"/>

Page 12: Integrating DTDs into DITA CMS

DEMO: Edit topic template

DOCTYPE

• Repository/system/templates/topics (and maps)

<!DOCTYPE concept PUBLIC "-//COMPANY//DTD DITA

Composite//EN" "CompanyDitabase.dtd">

Page 13: Integrating DTDs into DITA CMS

DEMO: Add custom plugin to

Output Generator

• Copy to OutGen/data/%DITA-OT%/plugins

• Run integrator

Page 14: Integrating DTDs into DITA CMS

DISCUSSION: Add plugin to

Web Author framework

Page 15: Integrating DTDs into DITA CMS

Questions?

Page 16: Integrating DTDs into DITA CMS

Time permitting

• DEMO: Integrate topic specialization

• DEMO: Integrate domain specialization

• DEMO: Integrate attribute specialization

Page 17: Integrating DTDs into DITA CMS

More questions?