This plugin enhances the regular PageSpec syntax with some additional tests, for things like file size, mime type, and virus status. These tests are mostly useful for the attachment plugin, and are documented here.
This plugin will use the File::MimeInfo::Magic perl module, if
available, for mimetype checking. It falls back to using the
if necessary for hard to detect files.
virusfree PageSpec requires that
ikiwiki be configured with a virus scanner program via the
option in the setup file. If using
clamd, set it to
"clamdscan -". Or to use clamav without the
clamd daemon, you
could set it to "clamscan -".