Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-07-2019, 02:35 PM   #1
Poopsey
Junior Member
Poopsey began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2019
Device: IPAD
Sigil Problems

I am formatting a read-along children's ebook. I am trying to edit the opf.

I put in the audio totals in the metadata, everything disappeared after disappeared. The manifest was gone Plus. I copied the audio totals and pasted them. Now I have the audio files fine, but the manifest + disappeared.

This is so weird. Is the audio totals suppose to be in the manifest. Do I have ghosts try to trip me up.

Help,

Thanks,

P
Poopsey is offline   Reply With Quote
Old 10-07-2019, 04:06 PM   #2
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: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
The opf is machine parsed and managed/controlled by Sigil. So direct editing of the opf is rarely needed or desired. There are tools to add and remove resources, etc. So you should not need to ever manually edit the manifest. As you "Add Existing ..." new resources to Sigil it will store them inside its standard epub structure, and automatically update the manifest. You can then edit the appropriate xhtml file to add links, etc. For epub 3, there is a tool to update the manifest properties before your final save.


Does this make things clearer?

KevinH
KevinH is offline   Reply With Quote
Advert
Old 10-07-2019, 04:35 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
What are audio totals?
DiapDealer is offline   Reply With Quote
Old 02-05-2020, 08:22 AM   #4
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
Help, I have been removing errors from epub3 as per epub validator, now when I open the epub all files are missing.
increase is offline   Reply With Quote
Old 02-05-2020, 08:30 AM   #5
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: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
And how exactly were you fixing those epub validator errors?
What exactly were the error messages?
How is Sigil involved?
Version of Sigil and platform?
KevinH is offline   Reply With Quote
Advert
Old 02-05-2020, 08:35 AM   #6
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
I was using the sigil files to edit the chapters, the error messages were given as to font

ie
ERROR OEBPS/Text/chapter1.htm 75 59 Error while parsing file: element "font" not allowed here; expected the element end-tag, text or element "a", "abbr", "area", "audio", "b", "bdi", "bdo", "br", "button", "canvas", "cite", "code", "command", "datalist", "del", "dfn", "em", "embed", "epub:switch", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "link", "map", "mark", "meta", "meter", "ns1:math", "ns2:svg", "object", "output", "progress", "q", "ruby", "s", "samp", "script", "select", "small", "span", "strong", "sub", "sup", "textarea", "time", "u", "var", "video" or "wbr" (with xmlns:ns1="http://www.w3.org/1998/Math/MathML" xmlns:ns2="http://www.w3.org/2000/svg")

But I also edited the content.opf and toc.ncx
increase is offline   Reply With Quote
Old 02-05-2020, 08:43 AM   #7
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
I was following all the errors but I also in epub validator, they were mainly regarding font, align, but I also changed the nav content.opf
increase is offline   Reply With Quote
Old 02-05-2020, 08:50 AM   #8
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
all done in sigil
increase is offline   Reply With Quote
Old 02-05-2020, 08:52 AM   #9
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: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
Again, which platform? What version of Sigil? What were the exact errors you were trying to fix, what did you do to the content.opf and why?
KevinH is offline   Reply With Quote
Old 02-05-2020, 08:55 AM   #10
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: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
And what do you exactly mean the chapters are gone? If you were doing the fixing in Sigil why did you have to open the epub again? What processed the epub *before* you loaded the epub into Sigil again?
KevinH is offline   Reply With Quote
Old 02-05-2020, 08:57 AM   #11
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: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
Have you tried unzipping the epub file that you tried to load into Sigil? Copy it first before you do something silly and end up writing over the input file.

Perhaps you tried to hand edit the opf and left it in an unparseable state?
KevinH is offline   Reply With Quote
Old 02-05-2020, 08:58 AM   #12
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
Fortunately, I have nearly all files backed up, so I am able to rebuild the epub
increase is offline   Reply With Quote
Old 02-05-2020, 08:59 AM   #13
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: 7,637
Karma: 5433388
Join Date: Nov 2009
Device: many
Is this using Sigil's epubcheck plugin to validate or some other method?
KevinH is offline   Reply With Quote
Old 02-05-2020, 09:14 AM   #14
increase
Connoisseur
increase began at the beginning.
 
increase's Avatar
 
Posts: 86
Karma: 10
Join Date: Jan 2020
Device: kindle
No, the online epub validator
increase is offline   Reply With Quote
Old 02-05-2020, 09:22 AM   #15
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Unless you are intimately familiar with epub structures in general, and opf syntax specifically, I wouldn't recommend manually editing the opf file.

But the error you described had to do with the invalid "font" tag in the xhtml. That wouldn't have anything to do with the OPF at all.

Last edited by DiapDealer; 02-05-2020 at 09:25 AM.
DiapDealer is offline   Reply With Quote
Reply

Tags
epub code, read-along, sigil


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing Sigil 0.6.0. avresbo Sigil 10 10-30-2012 02:23 PM
text problems Sigil? ralphiedee Sigil 14 08-09-2012 04:30 AM
Problems downloading Sigil GMFpubs Sigil 7 11-19-2011 01:40 AM
Problems with clicking in Sigil? candyfloss Sigil 7 01-04-2011 06:24 AM
Problems with Sigil... kevinp Sigil 4 05-09-2010 12:33 PM


All times are GMT -4. The time now is 11:46 PM.


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