Hello all,
Is there a way to break up a Word document to put the content in to a database? I constantly have to copy and paste content from long Word documents to a database, then I have to enter html tags like <b> and <br> to stucture the content because it is then displayed to the web. Those anyone know a better way to do this?
I found an application called RoboHelp which creates Help files from Word docs. By creating a Word file which uses Styles, it can seperate everything into a help file. For example, if you define all your Titles as Header1, your subtitles as Normal1 and the content as Normal2. Then somehow Robohelp breaks everything so it creates a windows help file(tree style menu). First we see the the title, when you click on it we see the subtitle under it, when you doubleclick on a subtitle you have have the content.
Now I'm wondering if php can read a Word document, detect the Styles and, depending on the Styles, it would break everything up and put it in a MySql table so that the title appear in the Title column and the content would go in the Content Column of the database.
Is this possible with php? If not, does anybody know of any application that can do this?