Wowwwwww effect of my new Word 2007 authoring tool
I have reached now another step on the new authoring tool for Tech Head Brothers portal by having some authors installing this new version and starting beta testing it. Has you can see, with the following twit, it seems that the tool is on the good way:
From Rédo (french blog)
Just try the new beta tool of publishing for http://www.techheadbrothers... …. that’s the Wouawwww effect !!! … sorry, it’s NDA ;p about 23 hours ago
From Jon Galloway (blog)
@laurentkempe Like I said, I’d pay money for it, and I’m very cheap. Very cool. about 15 hours ago from web in reply to laurentkempe
This tool let all authors write articles using a customized Word 2007, preview it offline in Internet Explorer as it will be seen on the portal and finally post the article to the portal directly from Word 2007. It is a replacement of THBAuthoring, my old tool found on CodePlex.
To achieve this goal I am using quite some technologies. First Word 2007, Ribbon, .NET Framework 3.5 SP1, VSTO 3.0, OpenXML, WordML, XML Schema, XSLT. Than for sure C#, Linq to XML, Linq to Object.
For the installation I use ClickOnce. That’s a great improvement! I had so much issues with THBAuthoring.
From an author point of view you are using a almost normal Word 2007 document with different predefined styles, bold, list… There is two exceptions:
- Source code
- Zip with sample code
The usage scenario for the inserting Source Code into the Word document is as following:
- Copy the code into the clipboard from Visual Studio 2008/2005
- Position the cursor into the Word 2007 document where you want to insert the Source Code
- Click on the button Source Code on the custom Ribbon
- That’s it, easy no?
This brings clear text of the source code into the document and colored source code into the HTML preview.
The usage scenario for attaching the Zip with the sample code is also easy:
- Click on the button Zip in the custom Ribbon
- In the opening File selector dialog browse to your zip file and select one
- That’s it, easy no?
Finally there is another usage scenario; inserting pictures:
- From Windows Explorer copy a picture file
- Position the cursor in the Word 2007 document
- Paste
- That’s it, easy no?
So, how does it work technically!
It works by doing a projection of the WordML to a well formed Tech Head Brothers XML document defined by an XML Schema. Then it uses a XSLT to produce HTML.
I hope to find the time to make a little video soon to demonstrate the way it is used!
Here is a picture of the tool