05-07-2012, 04:34 AM | #376 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.7.6 Released
Changes in this release:
Thanks @PaulFiera - I used the wrong encoding function in the last release, darned copy/paste... |
05-07-2012, 04:35 AM | #377 | |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
|
|
Advert | |
|
05-07-2012, 05:32 AM | #378 | |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Quote:
But still... The space is encoded correctly, but nor the comma, which should be %2C. Sorry. I know this is nitpicking and I wish they didn't name the files this way. I certainly don't when I'm developing for the Web. EDIT: Hold on because I'm finding a couple more: I don't know which encoding functions are available to you but this looks like standard javascript escape() or encodeURIComponent() Last edited by paulfiera; 05-07-2012 at 06:32 AM. |
|
05-07-2012, 05:55 AM | #379 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
There are days I hate Python... (or my lack of knowledge of it)... there is a *third* variant of url encoding function which I should have used... sigh. New release shortly.
|
05-07-2012, 06:02 AM | #380 |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
I believe you need to choose the one that resembles most javascript escape(). encodeURIComponent() won't encode apostrophes and they seem to be encoded in the epubs I have checked.
|
Advert | |
|
05-07-2012, 06:02 AM | #381 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.7.7 Released
Changes in this release:
|
05-07-2012, 07:23 AM | #382 |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Many thanks, kiwidude.
It's still finding images used in the epubs. Is your check case sensitive? In the same epub, in content.opf, the path to the images is "images", but in the html files is "Images". Just say the word if you don't want to be bothered any more. I'm feeling like a PITA. |
05-07-2012, 07:30 AM | #383 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
It converts everything to lowercase. And it doesn't use the path to the image, it strips that and just looks for the image name. If you have an epub causing you an issue, PM me a link to it.
|
05-07-2012, 11:26 AM | #384 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.7.8 Released
Changes in this release:
|
05-07-2012, 12:08 PM | #385 | |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Quote:
Kudos!!! |
|
05-07-2012, 12:11 PM | #386 | |
(he/him/his)
Posts: 12,161
Karma: 79742714
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), Fire HD 8
|
Quote:
Kovid is right, it takes both an Amazon ID AND the EBOK tag. The Amazon ID is automatic in my workflow these days, though may well be missing for older books. Well, if you could do it, it would be a good thing for this Fire user. And I suspect for others, since I know it's a topic that comes up there often. |
|
05-07-2012, 01:10 PM | #387 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
05-07-2012, 06:49 PM | #388 | ||
Zealot
Posts: 118
Karma: 712690
Join Date: Apr 2012
Device: Kobo Aura HD, Nook HD+, Nook Simple Touch
|
Quote:
The ability to search for books that have had a calibre conversion has been a fantastic tool--can't tell you how much I appreciate that. So much, in fact, that I'm wondering if that sort of functionality can be extended a bit. Some of the books I have have not been converted, but they have been edited in Sigil. Sigil seems to add a line to the opf file to indicate this: Quote:
In fact, there's a few different things that I sometimes wish to check files for. I have in my head an image of the plug-in prompting me for what word I want to look for (eg, "sigil"), maybe even asking if I want to check in the opf file or the html. If that's any sort of possibility and not just crazy talk from someone who has no idea how this actually works, that would be incredibly useful. |
||
05-08-2012, 02:49 AM | #389 | |
Addict
Posts: 378
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Quote:
An input text field where you could enter any text and search the whole library or a scope. In my case, I have many epubs generated from MS Word. Normally, these epubs do not have the best formatting and I would like to be able to enter "Microsoft" in an input field and get all the books where that word exists. In the case of MS Word generated epubs there's usually a meta tag defining this. The possibility of find a string in your library or a scope would be absolutely great. |
|
05-08-2012, 09:51 AM | #390 |
Calibre Plugins Developer
Posts: 4,637
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Something like this perhaps... ?
Last edited by kiwidude; 05-08-2012 at 02:22 PM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | 04-01-2024 05:48 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Kindle Collections (old) | meme | Plugins | 2070 | 08-11-2014 12:02 AM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |