I am creating a website in which authors can create EPUB files. Users will be uploading their books in the .doc format. I need to create EPUB file out of that. One single doc file will be having multiple chapters. So I need to parse the doc file and split it into chapters. Authors will be using Heading 1 for their chapter titles.
So in PHP, is there any way to parse doc files to HTML and split it into chapters using Heading 1, so that I can create EPUB file.
After some research, I got one linux app. But I think, it will convert doc to plain text. So I will not be able to split the chapters.
Please suggest me the a solution if you have. Thanks in advance.