Updated 2009-05-15: Correction on some WikiText conversion.

I've spent most of the day the last two days taking some legacy Word documents and converting them into nicely formatted, semantically marked up DocBook files. I hear some kringing already. The WikiText fan boys are already gearing up, shouting it's praises as the silver bullet to all your document creation needs (tongue firmly planted in cheek) (Where I work we happen to use PMWiki to run our main website, so it has it's uses). Okay it's not a silver bullet, sorry, I'm not a huge Wiki markup fan even though I do use it. It reminds me too much of RegExp and Perl. Powerful, but very cryptic. In many ways wiki can make text even harder to read when editing.

Inconceivable!

Sample Wiki Table with italics and SuperScript.


{||-
|<i>x</i><sup>2</sup>
| width=20px | || width=20px | ≥0 || true.
|-
| a || || b
|}


Wait! I thought this was wiki, what is XML markup doing in there! Can't wiki do everything? Honestly XML has it's good and bad markups as well...Don't even get me going on how much I hate DTDs.

Yeah, I know, some will say that the DocBook dialect is overly verbose, that there is too many tags. However like Wiki markups in their many flavors and sizes, you only truly need about 10% of the DocBook markup to write a good document.

Inconceivable!

Honestly...if you look at most documents you have it broken down into the following semantics:

  • Book
  • Chapters
  • Sections
  • Paragraphs
  • ItemizedLists
  • OrderedLists
  • Emphasis
  • Figures
  • Images
  • Tables, Rows and Columns.
Occassionally you'll need Appendix, Glossaries but those are another name for Chapters. The problem I have with Wiki is that it still suffers from the same problem that HTML suffers, and that XHTML has tried to solve. Mixing Presentation and Content together. It's still the issue that the WordML and even OpenDocumentText format suffers (although the latter is better). An Author writing a book, article, or even a simple web page should not have to worry about what it is going to look like. They should only have to worry about the content they are writing.

Inconceivable!

Okay maybe I live in a dream world, but for those that just want to get things done. There are options like the eclipse VEX project, OxygenXML's Author, and my personal favorite at the moment XMLMind. WikiText is great for developers, but in the end one of the formats it converts to is good old DocBook. It also converts directly to other formats. Personally, XML semantics still hit that sweet spot. Besides I'd rather learn one DocBook markup than hope that somebody has created a plugin for WikiText that understands my flavor of Wiki markup, with my particular extensions, and additions. Hopefully, the wiki world will standardise. Some work has already started around this with the work of WikiCreole. Standards...what a concept.

I know...I know....Inconceivable!