Filekicker is a PyBlosxom
plugin that serves static files. The file to serve is determined by the URL
path and the datadir configuration option. The MIME type is inferred from the
file’s extension.
For example, if datadir is set in config.py like so:
py['datadir'] = '/home/ryanb/www'
and the user requests this url:
http://mysite.org/videos/shovelglove.mov
filekicker will send /home/ryanb/www/videos/shovelglove.mov to the client,
if it exists, with the MIME type video/quicktime. If it doesn’t exist,
filekicker will let pyblosxom handle the request.
Filekicker is different from, but related to, plugins such as
pystaticfile,
pyinclude,
and
imagekicker.
It’s basically a generalization of imagekicker, which inspired its name.
Filekicker is copyright 2006 Ryan Barrett, and is distributed
under the GPL.
filekicker
updated 8/4/2010
For the impatient:
Download filekicker 0.2
PyBlosxom home page
PyBlosxom plugin registry
Filekicker is a PyBlosxom plugin that serves static files. The file to serve is determined by the URL path and the
datadirconfiguration option. The MIME type is inferred from the file’s extension.For example, if
datadiris set inconfig.pylike so:and the user requests this url:
filekicker will send
/home/ryanb/www/videos/shovelglove.movto the client, if it exists, with the MIME typevideo/quicktime. If it doesn’t exist, filekicker will let pyblosxom handle the request.Filekicker is different from, but related to, plugins such as pystaticfile, pyinclude, and imagekicker. It’s basically a generalization of imagekicker, which inspired its name.
Filekicker is copyright 2006 Ryan Barrett, and is distributed under the GPL.
See also: