a review of some digitization tools -- 017

ok, are you ready to go back to work? :+) our time using "books and culture" is coming to an end. it's a very simple book, and we've squeezed all the instructional juice out of it... so for today, we'll just delete the colorization which we were using to separate the "chunks", and remove the "tags" that we were displaying. so our output will start looking like it "should". we will also ensure that we achieve "validation", because we wouldn't want marcello to scold us. i've also put in a "width" component, because lines that run the width of a browser-window give me the creeps. i've got a 23-inch screen, and no line has any business being that long... finally, as "an exercise", we'll borrow some .css that was used in the .html version of this book when it was mounted up on project gutenberg, as pg#16736, to see how closely we match that. that p.g. html uses block-style indents _and_ paragraph indents, which some folks consider to be weird, but i'm ok with it (in general) and my object now is to clone their look-and-feel, so that's what i'm gonna do, just so you know. ok, so here we go... z.m.l. input file:
python script to create .html output:
i guarantee this week is gonna be interesting, because we'll be doing some _comparisons_... also, now that we've built our "engine" on the "simple" stuff, we'll be able to add the rest of what we'll need to handle complicated books, and that'll make this series more interesting. -bowerbird p.s. resending this hours after the first time, as the system appears to have swallowed it...

I suppose there's no way to get the source for that .py? Alex On Mon, Dec 12, 2011 at 5:43 PM, <Bowerbird@aol.com> wrote:
ok, are you ready to go back to work? :+)
our time using "books and culture" is coming to an end. it's a very simple book, and we've squeezed all the instructional juice out of it...
so for today, we'll just delete the colorization which we were using to separate the "chunks", and remove the "tags" that we were displaying.
so our output will start looking like it "should".
we will also ensure that we achieve "validation", because we wouldn't want marcello to scold us.
i've also put in a "width" component, because lines that run the width of a browser-window give me the creeps. i've got a 23-inch screen, and no line has any business being that long...
finally, as "an exercise", we'll borrow some .css that was used in the .html version of this book when it was mounted up on project gutenberg, as pg#16736, to see how closely we match that.
that p.g. html uses block-style indents _and_ paragraph indents, which some folks consider to be weird, but i'm ok with it (in general) and my object now is to clone their look-and-feel, so that's what i'm gonna do, just so you know.
ok, so here we go...
z.m.l. input file:
python script to create .html output:
i guarantee this week is gonna be interesting, because we'll be doing some _comparisons_...
also, now that we've built our "engine" on the "simple" stuff, we'll be able to add the rest of what we'll need to handle complicated books, and that'll make this series more interesting.
-bowerbird
p.s. resending this hours after the first time, as the system appears to have swallowed it...
_______________________________________________ gutvol-d mailing list gutvol-d@lists.pglaf.org http://lists.pglaf.org/mailman/listinfo/gutvol-d
participants (2)
-
Alex Buie
-
Bowerbird@aol.com