racket/collects/little-helper/web-root/htdocs/Defaults/documentation/examples/hello.ss
Jens Axel Soegaard ac47e02961 Initial checkin of Little Helper.
Little Helper contains a full text search engine. 
Currently it indexes all html-files in /collects/doc.
A mockup web-interface is present in order to facilitate easy experimentation with searches.
Run run-indexer to generate the index for your documentation dir. 
Run launch to start a web-server with the search interface.
Note: Currently assumes w3m is in your path (used to precompute the 
           preview-snippets shown in the search results.

svn: r8836
2008-03-01 13:26:18 +00:00

10 lines
246 B
Scheme

(require (lib "unitsig.ss")
(lib "servlet-sig.ss" "web-server"))
(unit/sig () (import servlet^)
(define the-text "Hello, Web!")
`(html (head (title ,the-text))
(body ([bgcolor "white"])
(p ,the-text))))