Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-11-2024, 02:41 PM   #1
Fitz Frobozz
Enthusiast
Fitz Frobozz began at the beginning.
 
Fitz Frobozz's Avatar
 
Posts: 28
Karma: 10
Join Date: May 2024
Device: Kindle Scribe
Manifest mess - tools for resorting?

Well, not a mess per se, but it's confusing for me to read and it would be nice to have an option for resorting things so that the order in which they are listed actually matches the order in the book (more closely, that is). This came up while working my way through bugs identified by the Kindle Previewer tool.

Anything come to mind for anyone?

Edit: Oh, I found the Rebase OPF Manifest IDs on Current Filenames feature in Sigil and it appears to achieve almost exactly what I had in mind.

Edit #2: Oops, I was wrong. I like the tool but it doesn't actually sort in the order I'm wanting to see (book/part/chapter/chapter-section order, essentially). Not fully, anyway. Can't figure out why but my first guess is some items are ordered the way they are because something is using creation date/time info as one of its criteria.

Last edited by Fitz Frobozz; 09-11-2024 at 04:14 PM.
Fitz Frobozz is offline   Reply With Quote
Old 09-11-2024, 04:34 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,529
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Why does it matter the order of the manifest in the OPF?
JSWolf is offline   Reply With Quote
Old 09-12-2024, 10:16 AM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Yes, the manifest order is meaningless and can never be seen by a reader of the epub. The spine determines the display order by providing an ordered list of manifest ids.

And understand that the manifest will include many resources not part of any one xhtml file such as images, css, fonts, and therefore not part of the spine. So what "order" would you use for those?

If you use Sigil or Calibre, epubcheck can be used and the error information from the validation window will take you directly to the file with the error, and drag, and drop can be used to reorder the spine. And of course using Find when editing the OPF can be used to track down manifest entries if you have really large manifest.

Last edited by KevinH; 09-12-2024 at 12:37 PM.
KevinH is offline   Reply With Quote
Old 09-13-2024, 02:42 PM   #4
Fitz Frobozz
Enthusiast
Fitz Frobozz began at the beginning.
 
Fitz Frobozz's Avatar
 
Posts: 28
Karma: 10
Join Date: May 2024
Device: Kindle Scribe
Thanks for the thoughtful replies! Sorry for any confusion. My motivation was based on a misunderstanding, which I figured out soon after the above.

I have been correcting errors in an ambitious ePub project and was struggling with the the Kindle Previewer GUI tool's shortcomings as far as making it clear which files it is actually referring to when multiple files of a given type happen to have the same title in the Table of Contents (in this case, "Notes"). My misguided thinking had been that I would try to use the manifest to help with that but I quickly realized that it wouldn't be of any help here. Instead, I wound up just temporarily renaming the TOC titles for the files in question, which resulted in me actually knowing which ones needed fixing when I ran the test again.

Last edited by Fitz Frobozz; 09-13-2024 at 02:45 PM.
Fitz Frobozz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Software Engineering Tools and Debugging Techniques: Guide to Build Software Tools amazon author Self-Promotions by Authors and Publishers 2 04-07-2015 05:02 AM
Resorting the entire library Yoisdo Calibre 5 04-05-2012 01:49 PM
bulk convert without adding to library or resorting my books blort Conversion 2 01-24-2012 02:10 AM
Resorting after modification of tags Giuseppe Chillem Calibre 0 11-21-2010 06:59 PM
Stopping Calibre from resorting source docs MacEachaidh Calibre 11 05-13-2010 04:11 PM


All times are GMT -4. The time now is 05:20 PM.


MobileRead.com is a privately owned, operated and funded community.