;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
-;;;; $Id: base.lisp,v 1.3 2003/06/23 20:37:43 kevin Exp $
+;;;; $Id: base.lisp,v 1.4 2003/06/23 23:58:29 kevin Exp $
;;;;
;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(defun lml-print-date (date)
(lml-write-string (date-string date)))
-(defun html-prologue (&optional (format :xhtml11))
+(defun dtd-prologue (&optional (format :xhtml11))
(case format
- ((:xhtml :xhtml11 :xhtml10-strict :xhtml10-transitional :xhtml10-frameset)
+ ((:xhtml :xhtml11 :xhtml10-strict :xhtml10-transitional :xhtml10-frameset :xml)
(lml-write-string +xml-prologue-string+)
(lml-write-char #\newline)))
- (ecase format
+ (case format
((:xhtml11 :xhtml)
(lml-write-string +xhtml11-dtd-string+))
(:xhtml10-strict
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: June 2003
;;;;
-;;;; $Id: package.lisp,v 1.2 2003/06/23 20:37:43 kevin Exp $
+;;;; $Id: package.lisp,v 1.3 2003/06/23 23:58:29 kevin Exp $
;;;;
;;;; This file, part of LML2, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(:nicknames #:lml2)
(:export
- ;; base.lisp
+ ;; data.lisp
#:*print-spaces*
+ #:*html-stream*
+
+ ;; base.lisp
#:reset-indent
#:page
+ #:dtd-prologue
#:lml-format
#:lml-print
#:lml-princ
#:lml-write-char
#:lml-write-string
#:lml-print-date
- #:*html-output*
#:alink
#:alink-c
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
-;;;; $Id: stdsite.lisp,v 1.5 2003/06/23 20:39:40 kevin Exp $
+;;;; $Id: stdsite.lisp,v 1.6 2003/06/23 23:58:29 kevin Exp $
;;;;
;;;; This file, part of LML2, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(defmacro print-std-page (file title format &body body)
`(progn
- (html-prologue ,format)
+ (dtd-prologue ,format)
(html
((:html :xmlns "http://www.w3.org/1999/xhtml")
(std-head ,title)