Quote:
Originally Posted by Hitch
I don't think you read the posts. NO. Not in any simple fashion. You can output the file to HTML and then paste THAT into a "text box" that is in reality an HTML editor, I suppose. But if you're trying to build some end-user platform where they paste a Word file into a "box" that somehow magically extracts all the HTML and CSS and gives you the back end, you're going to have to write a program that does that, and frankly, I don't see how that can happen.
Other people can speak to this better than I, but Word isn't pure HTML. It uses XML and other tools that provide the GUI interface for the CSS (and other coding that isn't CSS) that makes it function (like start-and-stop lists). I don't see how any user "copy and paste" is going to carry all that information with it. You, yourself, said that you know that copy-and-pasting from Word to BookView doesn't work, right? So: how can it work in a webform? If you cannot do it, yourself, from GUI to GUI, how can you start to replicate it in a webform? You already have the answer. There may well be programmatic methods that would extract all that information, (n.b.: I don't actually see how, not going GUI->GUI) but it's certainly outside of the scope of normal ePUB creation or this forum.
Hitch
|
This. ^^
And thus the need to either use Toxaaris' addon or calibre as an intermediate step, or else to duplicate all that work yourself by creating Yet Another Conversion Tool, with a great deal of backend programming to handle it.
If you truly wish to write that program, don't let us stop you, but if you just wish to take Word documents and put the contents into Sigil, why not go with the already existing tools?
What is the problem with "bounce(ing) it through calibre or sigil first", and why is using a web-based program going to be any better?
For that matter, I am sure you can whip up a php script to upload a word document and have the server run calibre to convert it, then offer up the results to you. Why that would be any better, I do not know.