On 2004.09.09, Robert Seeger <[EMAIL PROTECTED]> wrote:
> I've been putting some thought into what might be useful for a
> standard tag library for everyone to use. I thought I'd send in my
> current thoughts (along with a very small bit of implementation that
> I've written):
I think this is a great idea (a standard tag library that ships with
AOLserver) but I disagree with the tags and their behaviors that you
proposed, so I've put together a reference implementation.
All relevant files are available from:
http://panoptic.com/taglib/
There are four files:
taglib-adpparse.c-patch Small patch to nsd/adpparse.c to implement
the "<tag />" form for open-and-close tag.
taglib-nsdb.tcl-patch Small patch to tcl/nsdb.tcl which adds a
new "ns_dbquery" convenience proc that
returns a list of lists.
taglib-pages.tar.gz Sample ADP pages demonstrating the taglib
functionality.
taglib.tcl Taglib source: tcl/taglib.tcl.
The patches above are against AOLserver 4.0.8. They can also be applied
to 4.1.0a (CVS HEAD) too, with a bit of hand-fuzzing if necessary.
I'd especially like to commit the nsd/adpparse.c patch and the
tcl/nsdb.tcl into CVS as they're useful even outside the context of this
discussion of a standard taglib. Feedback on those two are much
appreciated.
-- Dossy
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of
your email blank.