araneida and cliki patch
Francois-Rene Rideau <fare <at> tunes.org>
2004-02-17 14:43:30 GMT
Here is a small "patch" to araneida and to cliki,
as files that redefine some functions from araneida.
Note that the patch is based on araneida 0.84 and cliki 0.4.2.
If you use a later (or older?) version,
you may (or may not) have to merge these changes
with other modifications to same functions.
Search for comments containing the word "FIXED".
CHANGES for araneida 0.84:
* Reimplemented the HTML function as a call to HTML-STREAM.
Previously, there were two different functions
HTML (that produces a string from some lisp-html) and
HTML-STREAM (that writes some lisp-html to a stream)
with subtly different semantics.
To avoid the semantic gap, HTML was always used, which was inefficient.
Now, HTML is a call to HTML-STREAM, which closes the semantic gap
in a cleaner and more efficient way.
HTML-STREAM is also slightly cleaned up as compared to the previous HTML.
Finally, HTML-STREAM has two new features:
It also recognizes :keyword things as simple literal tags to be included
without opening/closing them at the same place.
it is extensible through the :HTML-CONVERTER symbol property,
in the spirit of the thing attempted with the original HTML function,
but adapted to HTML-STREAM being the main (and cleaner) way to produce html.
* A few additions to the default *CONTENT-TYPES*, most notably .css => text/css
CHANGES for cliki 0.4.2: