Mobileread
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools
#21  Jad 03-09-2008, 11:26 PM
Ok spotted one bug related to supporting .MOBI extensions. On a reload of the .MOBI file the Book Title text does not reflect the Title contents stored in the .MOBI file it still reports the Database name.

Because the GUI originally only supported PRCs I grabbed the Database name and automatically write that out as the Book Title. If you don't specify a --Title flag when converting, I found that the Title contents reflected the pathname of the original file, which would look weird in Mobipocket etc that refer to the Title field. (Must report this as a bug to tompe actually)
Reply 

#22  tompe 03-09-2008, 11:26 PM
If you are parsing the output I should probably clean it up and make sure that all relevant output is on stdout. I could also add some flag for output more suited for parsing...
Reply 

#23  Jad 03-09-2008, 11:31 PM
Hi Tommy,

Its not actually a problem at the moment. The search code parses the output and looks for the various strings I need such as:

EXTH item: 100 - Author -

It then grabs the full line and I split based on the dashes as delimters into a string array. The last array value is the information I need and I just trim the space off the front to give a nice tidy value... Easy after you bang your head on the keyboard long enough. =)
Reply 

#24  Jad 03-09-2008, 11:36 PM
Actually thinking about it. Outputing the detail in a INI file type arrangement would make life for Window programmers really easy as I think all the languages can leverage off of the built in INIFile type calls which make life really easy to pinpoint keys and read their values. I do that very basically for the Default directory handling.
Reply 

#25  JSWolf 03-09-2008, 11:55 PM
Quote Jad
Are you modifying an existing .MOBI file? The feedback window should output the contents of the converted file. Did you change the output filename at all, or did you leave it as original? I'm just trying to figure where the possible break might be.

Cheers
I've tried both and nothing at all. It's like it's not picking up mobi2mobi.
Reply 

#26  Jad 03-10-2008, 12:13 AM
That is really strange. So long as they are in the same folder it should see the mobi2mobi.exe file. Hmm. Did v0.02 have the same problem?

Just to clarify, when you open either a .PRC or .MOBI the only fields that get updated are:

Book Directory
Opened File
Output File
Reply 

#27  Jad 03-10-2008, 12:18 AM
Hi Jon,

Ok I've duplicated the problem and its my fault. Thank you so much for reporting this as it will impact a whole bunch of people. Ok in the short term to try the GUI out until I fix a pathing issue. Stick the mobi2mobi.exe in the same folder as your .PRC or .MOBI file.

I'm fixing right now and should have an update in 30min.
Reply 

#28  JSWolf 03-10-2008, 12:25 AM
I'll wait for the update. It's just easier that way.
Reply 

#29  Jad 03-10-2008, 12:30 AM
Thanks Jon,

I'm going to be a bit delayed now as I have to dash out the door for a bit. I'll try and squash this tonight and get a working version up tomorrow. Sorry to everyone having the same problem. Use the workaround until I fix this.

Cheers
Reply 

#30  JSWolf 03-10-2008, 12:36 AM
Not a problem.. I didn't need it at the moment. I was just testing it for when I want it. Sometime Monday will be fine with me.
Reply 

 « First  « Prev Next »  Last »  (3/48)
Today's Posts | Search this Thread | Login | Register