Refactoring my publishing tool
I started some time ago to work on a new release of the tool I developed to publish content on my web site Tech Head Brothers. This new release will add the possibility for the author to directly post there article to the website.
This solution is using:
- Word 2003 with it XML features
- XML Schema for the definition of the content
- XSLT for the presentation. Transformation to HTML, PDF using nFOP (FOP is not working properly at the moment), and soon WordML.
- Microsoft Visual Studio Tools for the Microsoft Office System
- Web Services Enhancements (WSE), Dime
The authors write there articles using Word 2003 and can visualize on there computer there article the way it will be displayed on Tech Head Brothers. Then when they are ready, they save the Word document and are asked if they want to publish it. The software then parse the XML published by Word 2003 and replace the references to source code files by the real source code with colorization. It also replaces references to images with a new XML tag representing the image. Then it zip everything; the article as a XML file, the images, if there is a zip with source code… And finally using WSE and DIME attachment the article is posted. The website gets the DIME attachment, unpack the zip, save the files on the server, and add an entry to the database. That’s it.
I have done all the refactoring by hand. And that’s such a pain. I am now used to do that with Whidbey and it refactoring tools. So I have a bit searched on the internet some tools that will match my need concerning refactoring and I could find some:
I tried several of those in the past but now I really want to use one, but it is impossible cause I get an error message when I add an addin to Visual Studio .NET 2003, for exemple yith .NET Reflector 4:
Any one as an idea?