![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#2 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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) |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
ePub Maker
![]() 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... |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
![]() |
#8 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#9 | ||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 264
Karma: 9246
Join Date: Feb 2010
Location: Berlin, Germany
Device: Kobo H20, iPhone 6+, Macbook Pro
|
Quote:
Quote:
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. |
||
![]() |
![]() |
![]() |
#10 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,623
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Quote:
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é" |
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
![]() |
![]() |
![]() |
#12 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
#13 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,908
Karma: 60358908
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 ![]() |
![]() |
![]() |
![]() |
#14 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,518
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
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!
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |