
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
4 lines
1.1 KiB
HTML
4 lines
1.1 KiB
HTML
<html><head><title>PLT Web Server: Embedding Interface</title></head><body bgcolor="white"><img src="/Defaults/documentation/web-server.gif" width="61" height="57" /><h2>PLT Web Server: Embedding Interface</h2><p>To use the Web server inside another PLT-Scheme program, require the Web server module: <blockquote><code>(require (lib "web-server.ss" "web-server"))</code></blockquote>
|
|
This provides one main function:
|
|
<blockquote><code>serve : configuration [nat] [str] -> (-> void)<br />(define (serve configuration port ip-address) ...)
|
|
</code></blockquote>The serve function starts the Web server, just like the launcher does, but the configuration argument supplies the server's settings. The optional port argument overrides the port supplied by the configuration. The optional ip-address restricts accepted web requests to come only from that address.<p>The result of invoking serve is a function of no arguments that shuts down the server.</p></p><p>Powered by <a href="http://www.plt-scheme.org/"><img width="53" height="19" src="/Defaults/documentation/plt-logo.gif" /></a></p></body></html> |