Running this from a web application

Apr 21, 2009 at 4:52 PM
I saw a video from one of the tech guys at microsoft (http://www.youtube.com/watch?v=el-3TKVgX-0) showing how to use this in a web application, but he skipped over the code sections on how to actually implement it.

I'd like to mock up an example similar to what he did where you have a "Browse" function to locate the docx file, then a simple button to upload and translate the file into html.  Looking through all the source code for this project, I dont see a web application included.

Do you have an example of how to do this?

Thanks,

- Dink
Coordinator
Apr 21, 2009 at 5:23 PM
Hi,
 
 The video demonstration that you looked at (http://www.youtube.com/watch?v=el-3TKVgX-0) was a technology demonstrator interface only. The web application was used to demonstrate the feasibility of conversion of docx to html. The latest release (November 2008) has a commandline interface that you can use to convert the docx to html. Do take a look at the documentation section for more details. The Release contains the necessary binaries to try the scenario.

Do look out for our next release, coming soon, with more features!

Best regards
Anand
Apr 21, 2009 at 5:45 PM
I have played with the commandline interface, but it may not really work for me yet in its current state.

Since it creates an "XHTML" document instead of just a standard "HTML" document, its not going to work for my application unless I have a listener setup that renames the file to a standard .html extension after its been created (my users are 95% IE, very few use Firefox, and its not practical for us to roll out a process to register the new extension with a browser).

I'm not a C++ developer (I work in C#), so I dont really understand the code or how to modify it to produce an html (vs. xhtml) file and rebuild the exe (the documentation is incomplete and confusing since it references including files and libraries that apparently aren't already included - not sure why this is).  I would have thought (since this is the most common practice on CodePlex) that the "src" download option would have had all the files neccessary to build the exe...but that may just be my preference on things (not intended to sound like I'm over-complaining).

Is there an easy process to change the file extension on the outputted file, or will I have to catch and modify it on my own after-the-fact?

- Dink
Coordinator
Apr 21, 2009 at 5:59 PM
Hi,

 We will soon be releasing the next release of the project. The commanline interface has been improved with support for rendering to HTML and XHTML based on the input parameters. I believe that the next release will be very helpful with your scenario. So do keep watching this space.

Best regards,
Anand
Apr 21, 2009 at 6:01 PM
Thanks for the update...it sounds like it would be perfect for what I'm trying to do.

Any eta on the next release?

- Dink
Coordinator
Apr 21, 2009 at 6:06 PM
ETA is approximately 2 weeks.

//Anand