02-19-2012, 10:39 AM | #1 | ||
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Location: Rochester, NY
Device: nook, kindle, iPhone
|
Help a Noob out?
Hi everyone! I am new to this forum, and new to ebooks....
A little background on what I'm doing: My grandparents are authors, they have published many a book in their day, (related to their medical field) and now they are publishing a book about their lives. So they 'hired' me to design it for them. So we got it all done, and pretty. I designed it in Adobe InDesign CS5. Then they decided they wanted to publish it as an ebook after all that. So not a big deal I though, I knew that ID had an export to epub feature. Well I wish I was that lucky... I exported it and it failed the ePub Checker, and nothing worked the way it was supposed to. The table of contents didn't export in a way that let them show up in Adobe Digital Editions. There was NO css file at all, so none of my styles showed up. It was 'readable' in the essence that there were words, but nothing looked like it did in ID. Also to add insult to injury, there are about 50 images throughout the book, and I was told (and researched) that most major e-readers can display images. Long story short, I managed to get an ePub file on my grandparents Nook to "test" everything, and it shows up, but is all sorts of messed up. I have 2 pages of edits from my grandma about what I need to fix. Mostly the images aren't displaying correctly (I had a black box around them, that's missing. None of the images are showing where they are supposed to - text flow is incorrect.) After researching it, I realized the file that we put on her nook to test was the original exported ePub file from ID that was far from correct. So I went ahead and created my own xhtml pages, typed up about a million miles of code. I Created my css, my toc.ncx, my content.opf and the container.xml files (I'll attach a screenshot of my folder structure so you can see where I'm at there) As far as I can tell, I've done everything correctly. I zipped the containing folder and changed it to a .ePub and open it in ePub checker and I get the following error message: Quote:
Quote:
Also we will be uploading the ePub to Lulu.com once all is said and done. I did notice a thread here that someone had issues with uploading to Lulu, and were getting error messages. So I am hoping to avoid those issues as well, but I'm not sure if my issue relates to that or not. So any help you can offer would be great! Thanks In advance!!! Ang |
||
02-19-2012, 11:00 AM | #2 | ||
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
(ePub readers and validity checkers are quite picky about the order in which files are added to the ePub zip file.) The best way to avoid these issues is to open a working ePub with 7Zip and to add/replace your updated files. If you want to be on the safe side, edit your ePub with Sigil, which has a built-in validator. |
||
Advert | |
|
02-19-2012, 11:07 AM | #3 | |
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Location: Rochester, NY
Device: nook, kindle, iPhone
|
Lol, I was just coming back to edit my post about that... I figured out that my files were in the wrong order. So I have since fixed that. However now that my files are in the correct order, I am getting 123 errors from my ePub checker. I'll spare you from listing them all, but the jist of what I am getting is as follows:
Quote:
|
|
02-19-2012, 11:25 AM | #4 |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Yes, it's best to avoid them. In order to fix this issue, you'd have to replace each space in a file name reference with %20 (the hexadecimal code for a space character.); e.g. 02-1_Pitcher%20and%20bowl.jpeg
(This needs to be done both in the .opf and the .html files. |
02-19-2012, 12:11 PM | #5 | |
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Location: Rochester, NY
Device: nook, kindle, iPhone
|
Quote:
So do I have to rename the actual files? Or just the url in the opf and html files? But what about the other error messages I have? What do they mean? |
|
Advert | |
|
02-19-2012, 12:15 PM | #6 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
It is always best to avoid special characters, including spaces, in filenames. If you open up the ePUB in Sigil you can easily rename the filenames of the images. The references to the images are then also changed to reflect the namechange.
There is also a built in validator in Sigil which usually much better understandable errror messages. If you just open and save the file in Sigil, some of your errors will already be solved. As a remark to your opening post, you state that 'None of the images are showing where they are supposed to - text flow is incorrect.' I hope you are aware that ePUB is a reflowable format so it almost impossible to force the location of the images and still fill out the pages. Last edited by Toxaris; 02-19-2012 at 12:17 PM. |
02-19-2012, 12:28 PM | #7 | |
Grand Sorcerer
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
As for the other metadata errors, simply create a dummy file in Sigil, add the desired metadata and then copy the whole metadata section to your .opf file. As Toxaris suggested, using Sigil would be easier, however, Sigil will slightly change your folder structure. |
|
02-19-2012, 03:39 PM | #8 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Location: Rochester, NY
Device: nook, kindle, iPhone
|
Ok, maybe just because I am new to this, but what is Sigil?
|
02-19-2012, 04:25 PM | #9 |
Berti
Posts: 1,196
Karma: 4985964
Join Date: Jan 2012
Location: Zischebattem
Device: Acer Lumiread
|
|
02-19-2012, 05:55 PM | #10 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Location: Rochester, NY
Device: nook, kindle, iPhone
|
Can I use it with my existing files? What I saw when I researched it was that its a WISIWIG... which is fine if I'm just starting out, but I already have all my files done, I just need to figure out what's wrong. I don't really want to start again since I've already done these files twice now.
|
02-20-2012, 01:26 AM | #11 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
It is fine to use with your existing files. You can ignore the WYSIWYG. I always use it in Code View and then you just see your XHMTL files.
|
02-20-2012, 06:20 AM | #12 |
Color me gone
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
The WYSIWYG function in Sigil is useful to get an idea how any changes you made might be displayed. Many users will create an original document elsewhere, in Word, LibreOffice, etc then bring in html or epub into Sigil to polish it up in code view.
If you must have pictures in a particular place, you might consider using PDF also. Many free PDF "printer" programs are available. You can provide both epub and pdf with very little extra effort. Before you show off your "baby" to your grandparents, be sure to preview the file in a particular device. None of the devices display everything exactly the same. It is possible to work around many of the quirks of particular device, if they have one they are mostly likely to use. |
02-20-2012, 05:16 PM | #13 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Location: Rochester, NY
Device: nook, kindle, iPhone
|
Well I have the original PDF from my InDesign file, from before I re-did everything in xhtml. Would that be a better place to start?
I also have previewed the xhtml files in my web browser to make sure my code/css was correct. But should I be previewing them elsewhere as well? |
02-20-2012, 07:06 PM | #14 |
Member
Posts: 13
Karma: 10
Join Date: Feb 2012
Location: Rochester, NY
Device: nook, kindle, iPhone
|
So I downloaded Sigil, tried to open the epub file. Crashed and closed on me. Tried to open the pdf. That didn't work either, it's all just jarbled text.
I really have no idea why this is so hard for me to get to work. I was told I could just create the book in InDesign and export it. Isn't that the point? To design a book for print then when the client wants to sell it digitally, just export it? That's how it's advertised at least. (I wish it was that easy) |
02-21-2012, 06:47 AM | #15 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
It is quite unusual the Sigil crashes when opening an ePUB. It does not support PDF, so that is not surprising actually.
The ePUB export from InDesign does work, to some extent. The export is definitively not perfect and needs some tweaking afterwards. There are some posts around here from people describing their work procedure with ID. If you want, I could take a look at it. However, then you must be willing to share the ePUB with me. I will look and make sure it validates. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Noob needs your help :) | alex87alex | Which one should I buy? | 7 | 11-22-2010 06:04 PM |
Noob from KY | Harryplopper | Introduce Yourself | 8 | 02-13-2010 06:10 PM |
Hello from a Noob! | Mahughes | Introduce Yourself | 7 | 02-20-2009 09:29 AM |
noob | bcarlson | Introduce Yourself | 8 | 01-04-2009 11:35 AM |
Yet another noob... | 4436time | Introduce Yourself | 7 | 12-30-2008 08:40 AM |