View Single Post
Old 08-17-2015, 08:22 AM   #1
Nick_1964
Bookworm
Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.Nick_1964 ought to be getting tired of karma fortunes by now.
 
Nick_1964's Avatar
 
Posts: 975
Karma: 768585
Join Date: Aug 2010
Location: Netherlands
Device: Sony prs-650, Kobo Glo HD (2x), Kobo Glo
Is there Epub cleaning software (so much unneeded code inside)

Dear friends.
When I opened a commercial ebook that I bought (social DRM) I noticed the book is really slow.
So I looked to the code and that was terrible.. no way I can clean this by hand... is there software (I hope free because it is for only one book,until now) or an online tool that can clean it for me ??
Look at the spoiler for a example.
In real..this are only a couple of lines from the book...
Spoiler:

<p class="dlct-000"><span class="dlct-007">'Ik weet het,</span><span class="dlct-007">'</span> <span class="dlct-007">zei Ro zacht. 'Ik heb alles gezien</span><span class="dlct-007">. I</span><span class="dlct-007">k</span> <span class="dlct-007">zat onder de tafel verstopt</span><span class="dlct-007">.</span></p>

<p class="dlct-000"><span class="dlct-007">Elena keek hem</span> <span class="dlct-007">verbijsterd</span> <span class="dlct-007">aan.</span></p>

<p class="dlct-000"><span class="dlct-007">'Mijn moeder zei dat ze mij een afkoelperiode wilde geven en dat ik dan wel weer redelijk zou worden. Ze stopte mij in een kamer</span><span class="dlct-007">,</span> <span class="dlct-007">maar ik kon ontsnappen</span><span class="dlct-007">.</span> <span class="dlct-007">Joxy</span><span class="dlct-007">,</span> <span class="dlct-007">mijn privé</span><span class="dlct-007">-</span> <span class="dlct-007">bediende heb ik kunnen overhalen en z</span><span class="dlct-007">ij</span> <span class="dlct-007">verstopte mij onder de trolley die ze naar de grote zaal bracht. Toen ik zag dat daar van alles stond te gebeuren besloot ik mij</span> <span class="dlct-007">onder tafel</span> <span class="dlct-007">te ver</span><span class="dlct-007">bergen</span><span class="dlct-007">. Ik heb alles gezien en nu kom ik je halen. We moeten weg hier. We moeten William en Charlotte bevrijden. Dat</span><span class="dlct-007">… wezen</span> <span class="dlct-007">is mijn moeder niet meer!'</span></p>

<p class="dlct-000"><span class="dlct-007">Elena knikte en ze schreef</span> <span class="dlct-007">opnieuw iets op het</span> <span class="dlct-007">papier.</span> <span class="dlct-007">'Wat wil je doen? Samis heeft nu de twee boeken. Alles en iedereen is hier aangepast, gekruist of gemaakt</span><span class="dlct-007">.</span> <span class="dlct-007">Greysdale is bewoond door zombies, Utopalta is half vergaan en Willowjinx is weg. Waar moeten we naartoe? Ik kan niets zo!' Elena</span> <span class="dlct-007">wees naar haar</span> <span class="dlct-007">keel.</span></p>

<p class="dlct-000"><span class="dlct-007">'Shit- ja!'</span> <span class="dlct-007">zei Ro net iets te hard</span><span class="dlct-007">. M</span><span class="dlct-007">eteen sloeg Elena een hand voor zijn mond.</span></p>

<p class="dlct-000"><span class="dlct-007">Ro haalde haar hand weg</span><span class="dlct-007">.</span> <span class="dlct-007">'Sorry,'</span> <span class="dlct-007">fluisterde hij</span><span class="dlct-007">. 'Ik weet het niet</span><span class="dlct-007">,</span> <span class="dlct-007">maar we moeten iets doen.'</span></p>

<p class="dlct-000"><span class="dlct-007">Met tegenzin schudde Elena haar hoofd. Ze pakte het papiertje en</span> <span class="dlct-007">schreef verder</span><span class="dlct-007">.</span> <span class="dlct-007">'We hebben alleen het huis in het bos over. Misschien dat de professor ons kan helpen. Aan de Codex Trias hebben we niets. Die is veilig bij Bia en Luxis. Hier</span> <span class="dlct-007">kunnen we niet</span> <span class="dlct-007">blijven.</span> <span class="dlct-007">We</span> <span class="dlct-007">moeten</span> <span class="dlct-007">William en Charlotte</span> <span class="dlct-007">bevrijden</span> <span class="dlct-007">en gaan dan naar het bos.'</span></p>

<p class="dlct-000"><span class="dlct-007">'</span><span class="dlct-007">Goed plan</span><span class="dlct-007">,' fluisterde Ro</span><span class="dlct-007">.</span><span class="dlct-007">&nbsp;</span></p>

<p class="dlct-000"><span class="dlct-007">Elena pakte het papier en gooide het in de open haard. Ro</span> <span class="dlct-007">nam haar bij de</span> <span class="dlct-007">hand en trok haar door de deur waar hij vandaa</span><span class="dlct-007">n was gekomen</span><span class="dlct-007">. Ze kwam in een gelijksoortige kamer als die van haar alleen was het hier een stuk rommeliger.&nbsp;</span></p>
Nick_1964 is offline   Reply With Quote