UCSC DITA XML Intro course - assignment 2 - results with comments
Forum topic: Submitted by Michael Priestley on Wed, 2008-02-27 02:36.
Assignment 2: DITA authoring
Materials:
- Review the presentation at http://www.ditausers.org/tutorials/basics/Priestley_Authoring/
- Read section 3.1 of the DITA 1.1 architectural specification:
http://docs.oasis-open.org/dita/v1.1/CS01/archspec/archspec.html - Read the description of <shortdesc> in the DITA 1.1 language specification:
http://docs.oasis-open.org/dita/v1.1/CS01/langspec/langref/shortdesc.html
Assignment:
- Try signing up for a google alert for all media types for the terms "dita xml" (http://www.google.com/alerts)
- Create a concept, task, and reference topic to support the goal of signing up for a Google alerts for example, a concept explaining the idea, a task describing how to subscribe to an alert, and a reference topic describing the types of alert and options available. You can create more than one topic of each type if you think it's necessary. Follow the guidelines laid out in the presentation.
General comments on Assignment 2
I'd like to give you a sense of what I was looking for in the assignments, and some of the common problems that many people encountered.
I was looking for:- Appropriately authored shortdescs, based on the guidelines in the DITA 1.1 language specification (link given in the assignment instructions)
- Appropriate use of information type structures, such as properties or tables in reference topic, or steps and prereqs in task.
- Appropriate use of inline markup, such as uicontrol for user interface elements, or xref for links to websites.
- Missing or inappropriate shortdescs
- Faked headings - a natural impulse coming from HTML, but in XML needs to be addressed with a stylesheet change, not authoring workarounds
- Empty elements - such as leftover stepresult elements with no content.
- Generic highlighting like <b> instead of semantic markup like <uicontrol>
- Make sure you review the assigned materials. The shortdesc guidelines in particular were crucial for this assignment and I think got overlooked by many. Even if you are already familiar with DITA, the assigned reading/viewing may introduce new concepts or guidelines that are necessary background for the assignment.
- Use the tags-on view to see what kind of DITA markup you're producing, and clean up empty elements etc.
- Review your produced output - if it's not looking/reading like you expected, there may be a problem with the markup.
- Ask questions - now that we have a page up in the dita.xml.org wiki, I'm hoping we can interact with each other more. We have a fair range of experience in the course, which can make it especially intimidating for those new to DITA. But if the more experienced people provide more support through the wiki, that range of experience becomes an asset for everyone.
Attachment | Size |
---|---|
assignment2-public.zip | 279.98 KB |
Thanks, all, for sharing
I just wanted to add a note of thanks to both you Michael and your students for being willing to participate and teach the class in this way. It's a brave world and I think we all admire your open spirit so that others can learn too!
element IDs
Hi Michael
I have a question question about assigning element IDs: guidelines for when it is strongly recommennded, and how/if they are generated automatically to guarantee uniqueness?
re element ids
The only required id is on the topic element itself (or concept, task, reference...). For elements within a topic, ids are only really needed if the element is going to be linked to or reused. A typical reuse policy is to create a special topic or topics that will contain your reused elements, rather than reusing from any available topic.
Element ids only have to be unique within the topic they're created in - all references include the containing topic id, which provides a scope for the contained element ids.
If your editor or CMS assigns ids automatically, it's up to that tool to maintain uniqueness. One common technique is to generate a long random number or string such as a GUID, which has at least a very strong likelihood of being unique, and within the scope of a DITA topic, is pretty much completely guaranteed to be unique.
I hope this helps,
Michael Priestley