IBM Software Group ® Context-Sensitive Help with the DITA Open Toolkit Jeff Antley IBM October 4, 2007.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
A Toolbox for Blackboard Tim Roberts
WeB application development
Chapter 2 HTML Basics Key Concepts
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
DITA Everyday by Tom Rathkamp
© 2011 Adobe Systems Incorporated. All Rights Reserved. Adobe Confidential. Kiran Kaja | Accessibility Engineer Ensuring Accessibility in Document Conversion.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Chapter 11 Developing Custom Help. 11 Chapter Objectives Use HTML to create customized Help topics for an application Use the HTML Help Workshop to.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Creating and publishing accessible course materials Practical advise you can replicate.
OFC302 Building Smart Document Solutions in Word & Excel Martin Sawicki Lead Program Manager.
Best Practices for Integrating Accessible Images into E-books and Digital Talking Books Presented by the DIAGRAM Center and the WGBH National Center for.
Creating a Simple Page: HTML Overview
© 2007 IBM Corporation DITA code reviews Presenters: Megan Bock, Shannon Rouiller, Jenifer Schlotfeldt.
What is Web Authoring? Web Authoring Tools Use Text Editors HTML Editors Web-based Authoring Tools Integrated Web Authoring Tools 8Basic Understanding.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Advanced Tutorial For Version 10.0 and later.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
Web Technologies Website Development Trade & Industrial Education
© 2005 by IBM; made available under the EPL v1.0 | March 1, 2005 Tim deBoer Gorkem Ercan Extend WTP Server Tools for your.
® IBM Software Group © 2009 IBM Corporation Rational Publishing Engine RQM Multi Level Report Tutorial David Rennie, IBM Rational Services A/NZ
Copyright © 2012 Accenture All Rights Reserved.Copyright © 2012 Accenture All Rights Reserved. Accenture, its logo, and High Performance Delivered are.
CS 299 – Web Programming and Design Introduction to HTML.
IBM User Technologies 11 / 2004 © 2004 IBM Corporation Information development with DITA Ian Larner User Technologies, IBM Hursley Lab, England
Tutorial 1 Developing a Basic Web Page. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives – Lesson 1 Introduction to the.
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Website Development with Dreamweaver
Learning Web Design: Chapter 4. HTML  Hypertext Markup Language (HTML)  Uses tags to tell the browser the start and end of a certain kind of formatting.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Tutorial 121 Creating a New Web Forms Page You will find that creating Web Forms is similar to creating traditional Windows applications in Visual Basic.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
LLRP GUI Client User Guide
Session 1 SESSION 1 Working with Dreamweaver 8.0.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
IBM User Technology © 2005 IBM Corporation DITA and componentized information Skyla Loomis.
ImplementingDITA™ Setting the stage: Creating simple DITA projects that will scale up Anna van Raaphorst Richard H. (Dick) Johnson Authors of the DITA.
IBM Software Group ® Overview of SA and RSA Integration John Jessup June 1, 2012 Slides from Kevin Cornell December 2008 Have been reused in this presentation.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
Technical Workshops | Esri International User Conference San Diego, California Creating Geoprocessing Services Kevin Hibma, Scott Murray July 25, 2012.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Ali Alshowaish. What is HTML? HTML stands for Hyper Text Markup Language Specifically created to make World Wide Web pages Web authoring software language.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
Tutorial 3 Adding and Formatting Text with CSS Styles.
© 2008 by Shawn Spiars; made available under the EPL v1.0 | March 17, 2008 Case Study – Phurnace Software and RCP Shawn Spiars Lead UI Developer Phurnace.
Web programming Part 1: HTML 由 NordriDesign 提供
© 2002 IBM Corporation Transaction Processing Facility TPF Users Group Acapulco May 2004 © 2004 IBM Corporation Pete Nicholls IBM Toronto Lab TPF Toolkit.
Building a Web Page. Create A New Folder  Right click on the desktop and select New / Folder  Name the folder playpen.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
DT228/3 Web Development JSP: Actions elements and JSTL.
DITA TOPICS - ADVANCED. Session Results Topic Types Review Format/Layout Separated from Content DITA Concept Elements Using DITA Concept Elements - Advanced.
HTML. HTML: What is it? – HTML stands for Hyper Text Markup Language – An HTML file is a text file containing small markup tags – The markup tags tell.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
1 Model Driven Health Tools Design and Implementation of CDA Templates Dave Carlson Contractor to CHIO
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
Solvency II Tripartite template V2 and V3 Presentation of the conversion tools proposed by FundsXML France.
Your Interactive Guide to the Digital World Discovering Computers 2012 Chapter 13 Computer Programs and Programming Languages.
Microsoft FrontPage 2003 Illustrated Complete Creating a Web Site.
Introduction to XHTML.
COSC-4840 Software Engineering
Creating supertasks in DITA
Presentation transcript:

IBM Software Group ® Context-Sensitive Help with the DITA Open Toolkit Jeff Antley IBM October 4, 2007

IBM Software Group 2 Agenda  What is context-sensitive help?  How is it typically authored/sourced?  DITA to the rescue  CSH DITA specialization – the strategy  CSH DITA specialization – the technical details  Demos:  Installing the cshelp plugin into DITA-OT  Authoring CSH content in DITA  Outputting Eclipse context files  Outputting draft-mode HTML (useful for technical or editorial review)  Migrating Eclipse context files to DITA  Creating HTMLHelp

IBM Software Group 3 What is context-sensitive help? “Context-sensitive help is a kind of online help that is obtained from a specific point in the state of the software, providing help for the situation that is associated with that state….”online help -- Wikipedia

IBM Software Group 4 What is context-sensitive help? (Eclipse examples) Infopop Help view  UI assistance for working with a specific panel, window, or field  Only useful within the context in which it is displayed  Usually contains links to a help system (online help/information center)

IBM Software Group 5 How is CSH authored/sourced? (Eclipse example) Choose the type of resource you would like to create. …

IBM Software Group 6 Problems with this type of authoring environment  Custom file formats tend to be edited in a a variety of editors – even text editors  No validation, error-checking, reusability, consistency, or separation of information from presentation  Example: hand-made nested unordered lists: This view shows all resources in the workspace, including: - HTML files - Java files - Java source files - Class files - XML files  Hard to review (peer, technical, or editorial)

IBM Software Group 7 DITA to the rescue  Allows CSH to use the same tag set and tooling as other DITA- based documentation types  Consistent output when writers tag content appropriately in DITA  Source validation and error checking  Dynamic resolution of link titles to relative DITA documents  Ability to single source content using conrefs  Ability to output to a variety of formats as runtime format changes without modifying DITA source

IBM Software Group 8 CSH DITA specialization – the strategy  Enable DITA -> Eclipse context file format No text  Enable migration of existing Eclipse context files to DITA No text  Allow DITA -> HTML output No text  Do not preclude specialization from being used for other output formats No text

IBM Software Group 9 CSH DITA specialization – the technical details  Enable DITA -> Eclipse context file format  dit2context.xsl is used to transform.dita files to Eclipse context (.xml) files  Enable migration of existing Eclipse context files to DITA  context2contexttemp.xsl  context2dita.xsl  Allow DITA -> XHTML output  Standard DITA-OT transforms can be used  Do not preclude specialization from being used for other output formats  cshelp.dtd and cshelp.mod add only minor changes from topic: csprolog csmetadata cswindowtitle cswidgetlabel

IBM Software Group 10 DEMOS

IBM Software Group 11 DEMO: Installing the cshelp plugin into DITA-OT  Prerequisite: working copy of DITA-OT  Download cshelp plugin from sourceforge.net/  Unzip cshelp.zip to your /demo directory  Run Ant integrator build file ( ant -f integrator.xml )

IBM Software Group 12 DEMO: authoring content Eclipse context fileCSH DITA file

IBM Software Group 13 DEMO: authoring content Eclipse context fileCSH DITA file

IBM Software Group 14 DEMO: authoring content Eclipse context fileCSH DITA file

IBM Software Group 15 DEMO: authoring content Eclipse context fileCSH DITA file

IBM Software Group 16 DEMO: authoring content Eclipse context fileCSH DITA file

IBM Software Group 17 DEMO: authoring content Eclipse context fileCSH DITA file

IBM Software Group 18 DEMO: authoring content cshelp/csh_sample/sample1_context.dita sample1_context My Sample 1 Context 1 This is an example context file. Here's some additional content in a paragraph. My Sample 1 Context 2 This is an example context file.

IBM Software Group 19 DEMO: authoring content Things to know when authoring for Eclipse output  Some highlighting and formatting elements do not output  Table and simpletable  Image (only the text in the attribute or tag will display)  Object  Figure (only the text in the tag will display)  Footnote  Indexterm, indextermref  Xref  Many highlighting elements will display using the (bold) tag  Monospaced text and text in text blocks will display, but not as such  Lists (ordered, unordered, and simple) are supported, but nesting beyond three levels is not; if you must use lists, it is recommended that you not nest them

IBM Software Group 20 DEMO: outputting Eclipse context files (step 1)  Set up a ditamap that points to all of the.dita files in your plugin Example:

IBM Software Group 21 DEMO: outputting Eclipse context files (step 2)  Set properties in your Ant build file Input ditamap (example) Output directory – typically will be the root folder of your plugin (example) Custom XSL transform to produce Eclipse context format Basic transform type to use Output extension for Eclipse context files is “xml”  Run Ant build file (e.g., ant –f sample_csh_eclipse.xml )

IBM Software Group 22 DEMO: outputting Eclipse context files (step 3)  Example output context file This is an example context file. Here's some additional content in a paragraph. This is an example context file. Here's some additional content in a paragraph.

IBM Software Group 23 DEMO: outputting draft-mode HTML  Set up separate Ant build file based on sample_xhtml.xml Example: <!-- please refer to the toolkit's document for supported parameters, and specify them base on your needs -->  Run Ant build file (e.g., ant –f sample_csh_xhtml.xml )

IBM Software Group 24 DEMO: outputting draft-mode HTML Example DITA file sample2_context My Sample 2 Context 1 This is another example context file. New Project Wizard Panel level help ….

IBM Software Group 25 DEMO: outputting draft-mode HTML Example output

IBM Software Group 26 DEMO: migrating Eclipse context files to DITA  Set up and run a batch file to process XML files using XSLs Example: d:\j2re1.4.0\bin\java -cp d:\xalan-j_2_5_1\bin\xalan.jar;d:\xalan-j_2_5_1\bin\xercesImpl.jar org.apache.xalan.xslt.Process -IN d:\ditaot\csh_migration\contexts_Workbench.xml -XSL d:\ditaot\demo\cshelp\xsl\context2contexttemp.xsl -OUT d:\ditaot\csh_migration\temp\contexts_Workbench.xml d:\j2re1.4.0\bin\java -cp d:\xalan-j_2_5_1\bin\xalan.jar;d:\xalan-j_2_5_1\bin\xercesImpl.jar org.apache.xalan.xslt.Process -IN d:\ditaot\csh_migration\temp\contexts_Workbench.xml -XSL d:\ditaot\demo\cshelp\xsl\context2dita.xsl -OUT d:\ditaot\csh_migration\contexts_Workbench.dita

IBM Software Group 27 HTMLHelp  The HTML files generated with DITA can be compiled into a single HTMLHelp CHM file.  The CHM file can be programmatically launched to specific HTML documents and ID locations within the HTML documents.  HTMLHelp is no longer being updated by Microsoft

IBM Software Group 28 Finding your target in the HTML  To link to a DITA-sourced HTML file within a CHM, you need to know the file name and ID  CHMs produced with the DITA-OT will base the HTML name on the topic name; by default, myfile.dita will result in myfile.html  Topic IDs will remain the same; so, will result in an ID of “mything” – you can link to myfile.html#mything  Element IDs combine with the topic ID; within the the topic with id=“mytopic” results in an ID of “mytopic__sect” in the HTML

IBM Software Group 29 Linking C code to HTMLHELP CHM files 1.Include htmlhelp header.  #include "htmlhelp.h" 2.Call the HtmlHelp function in your code.  HtmlHelp(GetDesktopWindow(), "ditahelp.chm::/misc.htm#vo", HH_DISPLAY_TOPIC, 0); 3.Link with htmlhelp.lib  The header and library files are included in HTML Help Workshop.  Here is a description the HtmlHelp function from 

IBM Software Group 30 QUESTIONS?