
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
10 lines
246 B
Scheme
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)))) |