06-05-2011, 01:05 PM | #196 | |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I figured Valloric would chime in sometime (he has a new job so his time is limited) or one of the other EPUB /CSS spec gurus. I had 22 that showed, many Feedbooks (used the same stylesheet). Others I have been looking hard at some to figure out what is the file. |
|
06-05-2011, 01:11 PM | #197 |
creator of calibre
Posts: 43,842
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Lots of epubs in the wild have incomplete manifests, that's why calibre's conversion code adds referenced files to the manifest automatically. But that is probably way too much work for this plugin.
|
Advert | |
|
06-05-2011, 01:17 PM | #198 | |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Quote:
@theducks - you can use the Modify ePub plugin to add the stylesheets to your manifest (or Kovid's epub-fix utility). So that would prevent the files from repeatedly appearing when running Quality Check again. You can use the log that is produced when you run this Quality Check option to identify which files are unmanifested and hence whether you want to apply this approach, or if they are other files that can/should be deleted. |
|
06-05-2011, 03:02 PM | #199 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.5.4 Released
Changes in this release:
|
06-08-2011, 01:08 AM | #200 |
Groupie
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
|
Any idea why the TOC check is flagging what appear to be good TOCs?
For example this toc.ncx: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE ncx PUBLIC "-//NISO//DTD ncx 2005-1//EN" "http://www.daisy.org/z3986/2005/ncx-2005-1.dtd"> <ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="en"> <head> <meta name="dtb:uid" content="9781407066790"/> <meta name="dtb:depth" content="1"/> <meta name="dtb:totalPageCount" content="0"/> <meta name="dtb:maxPageNumber" content="0"/> </head> <docTitle> <text>A Briefer History of Time</text> </docTitle> <navMap> <navPoint id="ncx1" playOrder="1"> <navLabel><text>Cover</text></navLabel><content src="001 - Cover.xhtml"/></navPoint> <navPoint id="ncx2" playOrder="2"> <navLabel><text>Title</text></navLabel><content src="002 - Title.xhtml"/></navPoint> .... <navPoint id="ncx23" playOrder="23"> <navLabel><text>Index</text></navLabel><content src="025 - Index.xhtml"/></navPoint> </navMap> </ncx> |
Advert | |
|
06-08-2011, 04:39 AM | #201 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@capnm - this happens when the ncx file is either not present in the manifest, or it is there but has the wrong media type.
I will push a new release which both increases the logging so you can see when no ncx file is found. I will also be a bit more "forgiving" when trying to identify the ncx file when it comes to the media type. |
06-08-2011, 04:46 AM | #202 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.5.5 Released
Changes in this release:
|
06-08-2011, 09:54 AM | #203 |
Groupie
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
|
Should this pass your "more forgiving" test?
<manifest> <item href="toc.ncx" id="ncx" media-type="application/xhtml+xml"/> It seems to be a popular media type for toc.ncx |
06-08-2011, 10:13 AM | #204 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
Nope, that would be yet another variant I will cater for.
This is the media-type that most epubs use: application/x-dtbncx+xml I think I am going to just go back to my original implementation (never released) which ignored media type - it might not be "PC" but it will give better coverage. |
06-08-2011, 10:26 AM | #205 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
v1.5.6 Released
Changes in this release:
|
06-08-2011, 10:35 AM | #206 | |
Groupie
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
|
Quote:
I'd vote for that. I guess it depends on what people want to use this for. I'm just looking for files that won't have a useful toc in a reader (which are pretty forgiving). I don't really care if the toc follows spec (and neither do some publishers, I guess ), as long as it works. Edit: I blinked. You released. Wow! Last edited by capnm; 06-08-2011 at 10:37 AM. |
|
06-08-2011, 11:11 AM | #207 |
Well trained by Cats
Posts: 29,778
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
With Kiwidude's it is best to only blink one eye at a time or you will miss things.
|
06-08-2011, 12:34 PM | #208 |
Groupie
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
|
Did the idea of checking series stuff fizzle out?
I'm looking (I think) for an easy way to identify those books that are part of a series where I have more than one. (Or conversely, books that are the only book present in a series, which is easier to explain, and serves the same purpose). Of course what I'm really after is a way to only put series information on my reader (Sony collections) when I have more than one book in the series on the reader (to manage collections clutter). What trying now is a custom column (#device_series). I connect my device, swap books in & out, then restrict my view to books on the device. Then I can use my MK1 eyeball to select all the series with multiple books, do a bulk metadata search/replace to copy the series info to the custom column, and the automatic metadata manager takes care of the rest. That seems to work ok, but I'd like to get the temperamental MK1 eyeball selector out of the loop ... Or, maybe there's a much easier path to my destination??? |
06-08-2011, 12:58 PM | #209 |
Calibre Plugins Developer
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
|
@capnm - sounds like doing things the "hard way" to me
The Quality Check plugin has a check for duplicate series - that is as far as I intend to take it at this point. I don't know anything about the Sony, but metadata plugboards are the usual approach to adding series information. I suggest you ask in the main forums (or we move these two posts into a new thread). |
06-08-2011, 02:04 PM | #210 |
Groupie
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
|
Okay, I'll think on it some more. The problem is plugboards/templates only act on one book at a time, while I want to look at the book in the context of [a subset of] the entire library.
Which is why I was thinking I could twist an "orphan series" check to serve my purposes as well. By the way - the Duplicate Series Check had an added bonus for me -- I found a bunch of duplicate books that slipped by Find Duplicates What I really should do is stop playing with all your nifty tools and get back to my reading list |
|
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 |