Facebook Application
Bruce Easton
bruce at stn.com
Wed Dec 16 14:57:07 PST 2009
Fairlight wrote Wednesday, December 16, 2009 4:41 PM:
> On Wed, Dec 16, 2009 at 04:34:44PM -0500, Bruce Easton, the
> prominent pundit,
> witicized:
> >
> > But to me sometimes having to have something above the
> <html opening
> > tag in the output is reason enough to stay away from the
> internal fp
> > html commands altogether.
>
> Depends...does it truncate or append when you start? If
> append, you could pre-populate the required data, then use
> the html stuff. I don't recommend it, I'm saying it might be
> possible.
>
> m->
> --
Well -I tried some things with variations on the fp HTML :cr
command, and I don't believe Marv can use it to start off his
output document.
I was not able to get anything other than one type of document
type specification by using the :dt option. But maybe there are
reserved codes that come after the :dt to set up for different doc
types. I couldn't find any documentation of such.
BUT, you can use:
html :cr [outdocpathandname] :tx [other stuff]
and that output (otherstuff) does appear *before*
the <HTML> tag. So I tried it with Marv's requirement and it
worked fine to handle the document type spec.
What I could not find a way to do is embed anything else within
the <HTML> tag as in <HTML xmlns="....">. I even tried using :zz
and that didn't help. (5.0.14).
And to answer your question Mark, I don't believe there is any
way to use fp's HTML commands to append to a file.
So back to saying 'just use open and writeline, for crying out loud..' :)
Bruce
Bruce Easton
STN, Inc.
More information about the Filepro-list
mailing list