View Single Post
Old 11-15-2022, 11:12 AM   #3
LostOnTheLine
Connoisseur
LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.LostOnTheLine ought to be getting tired of karma fortunes by now.
 
Posts: 72
Karma: 800000
Join Date: Jun 2021
Device: Kindle Paperwhite (PW1|PW3|PW4), Kindle Voyage
Quote:
Originally Posted by retiredbiker View Post
There are so many possibilities for this behaviour that you will blow your brains out trying to solve it all at conversion time.

It looks like you have already been in the Editor to see the code. Fix it there with search and replace. With each book you can see exactly what the offending lines are and blow them away. With a little practice it will only take a couple of minutes to fix a book.

After a few books you will almost certainly find repeating patterns...you can save searches for later use, and even edit a saved search on the fly for minor changes.
But I have nearly a hundred ePubs with this problem. manually editing each one is too much. & I'll be getting more all the time with the same problem.

I have a few patterns that I have found, but they all involve new lines. Some have the same page title repeated a few times & the ones that are `</br></br></br>` are usually the same for books done by the same person/group or by the same author.
In fact there are a bunch of them where there is one right after the ToC that is the same name `start.xhtml` & has the same title repeatedly.
BUT... I can't find a way to search for them. If I'm manually editing each one I could just delete the page. But that still means opening up & editing each file & then doing it each time I get a new one, & I'd much rather leave the original as it is if at all possible. If not I can always create a separate backup of each one, but that seems like it shouldn't be necessary, since I can't think of any sort of automated solution that would require altering the original. I specifically stated that because I don't need the original altered & that should prevent options not being suggested because the original would "still be a problem".
I already use the Search & Replace by default, without even thinking about it, there should be a way to do the same, I'm just not sure how to do it.

Last edited by LostOnTheLine; 11-16-2022 at 01:31 AM. Reason: Adding details to prevent "solutions" that don't solve the problem
LostOnTheLine is offline   Reply With Quote