Damon Courtney <[EMAIL PROTECTED]> writes: > > > * Rivet_HexToDigit -- > > > * Rivet_UnescapeStringCmd -- > > > * Rivet_EscapeStringCmd --
> > What do these have that the relevant Apache functions don't? > > ap_os_escape_path and ap_unescape_url, to wit. > The difference is that librivet will not have to link to Apache > for any of its functions. It can be compiled and loaded as a Tcl > library without ever having to have Apache. Let's see about using them conditionally, then. Will try and look at this today... > > > * Rivet_EscapeSgmlCharsCmd -- > > What is the purpose of these? Just to escape things that might be > > HTML relevant, or...? > Basically. I never really understood it when it was in NWS, but > it comes in really handy when you're trying to show code examples on > a webpage. You can just go: > puts [escape_sgml_chars "<? some code example ?>" That wouldn't work, as per the earlier discussion. The second would signal the end of .rvt processing... > And it won't actually put the code. It'll put the text. Changing the example to <html> would make it work, though, I see the point. -- David N. Welton Consulting: http://www.dedasys.com/ Free Software: http://people.debian.org/~davidw/ Apache Tcl: http://tcl.apache.org/ Personal: http://www.efn.org/~davidw/
