Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-25-2013, 04:39 PM   #1
Dan__
Connoisseur
Dan__ began at the beginning.
 
Posts: 99
Karma: 10
Join Date: Feb 2011
Device: Nook - Simple Touch
META-INF folder not displayed

My ePebs have a META-INF folder that contains things like bookmarks, etc. Is there some reason why Sigil does not display nthis folder and allow access to the contents?
Dan__ is offline   Reply With Quote
Old 02-26-2013, 04:53 AM   #2
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Because usually there is not much of interest in there. The files in the META-INF are usually displayed in the Misc folder.
Toxaris is offline   Reply With Quote
Advert
Old 02-26-2013, 12:33 PM   #3
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Just to expand on this for those interested.

The Book Browser window is a view of the content of the book, not the directory structure of the EPUB. Presenting just a book view I assume made it easier to write in the beginning, and it is easier for users to work with.

Changing Sigil to allow access to a File Browser view of the EPUB is a major re-write of a lot of code, so its not something you will see anytime soon, or possibly not at all. It's being looked at, but only as a consideration.

Aside from that, there are certain rules in the EPUB specification about where files should and must go. META-INF is, according to the specification, only supposed to contain a limited number of specific files for the EPUB (container.xml, encryption.xml, etc.), and not just any random file (whether any reader is actually concerned if there are other files here is another matter). The important bit is that if you include your own files somewhere in the EPUB then they must be listed in the manifest section of the content.opf file (or whatever file the META-INF/container.xml file points to for the contents). And if they are html files they should also be listed in the spine section of the content.opf so they can be put in the right order.

If a file is not listed in the manifest, then it will not be seen or loaded by Sigil and will therefore be deleted from the EPUB when saving. (The exception being the apple .com file which is handled as a special case).

If a file is in the manifest but is non-standard (not html, not an image, etc.) then Sigil will display it in the Misc folder, but keep the file where it was when saving. If it's a standard file then it will be displayed in one of the normal Book Browser folders (Text, Styles, etc.).

So the answer to your question is that bookmark files aren't generally part of an EPUB and therefore aren't something that Sigil lets you edit. But if the bookmarks file is properly listed in the manifest, then you should see it in the Misc folder if its extension doesn't match one of the standard file types.
meme is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW- Kindle icon with Autorun.inf GoSharks Kindle Developer's Corner 2 01-19-2013 09:19 AM
NEED HELP!!! - META-INF/container.xml is missing soulmenj ePub 2 07-12-2011 10:49 PM
Calibre 0.8.5 no prs500.inf for Sony bobschmidt Calibre 2 06-18-2011 05:04 AM
Add xml in META-INF Sylver Sigil 5 04-26-2011 03:17 AM
Can I change path/folder & Q re meta information loss Scotch Calibre 2 12-31-2008 09:27 PM


All times are GMT -4. The time now is 10:40 AM.


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