![]() |
#391 | |
Fanatic
![]() ![]() ![]() ![]() ![]() Posts: 527
Karma: 470
Join Date: Sep 2007
Location: The Netherlands
Device: Kindle Oasis
|
Quote:
One thing I added myself with a few lines of code is default settings for mobi2html. So when I use the syntax "mobi2html MyBook" It will assume prc as extention and the output will be placed the subdirectory MyBookHtml. It also generates the raw output in the same directory with the name "Mybook Raw.HTML" Both versions can come in handy when you are oing some cleaning up. Another nice thing for new or inexperienced users can be that you print the syntax on screen when there are no parameters at all. It is something I do when I create programs. When you use a tool every day it is obvious what the syntax is. But even my own tools that I use only once every month or every three monts need sometimes a small reminder |
|
![]() |
![]() |
![]() |
#392 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
Since I want to do some testing for the mobils binary under Windows, expect a Windows binary build from me sometime this evening. (Unless someone beats me to it, of course.) |
|
![]() |
![]() |
Advert | |
|
![]() |
#393 | |
Fanatic
![]() ![]() ![]() ![]() ![]() Posts: 527
Karma: 470
Join Date: Sep 2007
Location: The Netherlands
Device: Kindle Oasis
|
Quote:
Code:
# Get parameters $bookname=shift @ARGV; $param1=shift @ARGV; $param2=shift @ARGV; # When not enough parameters, generate user help unless ( $bookname ) { die "\nProgram to extract html from mobifile\n Version xxx.yyy.zzz Author: Me Usage: Mobi2html bookname --parameter1 --parameter2 --etc\n"; } |
|
![]() |
![]() |
![]() |
#394 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
I will think about default directory also. |
|
![]() |
![]() |
![]() |
#395 |
Kindlephilia
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,017
Karma: 1139255
Join Date: Nov 2007
Location: Snowpacolypse 2010
Device: Too many to count
|
I think I'll take the plunge and install Perl, this is getting quite interesting programming-wise.
|
![]() |
![]() |
Advert | |
|
![]() |
#396 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
The mobils binary works just fine under Windows. The only possible drawback is that the output contains slashes instead of backslashes as the separator, but that is easily dealt with if you want to process the output in any way. |
|
![]() |
![]() |
![]() |
#397 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
I've heard of 'scarce resource allocation' schemes, but this seems a bit much! How about allowing 'regulars' to post at a higher upload speed? Kind of discourages a guy from posting good stuff... ![]() |
|
![]() |
![]() |
![]() |
#398 |
Enthusiast
![]() ![]() Posts: 44
Karma: 100
Join Date: Oct 2007
Device: Nook Simple Touch, HTC Desire
|
I received my Asus EEE yesterday, and have trashed the preinstalled Xandros and installed Ubuntu. I have the mobiperl scripts working, though it took some time to get all the prerequisites installed.
Tompe, I've been putting together a simple eBook in html. For this book I don't want the first line of the paragraph indented, but the html2mobi script is doing so. Is this an option in the mobipocket file format? -Wayne |
![]() |
![]() |
![]() |
#399 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
![]() |
![]() |
![]() |
#400 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
http://www.mobipocket.com/dev/articl...tification.htm explains how to avoid indentation (one way is <p width= 0>). Last edited by tompe; 03-06-2008 at 08:10 AM. |
|
![]() |
![]() |
![]() |
#401 |
Enthusiast
![]() ![]() Posts: 44
Karma: 100
Join Date: Oct 2007
Device: Nook Simple Touch, HTC Desire
|
Okay, thanks Tompe. Now I feel a little silly for not looking at the Mobipocket documentation. I won't make the same mistake again
![]() |
![]() |
![]() |
![]() |
#402 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,548
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
What sort of internet connection do you have which gives you upload speeds of 100 MBytes/sec?
|
![]() |
![]() |
![]() |
#403 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
![]() Come to think about it, my upload speed deterioration may be the result of my ISP's (rogers.com) attempt at traffic-shaping to limit bit-torrents! EDIT: I should have said 700 KBytes/s and 100 KBytes/s. Sorry for the confusion! Last edited by nrapallo; 03-06-2008 at 09:59 AM. Reason: I should have said 700 KBytes/s and 100 KBytes/s |
|
![]() |
![]() |
![]() |
#404 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
![]() |
![]() |
![]() |
#405 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
In Mbit/s it is 6 Mbit/s download and 1 Mbit/s upload. Here's a link to my Extreme internet connection service |
|
![]() |
![]() |
![]() |
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 |