09-29-2018, 06:17 PM | #1231 |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
100% of the changes will be declaration of the variable and if statements.
No error messages and many other messages will not have associated if statements. The initial value of VERBOSITY will be such that no existing print statements will be suppressed, so nothing will change if there are no -q in the command. This would open the door for new prints that do not show up without a -v. Regarding my use case, I use the optional rawml output to help fix xray entry errors. I've found that a 2 line sed command can make the rawml viewable in a web browser. Code:
s/^<?xml/<!--l/ s/dtd">/dt-->/ The printout for every image in the book is what I particularly don't want to see. What's in it for me is not having to redo the changes every time a new version comes out. |
09-29-2018, 06:26 PM | #1232 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
If it doesn't change any of the current default behavior, and adds granularity for future potential KU integration, I can think of no real reason not to include it. We should probably wait for input from other contributors, though. If you have something ready, I'd say create a pull request on github and add a link back to this discussion in the message. That might be the quickest way to get more eyes on it. Last edited by DiapDealer; 09-29-2018 at 06:32 PM. |
|
Advert | |
|
09-29-2018, 07:00 PM | #1233 |
Grand Sorcerer
Posts: 5,278
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
Turns out I've been using version 0.75 that I installed from the release binary.
Earlier today when I first decided to make my proposed changes, it seemed best to clone the repository and start there. Turns out I have the same problem as in post #1135 and I'm out of time for now. When I get that sorted and can test, I'll do a fork, make the changes, test, and open a pull request, which I also need to learn. It also can take a while for me to dot i's and cross t's, so it might be a while. But it sounds like no one is particularly eager to get the capability. Thanks for the guidance. |
09-30-2018, 10:15 AM | #1234 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
10-24-2018, 06:00 AM | #1235 | |
Member
Posts: 16
Karma: 10
Join Date: Oct 2012
Device: Kindle 4
|
Quote:
|
|
Advert | |
|
10-24-2018, 11:23 AM | #1236 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
You're certain you're using a fresh copy of the master branch and not a Release download? Even the latest release archive (May 2015) wouldn't have the fix I'm talking about (Feb 2017). |
|
10-25-2018, 07:03 PM | #1237 | |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Pull the latest from master and let me know. |
|
11-06-2018, 08:31 AM | #1238 | |
Resident Curmudgeon
Posts: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
11-06-2018, 10:30 AM | #1239 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
This fix is completely unnecessary for the calibre plugin version of KindleUnpack. It only addresses the specific situation where someone might want to run the the kindleunpack.py script via symlink (on Linux or Mac). It's simply not relevant to the plugin versions.
Last edited by DiapDealer; 11-06-2018 at 10:34 AM. |
11-30-2018, 04:59 PM | #1240 |
The Grand Mouse 高貴的老鼠
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
I have taken the latest version from the git repository, arbitrarily called it 0.81, and added it to the first post, replacing version 0.80 from 2015.
I've also added a 64-bit version of the AppleScript wrapped version. |
11-30-2018, 05:35 PM | #1241 |
Grand Sorcerer
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
11-30-2018, 11:31 PM | #1242 |
just an egg
Posts: 1,585
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
pdurrant DiapDealer!
|
01-19-2019, 10:20 PM | #1243 |
Wizard
Posts: 1,059
Karma: 3000026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Can KindleUnpack help me to extract TOC entries' position from mobi7 and mobi8 (azw3) books?
I am doing a project of progress bar for Kindles. Ultimately I'd like to do all calculation and extraction from Kindle, but I think I should start from pre-processing on PC. Last edited by mergen3107; 01-19-2019 at 11:08 PM. |
01-20-2019, 09:47 AM | #1244 |
The Grand Mouse 高貴的老鼠
Posts: 71,496
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
01-20-2019, 12:16 PM | #1245 |
Wizard
Posts: 1,059
Karma: 3000026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
@pdurrant, thank you!
Can you please tell me: 1) Can KindleUnpack extract only TOC? For the purpose of my project I don't need all raw files; 2) How can I get location of TOC entries in a mobi8 file? So far, I can see that it only provides ordered TOC entry reference numbers. As a temporary solution to find percentage of a chapter is to calculated respective cumulative file sizes, but that's very rough. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can i rotate text and insert images in Mobi and EPUB? | JanGLi | Kindle Formats | 5 | 02-02-2013 04:16 PM |
PDF to Mobi with text and images | pocketsprocket | Kindle Formats | 7 | 05-21-2012 07:06 AM |
Mobi files - images | DWC | Introduce Yourself | 5 | 07-06-2011 01:43 AM |
pdf to mobi... creating images rather than text | Dumhed | Calibre | 5 | 11-06-2010 12:08 PM |
Transfer of images on text files | anirudh215 | 2 | 06-22-2009 09:28 AM |