View Single Post
Old 08-22-2014, 03:13 PM   #404
Ephemerality
Addict
Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
Quote:
Originally Posted by elchamaco View Post
Man you're the boss.

It works perfect. Now i can generate from the xml file.
The chapters If i do manually they work.
The offset still necessary, i send you the book so you can test it.

I only find one problem with the xml file origin, if i use special characters the xmray ouput its invalid. For example in spanish we use áéíóúÁÉÍÓÚüÜ probably also with ñÑ, if i put one of those the result is invalid. I see in notepad that a very strange character it's used. For example: "Médico" and the result in the xray is "MxE9dico" If i change back the word to "Médico" editing directly in the xray thhen works. It's a problem from the xml source reading and writing in a strange way.

Now the gui version is almost perfect
Grr I always forget about the encoding of the files. Aliases, chapters, and the XML should all save/load with accented characters now, let me know if it doesn't work.

I can see why the app isn't finding the chapters, they don't seem to be in the normal format. Possibly because Calibre isn't finding them either due to the lack of 'chapter' keywords that it looks for. It looks for H1 tags that have chapter, prologue, etc in them. I couldn't get it to work with that one either! But with the rawml you should be able to throw them together.

Latest version available here: https://www.mobileread.com/forums/sho...d.php?t=245754

Last edited by Ephemerality; 09-04-2014 at 05:49 PM.
Ephemerality is offline   Reply With Quote