From: Bill Bumgarner <bbum@co...> - 2002-12-20 20:40:36
Is there a minimal writer example available?
I want to write a minimal HTML writer that can produce non-stylesheet
documents that are conformant to the O'Reilly devcenter article
This seems like a *really* easy writer to create and would make a very
good example of how to write a minimal, relatively stupid, writer. I
just have no freakin' clue how to get the basic writer up and running
in a fashion to get to this point. The jump from pseudoxml to
html2css1 is to large for me to efficiently figure out where I fall in
Specifically, the requirements are as follows.
- comply with XHTML; <br/> for break, close all tags, lower case,
ul, li, ol: for unordered and ordered lists
<p></p>: for all paragraphs
Standard <a..> and <img..> for all hyperlinking and images,
<pre> and <code> are used for examples and code. CODE should be 50
characters wide or less. Images no larger than 450 pixels wide.
Obviously, if such a writer were to exist, a bunch of free publicity in
the form of an O'Reilly article discussing authoring O'Reilly articles
using DocUtils is a possibility... :-)
On Fri, Dec 20, 2002, Bill Bumgarner wrote:
> Is there a minimal writer example available?
Not exactly, but I think you'll find my OOwriter in sandbox/aahz/ to be
Aahz (aahz@...) <*> http://www.pythoncraft.com/
"To me vi is Zen. To use vi is to practice zen. Every command is a
koan. Profound to the user, unintelligible to the uninitiated. You
discover truth everytime you use it." --reddy@...
From: Bill Bumgarner <bbum@co...> - 2002-12-20 21:26:23
Oh, that's perfect!
Now I can justify actually writing a mimimal HTML spewer as I write an
article for O'Reilly....
I'll post it back to the list once it is useful. Maybe someday, I'll
ask for a sandbox, but the last thing I need in my life is
yet-another-cvs-repository to which I feel obligated to commit on a