![]() |
#151 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
I started writing Mobiperl inspired by libprs500. |
|
![]() |
![]() |
![]() |
#152 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I use for example files found here (the Dickens books with many images are good test books) and I also generated some files with mobigen and I used the Alice in Wonderland example from MobiPockets web page. I have also got some files from people like awz files but these are probably not OK to put up on a web site.
|
![]() |
![]() |
Advert | |
|
![]() |
#153 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
Tompe, once a .lit is converted to .mobi is there a way to break the .mobi into its component parts? A mobi2html or something?
|
![]() |
![]() |
![]() |
#154 | |
New York Editor
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,384
Karma: 16540415
Join Date: Aug 2007
Device: PalmTX, Pocket eDGe, Alcatel Fierce 4, RCA Viking Pro 10, Nexus 7
|
Quote:
http://www.ida.liu.se/~tompe/mobiperl/mobi2html.html ______ Dennis |
|
![]() |
![]() |
![]() |
#155 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#156 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
And you now that lit2mobi uses clit internally and the clit exploded files are saved in ctmp in the current dir. When you do the next conversion the ctmp directory is reused. I did it that way because I like to have temporary files left after a conversion because if something went wrong it is easier to debug. Especially it is easier to debug via email...
|
![]() |
![]() |
![]() |
#157 |
Kindlephilia
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,017
Karma: 1139255
Join Date: Nov 2007
Location: Snowpacolypse 2010
Device: Too many to count
|
I just spent the afternoon and evening converting many, many .lit and .mobi files so that they work nicely on my Kindle. I really like the --prefixtitle for series. Very nice addition. Only problem I found was with files that had spaces in the name. All I had to do was edit the file name and remove the spaces and the files worked just fine.
Many thanks! Now I want to learn how to add a GUI to your program..... |
![]() |
![]() |
![]() |
#158 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Filenames with spaces should work fine if you put double quotes around the entire filename.
|
![]() |
![]() |
![]() |
#159 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
|
![]() |
![]() |
![]() |
#160 |
Kindlephilia
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,017
Karma: 1139255
Join Date: Nov 2007
Location: Snowpacolypse 2010
Device: Too many to count
|
I only had a handful of files with spaces and already edited them to no spaces so I can't try the double quotes.
I have found many .prc and I think .mobi (not sure) files that do not accept the new titles and authors or at least they don't display on the Kindle. However, if I convert the same book from .lit I don't have that problem. In the future I will only buy .lit whenever possible. |
![]() |
![]() |
![]() |
#161 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
Add coverimage
Hello,
I'm trying to add a coverimage to an existing .mobi file: mobi2mobi mymobi.mobi --coverimage image.jpg mymobi.mobi Have I got the syntax wrong? |
![]() |
![]() |
![]() |
#162 |
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Try:
mobi2mobi --coverimage image.jpg --outfile newmobi.mobi mymobi.mobi |
![]() |
![]() |
![]() |
#163 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
mobi2mobi mymobi.mobi --coverimage image.jpg --outfile newmymobi.mobi is more correct. If you run non-binary versions you can do "perldoc mobi2mobi" to see the documentation. Otherwise you have to look at the web page. |
|
![]() |
![]() |
![]() |
#164 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
|
![]() |
![]() |
![]() |
#165 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 780
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
|
|
![]() |
![]() |
![]() |
Tags |
mobi2mobi, mobils |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools | Jad | Kindle Formats | 476 | 03-15-2015 05:51 PM |
Tools for Editing Kindle .mobi Files? | GJN | Kindle Formats | 33 | 12-26-2013 02:05 PM |
Handy Perl Script to convert HTML0 files to smartquotes | maggotb0y | Sony Reader | 0 | 04-12-2007 11:49 AM |
PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 05:55 AM |
gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 01:24 PM |