Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-11-2012, 09:50 PM   #1
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
FlightCrew versus ePubCheck

This post deals with the standalone version of FlightCrew, and outlines a serious problem that FlightCrew didn't find but ePubCheck did.

In the past I used ePubCheck routinely, but now I use FlightCrew routinely with a final check with ePubCheck.

When finishing an ebook recently I added the XHTML files for several chapters to the ePub package, and edited the toc.ncx file to match. I copied and pasted several nav points which were already there, but though I changed the text headings and the src entries I forgot to change the Navpoint id numbers.

When I checked the ePub package with FlightCrew it passed it with no errors reported. When I checked the same package with ePubCheck it failed the file and indicated that there were duplicate identifiers. After editing the toc.ncx file the ePub was passed both by FlightCrew and ePubCheck.

If I hadn't done the final check with ePubCheck I would have sent off to the publisher a defective ebook in which the TOC of contents didn't work.

I'm afraid I don't know what version of FlightCrew I use, nor how to find out, nor (now that I think of it) whether I have the most up to date version.
AlexBell is offline   Reply With Quote
Old 04-12-2012, 07:20 AM   #2
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
It is not easy at all to find the version. If you are running windows, you can use Windows explorer to find the Program Files\FlightCrew folder. In the folder is a file Changelog.txt. You should be able to double-click on it to open it and firs listed in the file is the version on your computer. 0.7.2 is the latest version at http://code.google.com/p/flightcrew/downloads/list.

The following is a list of all the changes documented in that file.

FlightCrew v0.7.2 2011.08.15
- Use Inno for Windows installer.
- Add version display to GUI and CLI.
- Fix Sigil issue #813: erroneous Resource is reachable but not present in OPF detection.
- OS X minimum version bumped to 10.6.
- made the CSS resource use detection far more robust
- fixed an issue with CSS @import rules in the '@import "something.css"' format not being
recognized
- fixed an issue with links to fonts in commented-out CSS producing "not in manifest" errors
(issue #15)
- fixed an issue with "background" and "background-image" CSS rules that referenced images
having those same images marked as unreachable files (issue #21)
- fixed an issue with "src" declarations in @font-face rules that have a space before the colon
throwing error messages about unreachable files (issue #21)
- clarified what "reachable" means in the error messages

FlightCrew v0.7.1 2010.11.11.
- added an automatic update checker to the GUI app
- the GUI now displays a "No problems found" message when the epub passes all checks
(issue #9)
- fixed an issue with missing XHTML files causing the GUI to show a dialog about an
std::exception and the CLI to report that the epub itself was not present (issue #8)
- fixed an issue that was causing empty error messages for incorrect uses of XML encodings
(issue #5)
- fixed an issue with anchor links to the current file (links with fragments only)
incorrectly throwing errors in the reachability analysis (issue #3)
mrmikel is offline   Reply With Quote
Old 04-13-2012, 11:02 PM   #3
eping
ePub Maker
eping began at the beginning.
 
eping's Avatar
 
Posts: 120
Karma: 16
Join Date: Dec 2009
Location: Mordor
Device: iPad,Kindle 3, Nook 2
I wonder how FlightCrew follows the step of ePubcheck?
Since the committee can change what to check and what no to check at their will.
Some ePubs passed ePubcheck 1.2 now can,t pass epubcheck3. So now valid ePub may be invalid for next ePubcheck...
eping is offline   Reply With Quote
Old 04-14-2012, 03:16 AM   #4
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
Thanks so much MrMikel - I had 7.0, and now have 7.2
AlexBell is offline   Reply With Quote
Old 08-11-2013, 03:13 AM   #5
ibu
Addict
ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.
 
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
I compared the validation results of the internal validation of Sigil 0.7.3 (no extra plugin installed) and the stand alone validator epubcheck 3.0.1.

Epubcheck finds several errors in the OPF file, which Sigil didn't find.

I'm not at all experienced in validation.
Is it true, that Epubcheck is more reliable than Flightcrew?

If so: Is there a way to integrate epubcheck into Sigil? Or is that planned for the future?
ibu is offline   Reply With Quote
Old 08-11-2013, 07:09 AM   #6
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Epubcheck finds more that Flightcrew. Flightcrew is a more basic check.

Epubcheck uses Java, Sigil is written in one of the versions of C, so integration can not be easily done.

Most people run Flightcrew while they are working on their document and then run epubcheck at the end when nearly finished.
mrmikel is offline   Reply With Quote
Old 08-11-2013, 07:28 AM   #7
ibu
Addict
ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.
 
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
@mrmikel
Thanks for the hints.
Is there (on Windows) a comfortable way to "send" the epub, which is active in Sigil, directly to ePubChecker?
ibu is offline   Reply With Quote
Old 08-11-2013, 08:59 AM   #8
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
epubcheck requires a file to operate, so it would not work on an unsaved version in Sigil.

This might make it difficult to automate. There are two versions, one online and the other a version which works on your own computer. The computer version requires the installation of Java, which poses too much of a security risk for some people to be comfortable with (including me.)

Since epubcheck is used at the end of the epub creation process, there really isn't a big need to have it integrated, IMO. Flightcrew and the cleaning process will do for the vast bulk of problems including everything that would make it invalid.

The main difference I have personally noticed with what I do is that epubcheck makes sure all the references to anchors and links are valid. This Flightcrew does not do.
mrmikel is offline   Reply With Quote
Old 08-11-2013, 09:18 AM   #9
ibu
Addict
ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.ibu can eat soup with a fork.
 
Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
Quote:
Originally Posted by mrmikel View Post
epubcheck requires a file to operate, so it would not work on an unsaved version in Sigil.
Yes, that's what I meant: sending a saved file.


Quote:
Originally Posted by mrmikel View Post
[Flightcrew]
The main difference I have personally noticed with what I do is that epubcheck makes sure all the references to anchors and links are valid. This Flightcrew does not do.
I noticed several errors in the opf file, which Flightcrew cannot detect.
Entries e.g. inside SPINE or GUIDE which are not allowed.

Thanks for your hints. It seems that that an integration in the near future is implausible.
ibu is offline   Reply With Quote
Old 08-11-2013, 11:30 AM   #10
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by ibu View Post
@mrmikel
Thanks for the hints.
Is there (on Windows) a comfortable way to "send" the epub, which is active in Sigil, directly to ePubChecker?

With Linux, I use a bash script to launch Epubcheck with a right-click. The result of the check is a plain text file, containing either "No error" or the text of the errors. There is no need for a G.U.I.

Code:
#!/bin/bash

# dependencies: zenity, j.r.e.

#Write here where is located your version of epubcheck on your comp:

REPERTOIRE_SOURCE="/home/roger/Téléchargements/Non_installés/epubcheck-3.0.1/"

name=$(zenity --entry --title "Nom EPUB" --text "Nom de votre EPUB" --entry-text=Nom?)
echo "name=$name"

java -jar "$REPERTOIRE_SOURCE"epubcheck-3.0.1.jar "${name}".epub &>"${name}".txt

echo "Terminé"
zenity --info --text "Terminé"
roger64 is offline   Reply With Quote
Old 08-11-2013, 07:01 PM   #11
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
When Flight crew first came out it was way ahead of epubcheck and gave much clearer messages. I think it is starting to get a bit long on the tooth these days.

Dale
DaleDe is offline   Reply With Quote
Old 08-11-2013, 08:43 PM   #12
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
I agree about it being a bit behind the times. My problem with it is more often it does not point to the beginning of the issue, but to the end. It seems that epubcheck does this a little better, but the messages are still not so easy to understand.
mrmikel is offline   Reply With Quote
Old 08-11-2013, 09:21 PM   #13
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,792
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
The other advantage to flightcrew is many time clicking the message takes you to the error line

I don't understand why 'The ... is referenced" can't take you to the first place that referenced it instead of a n/a . It 'found the reference' in the first place.
theducks is online now   Reply With Quote
Old 08-20-2013, 02:01 PM   #14
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by mrmikel View Post
The main difference I have personally noticed with what I do is that epubcheck makes sure all the references to anchors and links are valid. This Flightcrew does not do.
My experience also. Most of the time (all of the time?) the error is a blank or empty href link. I have no idea where these come from, but they have turned up in several of my books. Flightcrew ignored them, Epubcheck found them, and I deleted them. Lulu happy!
Notjohn is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Standalone FlightCrew capidamonte Sigil 8 04-25-2012 05:20 PM
Is this a FlightCrew bug? JSWolf Sigil 5 10-04-2011 04:01 AM
Standalone flightcrew? bfollowell Sigil 4 06-30-2011 11:21 AM
FlightCrew and Norton IS bobcdy ePub 5 11-16-2010 05:28 PM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 09:53 PM


All times are GMT -4. The time now is 05:01 AM.


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