Directory lister for Hunchentoot
Table of Contents
1 What is hunchentoot-dir-lister?
hunchentoot-dir-lister is a package that provides directory listing functionality for Hunchentoot web server. Both Hunchentoot and hunchentoot-dir-lister are written in Common Lisp.
2 License
hunchentoot-dir-lister is free, open source software, distributed under the terms of the GNU GPL.
3 Downloads
You can get tarballs in several formats here. Or you can get the source code form the git repository by executing this command:
git clone git://znain.com/git/dl/hunchentoot-dir-lister.git
4 System requirements
The package should run on all Common Lisp implementations on which Hunchentoot runs but I've tested it on the following platforms and implementations:
- SBCL on Linux
- Clozure CL on Windows
5 How to use it
You can load the package with the following ASDF command:
(asdf:oos 'asdf:load-op "hunchentoot-dir-lister")
Then you must add a dispatch-dir-listers dispatcher to hunchentoot:*dispatch-table*:
(push 'hunchentoot-dir-lister:dispatch-dir-listers
hunchentoot:*dispatch-table*)
Then you can create a dir-lister, for example:
(hunchentoot-dir-lister:add-simple-lister "your-prefix" "/path/to/directory/")
Look into the file example.lisp for other examples.
To see a demo, load example.lisp and point your browser to http://localhost:8882/dir-lister/example/
Date: 2011-01-05 00:26:02
HTML generated by org-mode 7.4 in emacs 24