Quote:
Originally Posted by davidfor
I have to say "WOW!!!!" In the last few days I looked at a book and declared it was the worst coded book I have ever seen. Compared to this one, that book was well coded.
|
I just had to look at it after that

.
It is salvageable using regex that might be quicker than starting over. I first used regex to remove all span classes (with <span class="text_(.*?)"> and </span> ) and replaced with nothing. There were over 339k of them btw. That just took a few seconds.
Do the same to get rid of all the <p class="block_xxxx"> and replace it with a single sensible text option for now to whatever your preference is. Eliminate all the now unused styles, etc. I was wondering why the stylesheet.css wasn't loading. When it finally did, I looked and there were 238k lines in the file.
Then go through to do chapter titles, etc. in whatever style you want.
It's still work, but might be quicker than starting over.