Kurt Nørmark ©
Department of Computer Science
Aalborg University
Denmark
| Abstract Index References Contents | These slides are follow up slides to the LUGM talk |
| HTML mirroring Slide Note Contents Index References |
|
|
|
| An example of a simple HTML4.0 page Slide Note Contents Index References |
|
| Program: An LAML document using the most advanced mirror. The loading stuff can be seen by browsing to the program below | (load "html4-loading-stuff.scm")
(define _ #f)
(html-write
(html
(head
(title "Here is the title")
)
(body
(h1 "A header")
"Here comes the" (em "document text") _ ", with an " (b "enumeration") _ "." (p)
(ul 'type "square"
(li "Item 1" _ ";")
(li "Item 2" _ ";")
(li "Item 3" _ ".")
)
(a 'href "../html/lugm99.html" "A link to the table of contents") _ "." (br)
"And finally some more " (kbd "text")_"."
)
)
) |
| Program: The loading stuff used by the LAML example above. | (load (string-append laml-dir "laml.scm"))
(lib-load "html4.0-loose/basis.scm")
(lib-load "html4.0-loose/surface.scm")
(lib-load "file-read.scm")
(define (html-write html-string)
(write-text-file
html-string
(string-append
(startup-directory) (source-filename-without-extension) "." "html")))
|
|
| Concluding remarks Slide Note Contents Index References |
|
| Collected references Contents Index |
|
| Source files in this lecture Contents Index References | includes/html4-demo.laml includes/html4-loading-stuff.scm |
Chapter false: Using Lisp as a Markup Language
The LAML approach
Slide updates
Course home Author home About producing this web Previous lecture (top) Next lecture (top) Previous lecture (bund) Next lecture (bund)
Generated: 20.12.1999, 09:13:08