On Fri, 2007-05-11 at 17:54 -0400, dmccunney wrote: > My primary use for Plucker is as an ebook reader, and I have about > 2,600 volumes of converted HTML texts from Project Gutenberg, the Baen > Free Library, and elsewhere. > > Most convert handily. Occasionally, one will fail with a "Failed to > create home document" error. > > Since I assume the folks who create the various HTML versions I > convert use the same method for each text they create, I'm curious as > to what causes this error, and why it only bites once in a while.
The long answer is because not every author uses the same method for each text they create. The short answer is to run it through tidy[1] first, if you're not confident in fixing up the HTML directly. > If it is a simple fix, I'd love a pointer on how, and something I can > point the folks who create the original HTML versions at with an > "Oops, you missed this..." note. Can you give me an example of one which fails? I have almost the entire PG archives converted to Plucker here (except the obvious ones like the Human Genome project's files and such; I mirror all of PG locally), and I rarely run into a major problem that it too complicated that a quick fix can't solve it. > The files are displayed just fine by my browser (Firefox 2.0.0.3 under > WinXP SP2.) Browsers tend to forgive missing end tags, out-of-order tags, skip invalid tags and so on. A parser of the type used in Plucker is a bit stricter (as it should be), and will fail on these. > I'm doing the conversion with the Plucker parser bundled with the > 1.6.2 desktop for Windows, with Rafael Fetzer's PDA Converter 1.37 as > a front end to make life simpler. You might try upgrading that parser to v1.8 or later (current CVS will do), and see if that doesn't help a little bit more. -- David A. Desrosiers - [EMAIL PROTECTED] "There are four boxes to use in the defense of liberty: soap, ballot, jury and ammo. Use in that order. Starting now."
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Public archival of this list without permission is prohibited. http://lists.plkr.org/mailman/listinfo/plucker-list
