• Home
  • About Me
  • Archives
  • Popular Posts
  • Sitemap
  • Plugins Used
  • Contact Me
  Email
  RSS

Shanghai Tech Writer

Technical Writing, Technology, WordPress, Blogging, Web 2.0, National Instruments, LabVIEW, Shanghai, China
« Being Too Productive
Technical Writing vs. Blogging »
19
Mar
Single Sourcing the Lazy Way
138 visits, 2 today
Categories: Documentation & Help Manuals, Grammar & Style, Technical Communication/Writing, Trends

Single sourcing is a phrase thrown around quite often in the technical communications world. I’ve come across several posts that talked about it and even heard it mentioned a few times at work. Matter of fact, all the stuff I write at work are single sourced! But shame on me, I didn’t actually know what it was until just now when I looked up the definition on Wikipedia.

More about single sourcing another day when I am more coherent and articulate. After writing all day at work, the quality and quantity of my blog posts have degenerated to my dislike. At this rate, I’d never retire from the pennies earned from the content-generated ads. But that’s another post for another day. There are so many things I want to blog about but don’t have the time!

Back to single sourcing.

Today, I learned a cool new trick to documenting in XML. I heard about this trick before and was asked to implement it several times in my previous reviews. I kept putting it off because I didn’t know how and didn’t have the time to figure it out. But finally today, a colleague helped me figure it out!

This . . . it . . . is called the parent/child tag!

(Note: The use of this and it in technical writing is illegal but since I’m not working right now, I can write at liberty.)

Part of single sourcing is to simplify the process of reusing information/content that are reused several times across the same or different documentation.

For example, I’ve been working on a tutorial about designing digital filters. The first part of the tutorial is about designing floating-point filters. The second part is about designing fixed-point filters. The two filter designs are very different in nature, however, they share some of the same the procedural steps. So what do I do?

Attempt #1: The stupid way of documenting this is to write the instructions twice. Believe me when I say stupid. I actually did that and spent equal amount of time explaining the same things twice. Stupid egg. (笨蛋)

Attempt #2: The slightly smarter way of documenting this is to copy/paste the content that are reused. After I realized that some of the instructions in my tutorial are the same, I got smarter and started copying/pasting duplicate content. Only problem was that every time I got my review back and had to make changes, I had to make sure I fixed all the clones. Sometimes I forget and inconsistencies are just splattered across the tutorial. Bleh. Goose bumps.

Attempt #3: The smart way of documenting this is to use the parent/child tag (in XML)! I use the parent tag (<parent id=”id_name“>blah blah blah</parent>) to mark content that will be reused. Then wherever I want to reuse a particular content, I use the child tag (<child ref=”id_name“/>) to recall that particular content! It’s like magic! If I need to fix anything, I only have to fix the parent content! What a brilliant invention!

I’m starting to love the idea of single sourcing!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • E-mail this story to a friend!
  • Live
  • Reddit
  • StumbleUpon
  • Technorati
  • Google
  • Mixx
  • Slashdot
  • TwitThis
Rate This Article:
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

rss  Subscribe to RSS feed     email  Subscribe via e-mail

The views expressed on this website/weblog are mine alone and do not necessarily reflect the views of my employer.

Related Articles:

  • Links Roundup: Technical Writing (3)
  • How Well Do You Work with Your SMEs? (0)
  • Dual-Monitor Setup to Increase Productivity (5)
  • English as a Second Language (5)
  • Why Technical Writers are Important (0)

One Response to “Single Sourcing the Lazy Way”

  1. Micah Sittig Says:
    May 8th, 2008 at 11:08 pm

    In database engineering there is a related concept called “data normalization” that says that every piece of data should only exist once in a set of database tables. I think it’s a very useful idea!

Leave a Reply

Search Blog




Popular Articles

  • Typical Day as a Technical Writer at NI Shanghai
  • Being a Technical Writer in Shanghai / China
  • Being a Foreigner and an Expatriate in Shanghai
  • Salary Expectation of Expatriates in Shanghai
  • English as a Second Language
  • My Favorite WordPress Plugins
  • The Guitar Hero Robot Using NI LabVIEW and FPGA
  • Dual-Monitor Setup to Increase Productivity
  • How to Setup a New Blog
  • Tips to Adding More Posts to Your Blog
  • Read More Popular Posts!

Latest Posts

  • Links Roundup: Technical Writing
  • One Week in New York City
  • Typical Conversation as a Technical Writer
  • Winterbells Flash Game
  • Slashbot: Guitar Hero Robot
  • Links Roundup: Games
  • Visit the archives for more!

Google Ads

Google Reader Shared Items

  • Sponsors

  • Recent Comments

    • web talk: I go to NY every year for family reasons. I love it, I really do, above all for its tech shops full of bargains. Anyway I would not spend...
    • Susan: Arin, you’re asking a question without giving much info about your background and experience. The bottom line regarding salary is not...
    • Arin: :lol: no one answered my question…. is 10 K RMB per month a good salary in Qingdao…pls give details….
    • Steve: I think how much you get if hired locally, really depends on the industry, the company, the position and the scarcity of people with your...
    • Brian Hunt: A great site for ESL students is AIDtoCHILDREN.com. AIDtoCHILDREN.com is a dual-purpose site for building an English vocabulary and...
    • vikas sharma: good job…have a look to another great online flash games site having all your favourite ganes like mario , street fighter , pac...
    • premyz: gr8… keep blogging :smile:
    • premyz: My scores 70, 80 & 60 :smile: premyzs last blog post..My Critical Voice - The Culprit!
  • Badges

      Powered by FeedBurner
      Add to Technorati Favorites
      How-To Blogs - Blog Catalog Blog Directory
      Blog Flux Directory
      Blogging Fusion Blog Directory
      Blog Directory & Search engine
      blog Shanghai
  • Meta

    • Log in
  • Visitors


  • Categories

    • Blogging
      • Monetize
      • Search Engine Optimzation
    • Books & Reading
    • Cool Technology
    • Fun Stuff
    • Games, Games, and Games!
    • Internet Security
    • Links Roundup
    • Lists
    • Miscellaneous
    • National Instruments
      • Company Culture
      • LabVIEW & Toolkits
      • NI China
      • NI Products
      • NIC / Austin
    • Photos/Videos
    • Polls/Survey
    • Reviews
      • Photo Templates
      • Software Review
    • Shanghai & China
      • Cultural Differences
      • Policies & Regulations
      • Working in China
    • Software & Tools
    • Stats & Analytics
    • Technical Communication/Writing
      • Characteristics
      • Content Experts
      • Documentation & Help Manuals
      • Grammar & Style
      • Job Skills & Requirements
      • Language & Translation
      • Profession
      • Trends
      • Useful Resources
      • Writing Content
    • Tips & Tricks
    • Tutorials/How-Tos
    • WordPress
      • Design & Layout
      • WordPress Plugins
      • WordPress Themes
  • Blogroll

    • Communications from DMN
    • Daily Blog Tips
    • Don’t Call Me Tina
    • ffeathers
    • Foul Writer’s World
    • Gryphon Mountain Journals
    • HelpScribe
    • I’d Rather Be Writing
    • just write click
    • One Man Writes
    • Rahul Prabhakar
    • Scott on Writing
    • Sharp Words
    • Spacebar Press
    • Technically Speaking
    • Usable Help
    • User Assistance
  • Links & Resources

    • Content Wrangler Community
    • Docsymmetry
    • National Instruments
    • Poe War
    • Society of Technical Communication
    • Tech Writer Blog Directory
    • TECHWR-L
    • WriterRiver
    • Writers UA
Copyright (c) 2008 Shanghai Tech Writer
Using the DarkZen Theme